Add QMAKESPEC_ORIGINAL to the INCLUDEPATH when needed
This commit is contained in:
parent
95137041ab
commit
56ec511c6a
@ -11,6 +11,11 @@ win32 {
|
||||
}
|
||||
contains(DEFINES, QT_MAKEDLL)|contains(DEFINES, QT_DLL):QMAKE_QT_DLL = 1
|
||||
}
|
||||
# Some files include qplatformdefs.h, which lives in the individual mkspec directory
|
||||
# However, if QMAKESPEC_ORIGINAL is set, the module/app is outside of the QtBase
|
||||
# directory, and using the default profile. So we add the original mkspecs directory
|
||||
# to the include path
|
||||
!isEmpty(QMAKESPEC_ORIGINAL):INCLUDEPATH += $$QMAKESPEC_ORIGINAL
|
||||
}
|
||||
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG
|
||||
no_keywords:DEFINES += QT_NO_KEYWORDS
|
||||
|
Loading…
x
Reference in New Issue
Block a user