Inspired by this year’s QtCon in Berlin, I have been working on Linux Deployment Tool for Qt,
linuxdeployqt. These are my first steps with Qt and with C++ for that matter, and it is stil very young, but I’d appreciate your testing, comments, and (ideally) code review.
linuxdeployqt takes an application as input and makes it self-contained by copying in the Qt libraries and plugins that the application uses into a bundle. This can optionally be put into an AppImage.
This tool is conceptually based on the Mac Deployment Tool,
macdeployqt in the tools applications of the Qt Toolkit, but has been changed to a slightly different logic and other tools needed for Linux.
- Instead of an
.appbundle for macOS, this produces an AppDir for Linux
- Instead of a
.dmgdisk image for macOS, this produces an AppImage for Linux which is quite similar to a dmg but executes the contained application rather than just opening a window on the desktop from where the application can be launched