Convert remaining gui utils tests
Fixes:QTBUG-78229 Change-Id: I3bff1b562e1c146f291e5692c90d2c38f162d395 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
e7118bd7fd
commit
56115dba42
@ -1,13 +1,13 @@
|
||||
# Generated from util.pro.
|
||||
|
||||
# add_subdirectory("qdesktopservices")
|
||||
add_subdirectory("qdoublevalidator")
|
||||
add_subdirectory("qintvalidator")
|
||||
add_subdirectory("qregexpvalidator")
|
||||
add_subdirectory("qregularexpressionvalidator")
|
||||
# add_subdirectory("qshadergenerator")
|
||||
# add_subdirectory("qshadergraph")
|
||||
# add_subdirectory("qshadergraphloader")
|
||||
# add_subdirectory("qshadernodes")
|
||||
# add_subdirectory("qshadernodesloader")
|
||||
# add_subdirectory("qtexturefilereader")
|
||||
add_subdirectory(qdesktopservices)
|
||||
add_subdirectory(qdoublevalidator)
|
||||
add_subdirectory(qintvalidator)
|
||||
add_subdirectory(qregexpvalidator)
|
||||
add_subdirectory(qregularexpressionvalidator)
|
||||
add_subdirectory(qshadergenerator)
|
||||
add_subdirectory(qshadergraph)
|
||||
add_subdirectory(qshadergraphloader)
|
||||
add_subdirectory(qshadernodes)
|
||||
add_subdirectory(qshadernodesloader)
|
||||
add_subdirectory(qtexturefilereader)
|
||||
|
14
tests/auto/gui/util/qdesktopservices/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qdesktopservices/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qdesktopservices.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdesktopservices Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdesktopservices
|
||||
SOURCES
|
||||
tst_qdesktopservices.cpp
|
||||
DEFINES
|
||||
# QT_DISABLE_DEPRECATED_BEFORE=0 # special case
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -1 +1,12 @@
|
||||
add_qt_test(tst_qdoublevalidator SOURCES tst_qdoublevalidator.cpp LIBRARIES Qt::Gui)
|
||||
# Generated from qdoublevalidator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qdoublevalidator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qdoublevalidator
|
||||
SOURCES
|
||||
tst_qdoublevalidator.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
@ -1 +1,12 @@
|
||||
add_qt_test(tst_qintvalidator SOURCES tst_qintvalidator.cpp LIBRARIES Qt::Gui)
|
||||
# Generated from qintvalidator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qintvalidator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qintvalidator
|
||||
SOURCES
|
||||
tst_qintvalidator.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
@ -1 +1,12 @@
|
||||
add_qt_test(tst_qregexpvalidator SOURCES tst_qregexpvalidator.cpp LIBRARIES Qt::Gui)
|
||||
# Generated from qregexpvalidator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qregexpvalidator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qregexpvalidator
|
||||
SOURCES
|
||||
tst_qregexpvalidator.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
@ -1 +1,12 @@
|
||||
add_qt_test(tst_qregularexpressionvalidator SOURCES tst_qregularexpressionvalidator.cpp LIBRARIES Qt::Gui)
|
||||
# Generated from qregularexpressionvalidator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qregularexpressionvalidator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qregularexpressionvalidator
|
||||
SOURCES
|
||||
tst_qregularexpressionvalidator.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
14
tests/auto/gui/util/qshadergenerator/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qshadergenerator/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qshadergenerator.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qshadergenerator Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qshadergenerator
|
||||
SOURCES
|
||||
tst_qshadergenerator.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
14
tests/auto/gui/util/qshadergraph/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qshadergraph/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qshadergraph.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qshadergraph Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qshadergraph
|
||||
SOURCES
|
||||
tst_qshadergraph.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
14
tests/auto/gui/util/qshadergraphloader/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qshadergraphloader/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qshadergraphloader.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qshadergraphloader Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qshadergraphloader
|
||||
SOURCES
|
||||
tst_qshadergraphloader.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
14
tests/auto/gui/util/qshadernodes/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qshadernodes/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qshadernodes.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qshadernodes Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qshadernodes
|
||||
SOURCES
|
||||
tst_qshadernodes.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
14
tests/auto/gui/util/qshadernodesloader/CMakeLists.txt
Normal file
14
tests/auto/gui/util/qshadernodesloader/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qshadernodesloader.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qshadernodesloader Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qshadernodesloader
|
||||
SOURCES
|
||||
tst_qshadernodesloader.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
31
tests/auto/gui/util/qtexturefilereader/CMakeLists.txt
Normal file
31
tests/auto/gui/util/qtexturefilereader/CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from qtexturefilereader.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtexturefilereader Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtexturefilereader
|
||||
SOURCES
|
||||
tst_qtexturefilereader.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set(qtexturefilereader_resource_files
|
||||
"texturefiles/car.ktx"
|
||||
"texturefiles/car_mips.ktx"
|
||||
"texturefiles/newlogo.astc"
|
||||
"texturefiles/newlogo_srgb.astc"
|
||||
"texturefiles/pattern.pkm"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qtexturefilereader "qtexturefilereader"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${qtexturefilereader_resource_files}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user