From 8dc39ee7901c7281e9fad7dcb34282aa5050ad46 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Fri, 13 Nov 2015 00:45:36 -0500 Subject: [PATCH] Fixing dagar's fix :) Changing the directory prior to invoking macdeployqt so it can find the app bundle. --- QGCInstaller.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QGCInstaller.pri b/QGCInstaller.pri index 6ea503b4d..7358d9624 100644 --- a/QGCInstaller.pri +++ b/QGCInstaller.pri @@ -37,7 +37,7 @@ installer { # qgroundcontrol.app file. If you specify a path to the .app file the symbolic # links to plugins will not be created correctly. QMAKE_POST_LINK += && mkdir -p $${DESTDIR}/package - QMAKE_POST_LINK += && $$dirname(QMAKE_QMAKE)/macdeployqt qgroundcontrol.app -verbose=2 -qmldir=$${BASEDIR}/src + QMAKE_POST_LINK += && cd $${DESTDIR} && $$dirname(QMAKE_QMAKE)/macdeployqt qgroundcontrol.app -verbose=2 -qmldir=$${BASEDIR}/src QMAKE_POST_LINK += && cd $${OUT_PWD} QMAKE_POST_LINK += && hdiutil create -layout SPUD -srcfolder $${DESTDIR}/qgroundcontrol.app -volname QGroundControl $${DESTDIR}/package/qgroundcontrol.dmg } -- 2.22.0