Run those autotests with cmake

They seem to work just fine.

Change-Id: I8cf3e682e158c67367d76fe68f5829df67d1e449
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Lars Knoll 2020-03-16 10:55:55 +01:00
parent bc726ed5d9
commit ca635c659c
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
add_subdirectory("qstandarditem")
if (QT_FEATURE_widgets)
# add_subdirectory("qstandarditemmodel")
add_subdirectory("qstandarditemmodel")
endif()

View File

@ -0,0 +1,16 @@
# Generated from qstandarditemmodel.pro.
#####################################################################
## tst_qstandarditemmodel Test:
#####################################################################
qt_add_test(tst_qstandarditemmodel
SOURCES
tst_qstandarditemmodel.cpp
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
Qt::WidgetsPrivate
)