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:
Andy Shaw 2020-08-11 20:10:48 +02:00
parent ff6a3a80dd
commit 53da069b32
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Generated from qtestlib.pro.
if(NOT QT_BUILD_PARTS___contains___tools OR NOT TARGET Qt::Widgets)
if(NOT TARGET Qt::Widgets)
return()
endif()
add_subdirectory(tutorial1)

View File

@ -1,4 +1,4 @@
requires(contains(QT_BUILD_PARTS,tools):qtHaveModule(widgets))
requires(qtHaveModule(widgets))
TEMPLATE = subdirs
SUBDIRS = tutorial1 tutorial2 tutorial3 tutorial4 tutorial5