Suppress warnings on mac os.
This commit is contained in:
parent
2ffda9a073
commit
73861dedd5
|
@ -3,6 +3,7 @@ unix {
|
||||||
*g++*{
|
*g++*{
|
||||||
QMAKE_CXXFLAGS += \
|
QMAKE_CXXFLAGS += \
|
||||||
# Key -isystem disable checking errors in system headers.
|
# Key -isystem disable checking errors in system headers.
|
||||||
|
-isystem "$${OUT_PWD}/$${UI_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
||||||
$$GCC_DEBUG_CXXFLAGS # See common.pri for more details.
|
$$GCC_DEBUG_CXXFLAGS # See common.pri for more details.
|
||||||
|
@ -43,6 +44,7 @@ unix {
|
||||||
*clang*{
|
*clang*{
|
||||||
QMAKE_CXXFLAGS += \
|
QMAKE_CXXFLAGS += \
|
||||||
# Key -isystem disable checking errors in system headers.
|
# Key -isystem disable checking errors in system headers.
|
||||||
|
-isystem "$${OUT_PWD}/$${UI_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
||||||
$$CLANG_DEBUG_CXXFLAGS \# See common.pri for more details.
|
$$CLANG_DEBUG_CXXFLAGS \# See common.pri for more details.
|
||||||
|
@ -61,6 +63,7 @@ unix {
|
||||||
|
|
||||||
*-icc-*{
|
*-icc-*{
|
||||||
QMAKE_CXXFLAGS += \
|
QMAKE_CXXFLAGS += \
|
||||||
|
-isystem "$${OUT_PWD}/$${UI_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
-isystem "$${OUT_PWD}/$${MOC_DIR}" \
|
||||||
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
-isystem "$${OUT_PWD}/$${RCC_DIR}" \
|
||||||
$$ICC_DEBUG_CXXFLAGS
|
$$ICC_DEBUG_CXXFLAGS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user