From 27e0b154e8ace4eafd76e8bac3b0e53ea04d8389 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 13 Sep 2015 17:14:23 -0400 Subject: [PATCH] qmake output qgroundcontrol.dmg in package dir --- QGCInstaller.pri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QGCInstaller.pri b/QGCInstaller.pri index d7bf0d2bc..9c535cc60 100644 --- a/QGCInstaller.pri +++ b/QGCInstaller.pri @@ -36,10 +36,10 @@ installer { # We cd to release directory so we can run macdeployqt without a path to the # 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 += && cd release + QMAKE_POST_LINK += && cd release && mkdir package QMAKE_POST_LINK += && $$dirname(QMAKE_QMAKE)/macdeployqt qgroundcontrol.app -verbose=2 -qmldir=../src QMAKE_POST_LINK += && cd .. - QMAKE_POST_LINK += && hdiutil create -layout SPUD -srcfolder $${DESTDIR}/qgroundcontrol.app -volname QGroundControl $${DESTDIR}/qgroundcontrol.dmg + QMAKE_POST_LINK += && hdiutil create -layout SPUD -srcfolder $${DESTDIR}/qgroundcontrol.app -volname QGroundControl $${DESTDIR}/package/qgroundcontrol.dmg } WindowsBuild { # The pdb moving command are commented out for now since we are including the .pdb in the installer. This makes it much -- 2.22.0