diff options
Diffstat (limited to 'src/qmldevtools')
-rw-r--r-- | src/qmldevtools/qmldevtools.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmldevtools/qmldevtools.pro b/src/qmldevtools/qmldevtools.pro index 25d6494558..5af5443df7 100644 --- a/src/qmldevtools/qmldevtools.pro +++ b/src/qmldevtools/qmldevtools.pro @@ -10,6 +10,12 @@ MODULE_PRIVATE_INCLUDES = \ \$\$QT_MODULE_INCLUDE_BASE/QtQml/$$QT.qml.VERSION \ \$\$QT_MODULE_INCLUDE_BASE/QtQml/$$QT.qml.VERSION/QtQml +# 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)): \ + WERROR += -Wno-error=unused-const-variable + load(qt_module) include(../3rdparty/masm/masm-defs.pri) |