-
-
Notifications
You must be signed in to change notification settings - Fork 132
Deployment
Mátyás Mustoha edited this page May 24, 2017
·
2 revisions
Qt uses lots of modules, plugins and QML files, which makes it somewhat hard to create deployable packages. Fortunately, there are tools that can collect the necessary files for you.
See the general Qt documentation here, especially the platform-specific notes. Since most of the details are described there, I'll just list the commands I usually use.
I'm using linuxdeployqt.
./linuxdeployqt-continuous-x86_64.AppImage \
-qmldir <build dir> \
-bundle-non-qt-libs \
<install dir>
cp /path/to/libQt5Svg.so.5 ./lib/
./linuxdeployqt-continuous-x86_64.AppImage \
-appimage \
<install dir>
windeployqt
--release
--qmldir <build dir>
--no-translations
--no-opengl-sw
<installation dir>
Haven't tried yet. macdeployqt
should work in theory.
Want to contribute? Open a pull request in the wiki repository, or click here for more details.