Improve suppressing a compiler warnings on macos.
This commit is contained in:
parent
de6e4d6fed
commit
968b41aa74
37
common.pri
37
common.pri
|
@ -346,27 +346,22 @@ ISYSTEM += \
|
||||||
-isystem "$$[QT_INSTALL_HEADERS]/QtConcurrent"
|
-isystem "$$[QT_INSTALL_HEADERS]/QtConcurrent"
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ISYSTEM += \
|
LIBS_USED_FOR_QT = \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtWidgets.framework/Headers/" \
|
QtCore \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtWidgets.framework/Versions/5/Headers/" \
|
QtSvg \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtXml.framework/Headers/" \
|
QtXml \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtXml.framework/Versions/5/Headers/" \
|
QtPrintSupport \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtGui.framework/Headers/" \
|
QtXmlPatterns \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtGui.framework/Versions/5/Headers/" \
|
QtWidgets \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtXmlPatterns.framework/Headers/" \
|
QtGui \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtXmlPatterns.framework/Versions/5/Headers/" \
|
QtNetwork \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtCore.framework/Headers/" \
|
QtTest \
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtCore.framework/Versions/5/Headers/" \
|
QtConcurrent
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtPrintSupport.framework/Headers/" \
|
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtPrintSupport.framework/Versions/5/Headers/" \
|
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtSvg.framework/Headers/" \
|
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/lib/$${somelib}.framework/Versions/5/Headers/
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtSvg.framework/Versions/5/Headers/" \
|
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/lib/$${somelib}.framework/Headers/
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtNetwork.framework/Headers/" \
|
}
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtNetwork.framework/Versions/5/Headers/" \
|
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtTest.framework/Headers/" \
|
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtTest.framework/Versions/5/Headers/" \
|
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtConcurrent.framework/Headers/" \
|
|
||||||
-isystem "$$[QT_INSTALL_LIBS]/QtConcurrent.framework/Versions/5/Headers/"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Usefull GCC warnings keys.
|
# Usefull GCC warnings keys.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user