Try another approach.

This commit is contained in:
Roman Telezhynskyi 2020-12-26 18:37:16 +02:00
parent 12e2c8aaba
commit a980cd36c6

View File

@ -359,15 +359,10 @@ LIBS_USED_FOR_QT = \
QtConcurrent QtConcurrent
for(somelib, $$list($$LIBS_USED_FOR_QT)) { for(somelib, $$list($$LIBS_USED_FOR_QT)) {
contains( QMAKE_DEFAULT_INCDIRS, "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers" ) {
QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers" QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers"
}
contains( QMAKE_DEFAULT_INCDIRS, "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers" ) {
QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers" QMAKE_DEFAULT_INCDIRS += "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Headers"
} }
} }
}
# Usefull GCC warnings keys. # Usefull GCC warnings keys.
GCC_DEBUG_CXXFLAGS += \ GCC_DEBUG_CXXFLAGS += \