cmake: add tests/auto/gui/text
Fixes: QTBUG-78228 Change-Id: I3d4666a553e94de47e01d64551b8fe672994b137 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
8931f4fe5f
commit
e7118bd7fd
@ -5,7 +5,7 @@ if(NOT APPLE_UIKIT)
|
||||
add_subdirectory(image)
|
||||
add_subdirectory(math3d)
|
||||
add_subdirectory(painting)
|
||||
# add_subdirectory(text) # special case missing project
|
||||
add_subdirectory(text)
|
||||
add_subdirectory(util)
|
||||
add_subdirectory(itemmodels)
|
||||
add_subdirectory(rhi)
|
||||
|
41
tests/auto/gui/text/CMakeLists.txt
Normal file
41
tests/auto/gui/text/CMakeLists.txt
Normal file
@ -0,0 +1,41 @@
|
||||
# Generated from text.pro.
|
||||
|
||||
add_subdirectory(qabstracttextdocumentlayout)
|
||||
add_subdirectory(qfont)
|
||||
add_subdirectory(qfontdatabase)
|
||||
add_subdirectory(qfontmetrics)
|
||||
add_subdirectory(qglyphrun)
|
||||
add_subdirectory(qrawfont)
|
||||
add_subdirectory(qstatictext)
|
||||
add_subdirectory(qsyntaxhighlighter)
|
||||
add_subdirectory(qtextblock)
|
||||
add_subdirectory(qtextcursor)
|
||||
add_subdirectory(qtextdocumentfragment)
|
||||
add_subdirectory(qtextdocumentlayout)
|
||||
add_subdirectory(qtextformat)
|
||||
add_subdirectory(qtextlist)
|
||||
add_subdirectory(qtextobject)
|
||||
add_subdirectory(qtextscriptengine)
|
||||
add_subdirectory(qtexttable)
|
||||
add_subdirectory(qinputcontrol)
|
||||
if(QT_FEATURE_private_tests AND TARGET Qt::Xml)
|
||||
add_subdirectory(qcssparser)
|
||||
endif()
|
||||
if(QT_FEATURE_private_tests)
|
||||
add_subdirectory(qfontcache)
|
||||
add_subdirectory(qtextlayout)
|
||||
add_subdirectory(qzip)
|
||||
add_subdirectory(qtextodfwriter)
|
||||
endif()
|
||||
if(TARGET Qt::Xml)
|
||||
add_subdirectory(qtextdocument)
|
||||
endif()
|
||||
if(QT_FEATURE_private_tests AND UNIX)
|
||||
add_subdirectory(qtextpiecetable)
|
||||
endif()
|
||||
if(QT_FEATURE_textmarkdownreader)
|
||||
add_subdirectory(qtextmarkdownimporter)
|
||||
endif()
|
||||
if(QT_FEATURE_private_tests AND QT_FEATURE_textmarkdownwriter)
|
||||
add_subdirectory(qtextmarkdownwriter)
|
||||
endif()
|
@ -0,0 +1,12 @@
|
||||
# Generated from qabstracttextdocumentlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qabstracttextdocumentlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qabstracttextdocumentlayout
|
||||
SOURCES
|
||||
tst_qabstracttextdocumentlayout.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
58
tests/auto/gui/text/qcssparser/CMakeLists.txt
Normal file
58
tests/auto/gui/text/qcssparser/CMakeLists.txt
Normal file
@ -0,0 +1,58 @@
|
||||
# Generated from qcssparser.pro.
|
||||
|
||||
if(NOT QT_FEATURE_private_tests)
|
||||
return()
|
||||
endif()
|
||||
|
||||
#####################################################################
|
||||
## tst_qcssparser Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "testdata")
|
||||
|
||||
add_qt_test(tst_qcssparser
|
||||
SOURCES
|
||||
tst_qcssparser.cpp
|
||||
DEFINES
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Xml
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qcssparser.pro:<TRUE>:
|
||||
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
if(ANDROID)
|
||||
# Resources:
|
||||
set(testdata_resource_files
|
||||
"testdata/scanner/comments/input"
|
||||
"testdata/scanner/comments/output"
|
||||
"testdata/scanner/comments2/input"
|
||||
"testdata/scanner/comments2/output"
|
||||
"testdata/scanner/comments3/input"
|
||||
"testdata/scanner/comments3/output"
|
||||
"testdata/scanner/comments4/input"
|
||||
"testdata/scanner/comments4/output"
|
||||
"testdata/scanner/quotedstring/input"
|
||||
"testdata/scanner/quotedstring/output"
|
||||
"testdata/scanner/simple/input"
|
||||
"testdata/scanner/simple/output"
|
||||
"testdata/scanner/unicode/input"
|
||||
"testdata/scanner/unicode/output"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qcssparser "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
endif()
|
36
tests/auto/gui/text/qfont/CMakeLists.txt
Normal file
36
tests/auto/gui/text/qfont/CMakeLists.txt
Normal file
@ -0,0 +1,36 @@
|
||||
# Generated from qfont.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfont Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfont
|
||||
SOURCES
|
||||
tst_qfont.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set(testfont_resource_files
|
||||
"weirdfont.otf"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qfont "testfont"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testfont_resource_files}
|
||||
)
|
||||
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qfont CONDITION TARGET Qt::Widgets
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
)
|
15
tests/auto/gui/text/qfontcache/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qfontcache/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qfontcache.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfontcache Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfontcache
|
||||
SOURCES
|
||||
tst_qfontcache.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
44
tests/auto/gui/text/qfontdatabase/CMakeLists.txt
Normal file
44
tests/auto/gui/text/qfontdatabase/CMakeLists.txt
Normal file
@ -0,0 +1,44 @@
|
||||
# Generated from qfontdatabase.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfontdatabase Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "LED_REAL.TTF")
|
||||
|
||||
add_qt_test(tst_qfontdatabase
|
||||
SOURCES
|
||||
tst_qfontdatabase.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set_source_files_properties("../../../shared/resources/testfont.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf"
|
||||
)
|
||||
set_source_files_properties("../../../shared/resources/testfont_condensed.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "testfont_condensed.ttf"
|
||||
)
|
||||
set_source_files_properties("../../../shared/resources/testfont_italic.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "testfont_italic.ttf"
|
||||
)
|
||||
set(testdata_resource_files
|
||||
"../../../shared/resources/testfont.ttf"
|
||||
"../../../shared/resources/testfont_condensed.ttf"
|
||||
"../../../shared/resources/testfont_italic.ttf"
|
||||
"LED_REAL.TTF"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qfontdatabase "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
|
32
tests/auto/gui/text/qfontmetrics/CMakeLists.txt
Normal file
32
tests/auto/gui/text/qfontmetrics/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from qfontmetrics.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qfontmetrics Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfontmetrics
|
||||
SOURCES
|
||||
tst_qfontmetrics.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set_source_files_properties("../../../shared/resources/testfont.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf"
|
||||
)
|
||||
set(testfont_resource_files
|
||||
"../../../shared/resources/testfont.ttf"
|
||||
"ucs4font.ttf"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qfontmetrics "testfont"
|
||||
PREFIX
|
||||
"/fonts"
|
||||
FILES
|
||||
${testfont_resource_files}
|
||||
)
|
||||
|
28
tests/auto/gui/text/qglyphrun/CMakeLists.txt
Normal file
28
tests/auto/gui/text/qglyphrun/CMakeLists.txt
Normal file
@ -0,0 +1,28 @@
|
||||
# Generated from qglyphrun.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qglyphrun Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qglyphrun
|
||||
SOURCES
|
||||
tst_qglyphrun.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set_source_files_properties("../../../shared/resources/test.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "test.ttf"
|
||||
)
|
||||
set(testdata_resource_files
|
||||
"../../../shared/resources/test.ttf"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qglyphrun "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
|
14
tests/auto/gui/text/qinputcontrol/CMakeLists.txt
Normal file
14
tests/auto/gui/text/qinputcontrol/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from qinputcontrol.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qinputcontrol Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qinputcontrol
|
||||
SOURCES
|
||||
tst_qinputcontrol.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
33
tests/auto/gui/text/qrawfont/CMakeLists.txt
Normal file
33
tests/auto/gui/text/qrawfont/CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated from qrawfont.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qrawfont Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qrawfont
|
||||
SOURCES
|
||||
tst_qrawfont.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set_source_files_properties("../../../shared/resources/testfont.ttf"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf"
|
||||
)
|
||||
set(testdata_resource_files
|
||||
"../../../shared/resources/testfont.ttf"
|
||||
"testfont_bold_italic.ttf"
|
||||
"testfont_os2_v1.ttf"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qrawfont "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
|
24
tests/auto/gui/text/qstatictext/CMakeLists.txt
Normal file
24
tests/auto/gui/text/qstatictext/CMakeLists.txt
Normal file
@ -0,0 +1,24 @@
|
||||
# Generated from qstatictext.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qstatictext Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qstatictext
|
||||
SOURCES
|
||||
tst_qstatictext.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
)
|
20
tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt
Normal file
20
tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated from qsyntaxhighlighter.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qsyntaxhighlighter Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qsyntaxhighlighter
|
||||
SOURCES
|
||||
tst_qsyntaxhighlighter.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qsyntaxhighlighter CONDITION TARGET Qt::Widgets
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
)
|
15
tests/auto/gui/text/qtextblock/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextblock/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextblock.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextblock Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextblock
|
||||
SOURCES
|
||||
tst_qtextblock.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
15
tests/auto/gui/text/qtextcursor/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextcursor/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextcursor.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextcursor Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextcursor
|
||||
SOURCES
|
||||
tst_qtextcursor.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
17
tests/auto/gui/text/qtextdocument/CMakeLists.txt
Normal file
17
tests/auto/gui/text/qtextdocument/CMakeLists.txt
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated from qtextdocument.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextdocument Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextdocument
|
||||
SOURCES
|
||||
common.h
|
||||
tst_qtextdocument.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Xml
|
||||
)
|
15
tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextdocumentfragment.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextdocumentfragment Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextdocumentfragment
|
||||
SOURCES
|
||||
tst_qtextdocumentfragment.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
20
tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt
Normal file
20
tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated from qtextdocumentlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextdocumentlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextdocumentlayout
|
||||
SOURCES
|
||||
tst_qtextdocumentlayout.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qtextdocumentlayout CONDITION TARGET Qt::Widgets
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
)
|
15
tests/auto/gui/text/qtextformat/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextformat/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextformat.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextformat Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextformat
|
||||
SOURCES
|
||||
tst_qtextformat.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
15
tests/auto/gui/text/qtextlayout/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextlayout/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextlayout
|
||||
SOURCES
|
||||
tst_qtextlayout.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
16
tests/auto/gui/text/qtextlist/CMakeLists.txt
Normal file
16
tests/auto/gui/text/qtextlist/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated from qtextlist.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextlist Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextlist
|
||||
SOURCES
|
||||
../qtextdocument/common.h
|
||||
tst_qtextlist.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
22
tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt
Normal file
22
tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated from qtextmarkdownimporter.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextmarkdownimporter Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "data/thematicBreaks.md")
|
||||
list(APPEND test_data "data/headingBulletsContinuations.md")
|
||||
|
||||
add_qt_test(tst_qtextmarkdownimporter
|
||||
SOURCES
|
||||
tst_qtextmarkdownimporter.cpp
|
||||
DEFINES
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
)
|
22
tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt
Normal file
22
tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated from qtextmarkdownwriter.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextmarkdownwriter Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "data/example.md")
|
||||
list(APPEND test_data "data/blockquotes.md")
|
||||
|
||||
add_qt_test(tst_qtextmarkdownwriter
|
||||
SOURCES
|
||||
tst_qtextmarkdownwriter.cpp
|
||||
DEFINES
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
)
|
20
tests/auto/gui/text/qtextobject/CMakeLists.txt
Normal file
20
tests/auto/gui/text/qtextobject/CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated from qtextobject.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextobject Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextobject
|
||||
SOURCES
|
||||
tst_qtextobject.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qtextobject CONDITION TARGET Qt::Widgets
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
)
|
17
tests/auto/gui/text/qtextodfwriter/CMakeLists.txt
Normal file
17
tests/auto/gui/text/qtextodfwriter/CMakeLists.txt
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated from qtextodfwriter.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextodfwriter Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextodfwriter
|
||||
SOURCES
|
||||
tst_qtextodfwriter.cpp
|
||||
DEFINES
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
26
tests/auto/gui/text/qtextpiecetable/CMakeLists.txt
Normal file
26
tests/auto/gui/text/qtextpiecetable/CMakeLists.txt
Normal file
@ -0,0 +1,26 @@
|
||||
# Generated from qtextpiecetable.pro.
|
||||
|
||||
if(WIN32)
|
||||
return()
|
||||
endif()
|
||||
if(NOT QT_FEATURE_private_tests)
|
||||
return()
|
||||
endif()
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextpiecetable Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextpiecetable
|
||||
SOURCES
|
||||
../qtextdocument/common.h
|
||||
tst_qtextpiecetable.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtextpiecetable.pro:<TRUE>:
|
||||
# _REQUIREMENTS = "!win32" "qtConfig(private_tests)"
|
15
tests/auto/gui/text/qtextscriptengine/CMakeLists.txt
Normal file
15
tests/auto/gui/text/qtextscriptengine/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Generated from qtextscriptengine.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtextscriptengine Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtextscriptengine
|
||||
SOURCES
|
||||
tst_qtextscriptengine.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
# Generated from generate.pro.
|
||||
|
||||
#####################################################################
|
||||
## generate Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(generate
|
||||
GUI
|
||||
SOURCES
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
.
|
||||
/usr/include/freetype2
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
22
tests/auto/gui/text/qtexttable/CMakeLists.txt
Normal file
22
tests/auto/gui/text/qtexttable/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated from qtexttable.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtexttable Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtexttable
|
||||
SOURCES
|
||||
tst_qtexttable.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qtexttable CONDITION TARGET Qt::Widgets
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
)
|
36
tests/auto/gui/text/qzip/CMakeLists.txt
Normal file
36
tests/auto/gui/text/qzip/CMakeLists.txt
Normal file
@ -0,0 +1,36 @@
|
||||
# Generated from qzip.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qzip Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "testdata")
|
||||
|
||||
add_qt_test(tst_qzip
|
||||
SOURCES
|
||||
tst_qzip.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
if(ANDROID)
|
||||
# Resources:
|
||||
set(testdata_resource_files
|
||||
"testdata/symlink.zip"
|
||||
"testdata/test.zip"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qzip "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user