summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@digia.com>2012-06-27 08:03:03 +0300
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-06-27 12:09:29 +0200
commitfe5f978b58618a007a81e56c3fb766833d4fd3c2 (patch)
tree81ada48b7d4aeb4127a4165297ae65e6a70f3083 /src
parent67c61fbab92180ac2ef711438bf77ca339fd303f (diff)
Fix broken build on Mac
On Mac the variable "scTargetDir" was not defined. This block of code was behind "#ifdef Q_OS_MAC" so other platforms were not affected. Added constants.h include for mac only to resolve the missing global constant. Change-Id: Ia8bef78d7c3015f283b202435d56d00187f3fb4f Reviewed-by: Simo Fält <simo.falt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/installer/qtpatchoperation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/qtpatchoperation.cpp b/src/libs/installer/qtpatchoperation.cpp
index cf17fab99..a19ed0f77 100644
--- a/src/libs/installer/qtpatchoperation.cpp
+++ b/src/libs/installer/qtpatchoperation.cpp
@@ -34,6 +34,7 @@
#include "qtpatch.h"
#ifdef Q_OS_MAC
#include "macrelocateqt.h"
+#include "constants.h"
#endif
#include "packagemanagercore.h"