diff options
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r-- | src/qml/qml.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro index 17d35f8c54..6e06fb42ef 100644 --- a/src/qml/qml.pro +++ b/src/qml/qml.pro @@ -19,9 +19,11 @@ exists("qqml_enable_gcov") { 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:if(greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 3)): \ +# unused variable 'xx' [-Werror,-Wunused-const-variable] +greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 3)| \ + greaterThan(QT_APPLE_CLANG_MAJOR_VERSION, 5)| \ + if(equals(QT_APPLE_CLANG_MAJOR_VERSION, 5):greaterThan(QT_APPLE_CLANG_MINOR_VERSION, 0)): \ WERROR += -Wno-error=unused-const-variable load(qt_module) |