Suppress warnings inside ui folder.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-05-12 15:51:44 +03:00
parent e923234127
commit c02ef13ed4
2 changed files with 7 additions and 3 deletions

View file

@ -45,6 +45,10 @@
# include <QtGui>
#endif
#ifdef QT_GUI_LIB
# include <QtWidgets>
#endif
#endif/*__cplusplus*/
#endif // STABLE_H

View file

@ -4,7 +4,7 @@ unix {
QMAKE_CXXFLAGS += \
# Key -isystem disable checking errors in system headers.
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${UI_DIR}" \
$$GCC_DEBUG_CXXFLAGS # See common.pri for more details.
checkWarnings{ # For enable run qmake with CONFIG+=checkWarnings
@ -29,7 +29,7 @@ unix {
QMAKE_CXXFLAGS += \
# Key -isystem disable checking errors in system headers.
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${UI_DIR}" \
$$CLANG_DEBUG_CXXFLAGS # See common.pri for more details.
checkWarnings{ # For enable run qmake with CONFIG+=checkWarnings
@ -46,7 +46,7 @@ unix {
*-icc-*{
QMAKE_CXXFLAGS += \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
-isystem "$${OUT_PWD}/$${UI_DIR}" \
$$ICC_DEBUG_CXXFLAGS
checkWarnings{ # For enable run qmake with CONFIG+=checkWarnings