aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml.pro
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-10 18:41:43 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-10 18:41:43 +0100
commitcc0eb9c2aa9032c6a7bf2ab05d1eb913a09fa4f1 (patch)
tree7314014389e227bd7c9b28d97eebcd072e4852a2 /src/qml/qml.pro
parentcb2ac154273a8c07a1e4a14246ae22f6e0deaeda (diff)
parent0a74dc69b4c57a15da90be29b598371dfa63f7ee (diff)
Merge remote-tracking branch 'origin/stable' into dev
Conflicts: src/qml/jsruntime/qv4managed_p.h Change-Id: I5da7ae9c87a539e42292f272d9e2b5faab619c9f
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r--src/qml/qml.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index d0f655609e..79e83a1d47 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -21,7 +21,8 @@ QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf
# 2415: variable "xx" of static storage duration was declared but never referenced
# unused variable 'xx' [-Werror,-Wunused-const-variable]
intel_icc: WERROR += -ww2415
-clang: WERROR += -Wno-error=unused-const-variable
+clang:if(greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 3)): \
+ WERROR += -Wno-error=unused-const-variable
load(qt_module)