Fox some reason if to list a system directory in QMAKE_DEFAULT_INCDIRS it will not be automatically added to arguments by qmake.

This commit is contained in:
Roman Telezhynskyi 2020-12-26 18:52:02 +02:00
parent a980cd36c6
commit 445d5c8503

View File

@ -361,6 +361,9 @@ LIBS_USED_FOR_QT = \
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers"
QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers"
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers
}
}