Commit 1587c6a7 authored by Don Gagne's avatar Don Gagne

Deploy qml modules

Also fix problem with incorrect symbolic link to plugins
parent ce34727a
......@@ -19,8 +19,14 @@
installer {
MacBuild {
QMAKE_POST_LINK += && $$dirname(QMAKE_QMAKE)/macdeployqt $${DESTDIR}/
QMAKE_POST_LINK += && hdiutil create -layout SPUD -srcfolder $${DESTDIR}/ -volname QGroundControl $${DESTDIR}/qgroundcontrol.dmg
# We copy to the current directory so we can run macdeployqt without a path to the
# file. If you specify a path to the .app file the symbolic links to plugins will not
# be created correctly.
QMAKE_POST_LINK += && rm -rf
QMAKE_POST_LINK += && cp -r $${DESTDIR}/ .
QMAKE_POST_LINK += && $$dirname(QMAKE_QMAKE)/macdeployqt -verbose=2 -qmldir=src -dmg
QMAKE_POST_LINK += && rm -rf
QMAKE_POST_LINK += && mv qgroundcontrol.dmg release
WindowsBuild {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment