cmake: add tests/auto/corelib/itemmodels
Fixes: QTBUG-78217 Change-Id: Ic2c343ab3cb1d86b9649e8ef242c7cd180f73c60 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
b3b2c799f8
commit
18cf9b24cb
@ -1,4 +1,19 @@
|
||||
# add_subdirectory(qabstractproxymodel)
|
||||
# add_subdirectory(qitemselectionmodel)
|
||||
add_subdirectory(qstringlistmodel)
|
||||
# Generated from itemmodels.pro.
|
||||
|
||||
add_subdirectory(qstringlistmodel)
|
||||
if(TARGET Qt::Gui)
|
||||
add_subdirectory(qabstractitemmodel)
|
||||
add_subdirectory(qabstractproxymodel)
|
||||
add_subdirectory(qconcatenatetablesproxymodel)
|
||||
add_subdirectory(qidentityproxymodel)
|
||||
add_subdirectory(qitemselectionmodel)
|
||||
add_subdirectory(qsortfilterproxymodel_recursive)
|
||||
add_subdirectory(qtransposeproxymodel)
|
||||
endif()
|
||||
if(TARGET Qt::Widgets)
|
||||
add_subdirectory(qsortfilterproxymodel_regexp)
|
||||
add_subdirectory(qsortfilterproxymodel_regularexpression)
|
||||
endif()
|
||||
if(TARGET Qt::Sql AND TARGET Qt::Widgets)
|
||||
add_subdirectory(qitemmodel)
|
||||
endif()
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Generated from qabstractitemmodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qabstractitemmodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qabstractitemmodel
|
||||
SOURCES
|
||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||
tst_qabstractitemmodel.cpp
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qabstractitemmodelutils
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -1 +1,14 @@
|
||||
add_qt_test(tst_qabstractproxymodel SOURCES tst_qabstractproxymodel.cpp)
|
||||
# Generated from qabstractproxymodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qabstractproxymodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qabstractproxymodel
|
||||
SOURCES
|
||||
tst_qabstractproxymodel.cpp
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
@ -0,0 +1,12 @@
|
||||
# Generated from qconcatenatetablesproxymodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qconcatenatetablesproxymodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qconcatenatetablesproxymodel
|
||||
SOURCES
|
||||
tst_qconcatenatetablesproxymodel.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -0,0 +1,15 @@
|
||||
# Generated from qidentityproxymodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qidentityproxymodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qidentityproxymodel
|
||||
SOURCES
|
||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||
tst_qidentityproxymodel.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qabstractitemmodelutils
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
14
tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt
Normal file
14
tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qitemmodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qitemmodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qitemmodel
|
||||
SOURCES
|
||||
tst_qitemmodel.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Sql
|
||||
Qt::Widgets
|
||||
)
|
@ -1 +1,12 @@
|
||||
add_qt_test(tst_qitemselectionmodel SOURCES tst_qitemselectionmodel.cpp)
|
||||
# Generated from qitemselectionmodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qitemselectionmodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qitemselectionmodel
|
||||
SOURCES
|
||||
tst_qitemselectionmodel.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
@ -0,0 +1,14 @@
|
||||
# Generated from qsortfilterproxymodel_recursive.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsortfilterproxymodel_recursive Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsortfilterproxymodel_recursive
|
||||
SOURCES
|
||||
tst_qsortfilterproxymodel_recursive.cpp
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
# Generated from qsortfilterproxymodel_regexp.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsortfilterproxymodel_regexp Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsortfilterproxymodel_regexp
|
||||
SOURCES
|
||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||
../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.cpp ../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.h
|
||||
tst_qsortfilterproxymodel_regexp.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qabstractitemmodelutils
|
||||
../qsortfilterproxymodel_common
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
# Generated from qsortfilterproxymodel_regularexpression.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsortfilterproxymodel_regularexpression Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsortfilterproxymodel_regularexpression
|
||||
SOURCES
|
||||
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||
../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.cpp ../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.h
|
||||
tst_qsortfilterproxymodel_regularexpression.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qabstractitemmodelutils
|
||||
../qsortfilterproxymodel_common
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
@ -1,4 +1,11 @@
|
||||
add_qt_test(tst_qstringlistmodel SOURCES
|
||||
# Generated from qstringlistmodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qstringlistmodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qstringlistmodel
|
||||
SOURCES
|
||||
qmodellistener.h
|
||||
tst_qstringlistmodel.cpp
|
||||
)
|
||||
|
@ -0,0 +1,12 @@
|
||||
# Generated from qtransposeproxymodel.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtransposeproxymodel Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtransposeproxymodel
|
||||
SOURCES
|
||||
tst_qtransposeproxymodel.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
Loading…
Reference in New Issue
Block a user