Use QMAKE_DEFAULT_INCDIRS to extend list of system directories.
This commit is contained in:
parent
2627c08cf7
commit
12e2c8aaba
|
@ -359,8 +359,13 @@ LIBS_USED_FOR_QT = \
|
||||||
QtConcurrent
|
QtConcurrent
|
||||||
|
|
||||||
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
|
for(somelib, $$list($$LIBS_USED_FOR_QT)) {
|
||||||
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers
|
contains( QMAKE_DEFAULT_INCDIRS, "$$[QT_INSTALL_LIBS]/$${somelib}.framework/Versions/5/Headers" ) {
|
||||||
ISYSTEM += -isystem $$[QT_INSTALL_LIBS]/$${somelib}.framework/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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,7 @@ message(Data files: $$[QT_INSTALL_DATA])
|
||||||
message(Translation files: $$[QT_INSTALL_TRANSLATIONS])
|
message(Translation files: $$[QT_INSTALL_TRANSLATIONS])
|
||||||
message(Settings: $$[QT_INSTALL_SETTINGS])
|
message(Settings: $$[QT_INSTALL_SETTINGS])
|
||||||
message(Examples: $$[QT_INSTALL_EXAMPLES])
|
message(Examples: $$[QT_INSTALL_EXAMPLES])
|
||||||
|
message(Default include dirs: $${QMAKE_DEFAULT_INCDIRS})
|
||||||
|
|
||||||
# Path to recource file.
|
# Path to recource file.
|
||||||
win32:RC_FILE = share/resources/valentina.rc
|
win32:RC_FILE = share/resources/valentina.rc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user