qmake: ignore QT if we have failed requires()
otherwise the project would need to clear QT despite using qtHaveModule() in requires() (or REQUIRES=). Task-number: QTBUG-65106 Change-Id: I568202214c8eafcdbe2d0e253b18f0e171293aff Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
2aa9908e24
commit
ab4cc83d52
@ -1,3 +1,7 @@
|
||||
# This avoids spurious errors when a project is explicitly disabled
|
||||
# due to required Qt modules being missing.
|
||||
!isEmpty(QMAKE_FAILED_REQUIREMENTS): return()
|
||||
|
||||
CONFIG *= thread
|
||||
|
||||
#handle defines
|
||||
|
Loading…
x
Reference in New Issue
Block a user