remove qt from CONFIG for non-artifact templates
there is no point in adding Qt modules to SUBDIRS projects. as QT contains core and gui by default, the operations are relatively expensive, so skip them when they are unneeded. Change-Id: Ibe6447ff452e403cb040fabe245d248edbda0eaa Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>bb10
parent
ffa2e1d007
commit
a18bd8203d
|
|
@ -1,5 +1,7 @@
|
|||
contains(TEMPLATE, ".*(lib|app)"):CONFIG += have_target
|
||||
|
||||
!have_target:!force_qt: CONFIG -= qt
|
||||
|
||||
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
|
||||
!isEmpty(QT_BREAKPAD_ROOT_PATH): \ # quick test first whether requested ...
|
||||
!staticlib:!static:CONFIG(release, debug|release):have_target: \ # is it applicable?
|
||||
|
|
|
|||
Loading…
Reference in New Issue