Skip to content

Commit

Permalink
document Debian package generation
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Oct 27, 2024
1 parent b39fd28 commit bfb0a9d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@ cmake --build build --target package
```
This will create the plugin archive `ROSProjectManager-${version}-Linux-${arch}.zip` inside the build folder (`build` by default). This archive has to be extracted to the Qt Creator root path (e.g. `~/Qt/Tools/QtCreator/` for the online installer version).

On Debian-based distributions, you can generate a Debian package via CPack:
```sh
# install the experimental Qt Creator package
# from the `cpack_experimental` folder under https://download.qt.io/*_releases/qtcreator/
wget $(./packaging/format-deb-url.py) --directory-prefix=/tmp
sudo apt install /tmp/qtcreator-opensource-linux-*-*.deb

# generate and install the plugin package
cd build
cpack -G DEB
sudo apt install ./ROSProjectManager-*-Linux-*.deb
```

### Development & Debugging

To develop on the plugin and test changes iteratively, build the plugin in `Debug` mode and skip creating the plugin archive:
Expand Down

0 comments on commit bfb0a9d

Please sign in to comment.