Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #517

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open

Update README.md #517

wants to merge 3 commits into from

Conversation

Levi-Armstrong
Copy link
Member

I have tested this process and everything is working as expected. Now having a deb makes it much easier to create a development docker with Qt Creator which I will be testing next.

@@ -33,6 +33,20 @@ You can install Qt Creator with the ROS corresponding plugin via the [snap store
sudo snap install qtcreator-ros --classic
```

### Debian Qt Creator and Plugin Installation

Qt Creator can be installed via debian officially from [Qt](https://download.qt.io/official_releases/qtcreator). The debian is located in the `cpack_experimental` folder found under each version. Below is an example showing the steps to install both Qt Creator and Plugin. After going through the steps below you must log out and back in so the profile changes are active. Afterwards your system should be able to locate Qt Creator and allow you to add it to your favorits.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also found Debian packages in the release assets of the GitHub project: https://github.com/qt-creator/qt-creator/releases. However, there is no distinction between the "official" releases and the "development" releases for "beta" and "rc" releases. So it is more difficult to automatically download from it.

README.md Show resolved Hide resolved
@christian-rauch
Copy link
Member

christian-rauch commented Oct 28, 2024

See #518 for my suggested bash snippets to download the Debian packages.

With a way to get the latest released stable version / tag, we could provide an installation script that downloads and install the latest Qt Creator and plugin.

@christian-rauch
Copy link
Member

I added documentation to my PR on how to create a launcher for Qt Creator and the plugin via Debian packages. It is essentially reusing the original org.qt-project.qtcreator.desktop launcher but installs it as qtcreator-ros.desktop to /usr/share/applications/, where it can be discovered, and I am setting the Path to /opt/qt-creator/bin/ so we do not need to set this in other places.

This still means that you cannot start it from the command line just by qtcreator, but you still need the full path /opt/qt-creator/bin/qtcreator. I usually always start Qt Creator from the desktop and not from the command line. Do you think it is important to have /opt/qt-creator/bin/ in the PATH so you can call qtcreator from the command line?

@christian-rauch
Copy link
Member

To add to the above, I originally tried to create and install the qtcreator-ros.desktop launcher via CPack so it is installed with the Debian package. But I couldn't make CMake+CPack install it to a different prefix path than /opt/qt-creator/ without messing with the CMake install instructions which would then have installed it always to the absolute path with requesting sudo rights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants