Path to Qt headers.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-16 16:55:02 +03:00
parent a317ea476b
commit 72f66ceca3
3 changed files with 30 additions and 30 deletions

View File

@ -113,12 +113,12 @@ CONFIG(debug, debug|release){
unix { unix {
*-g++{ *-g++{
QMAKE_CXXFLAGS += \ QMAKE_CXXFLAGS += \
-isystem "/usr/include/qt5" \ -isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "/usr/include/qt5/QtWidgets" \ -isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "/usr/include/qt5/QtGui" \ -isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "/usr/include/qt5/QtCore" \ -isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "$${OUT_PWD}/$${UI_DIR}" \ -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}" \
@ -127,12 +127,12 @@ CONFIG(debug, debug|release){
#Turn on Clang warnings #Turn on Clang warnings
clang*{ clang*{
QMAKE_CXXFLAGS += \ QMAKE_CXXFLAGS += \
-isystem "/usr/include/qt5" \ -isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "/usr/include/qt5/QtWidgets" \ -isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "/usr/include/qt5/QtGui" \ -isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "/usr/include/qt5/QtCore" \ -isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "$${OUT_PWD}/$${UI_DIR}" \ -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}" \

View File

@ -82,12 +82,12 @@ CONFIG(debug, debug|release){
unix { unix {
*-g++{ *-g++{
QMAKE_CXXFLAGS += \ QMAKE_CXXFLAGS += \
-isystem "/usr/include/qt5" \ -isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "/usr/include/qt5/QtWidgets" \ -isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "/usr/include/qt5/QtGui" \ -isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "/usr/include/qt5/QtCore" \ -isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \ -isystem "$${OUT_PWD}/$${MOC_DIR}" \
$$GCC_CXXFLAGS $$GCC_CXXFLAGS
} }

View File

@ -125,24 +125,24 @@ CONFIG(debug, debug|release){
unix { unix {
*-g++{ *-g++{
QMAKE_CXXFLAGS += \ QMAKE_CXXFLAGS += \
-isystem "/usr/include/qt5" \ -isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "/usr/include/qt5/QtWidgets" \ -isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "/usr/include/qt5/QtGui" \ -isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "/usr/include/qt5/QtCore" \ -isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \ -isystem "$${OUT_PWD}/$${MOC_DIR}" \
$$GCC_CXXFLAGS $$GCC_CXXFLAGS
} }
#Turn on Clang warnings #Turn on Clang warnings
clang*{ clang*{
QMAKE_CXXFLAGS += \ QMAKE_CXXFLAGS += \
-isystem "/usr/include/qt5" \ -isystem "$$[QT_INSTALL_HEADERS]" \
-isystem "/usr/include/qt5/QtWidgets" \ -isystem "$$[QT_INSTALL_HEADERS]/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXml" \
-isystem "/usr/include/qt5/QtGui" \ -isystem "$$[QT_INSTALL_HEADERS]/QtGui" \
-isystem "/usr/include/qt5/QtCore" \ -isystem "$$[QT_INSTALL_HEADERS]/QtCore" \
-isystem "/usr/include/qt5/QtXmlPatterns" \ -isystem "$$[QT_INSTALL_HEADERS]/QtXmlPatterns" \
-isystem "$${OUT_PWD}/$${MOC_DIR}" \ -isystem "$${OUT_PWD}/$${MOC_DIR}" \
$$CLANG_CXXFLAGS $$CLANG_CXXFLAGS
} }