summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-03-28 11:12:05 +0100
committerAndy Shaw <andy.shaw@digia.com>2014-04-11 12:55:56 +0300
commit743754a36d25c3f529603b1f404a131982c897f6 (patch)
tree9e6701a267d322c489aecbb66c3fc665bc5a015f /examples
parent1b2e5857f541f57351e8e7e692e579e8b5c663ac (diff)
Fix build for iOS and for building the QtQuick 2 plugin statically
When building statically then static will be set not staticlib, therefore we need to ensure we check for static in those cases. And also protect against Mac specific flags when building for iOS. Task-number: QTRD-3036 Change-Id: Ib2c534974ad9292e3634b8b692344c71e26e56cd Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples.pri b/examples/examples.pri
index 9744a3a4..ea89d8b8 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -3,11 +3,12 @@
}
DESTDIR = $$CHART_BUILD_BIN_DIR
+!ios {
OBJECTS_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
MOC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
UI_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
RCC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
-
+}
TEMPLATE = app
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets