Don't depend on tools for the qtestlib examples
Only widgets is required here, so drop the dependency on QT_BUILD_PARTS and just depend on widgets. Pick-to: 5.15 Change-Id: Idaae547b69ffd91681900b33c73e4a341011c30c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
ff6a3a80dd
commit
53da069b32
@ -1,6 +1,6 @@
|
|||||||
# Generated from qtestlib.pro.
|
# Generated from qtestlib.pro.
|
||||||
|
|
||||||
if(NOT QT_BUILD_PARTS___contains___tools OR NOT TARGET Qt::Widgets)
|
if(NOT TARGET Qt::Widgets)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(tutorial1)
|
add_subdirectory(tutorial1)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
requires(contains(QT_BUILD_PARTS,tools):qtHaveModule(widgets))
|
requires(qtHaveModule(widgets))
|
||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
SUBDIRS = tutorial1 tutorial2 tutorial3 tutorial4 tutorial5
|
SUBDIRS = tutorial1 tutorial2 tutorial3 tutorial4 tutorial5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user