From 4e14f6e70abb4a02a570a390f462736666b234a7 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Wed, 7 Aug 2019 16:25:52 +0200 Subject: Add QtDeclarative Test Coverage All tests compile and run on a developer build. These tests are failing: tst_qqmlsqldatabase Fails due to missing sql driver tst_qqmlsqldatabase Fails in wip/qt6 tst_ququicklayouts Fails in wip/qt6 tst_flickableinterop Fails in wip/qt6 tst_qquickpinchandler Fails in wip/qt6 tst_qquickflickable Fails in wip/qt6 tst_qquickgridview Fails in wip/qt6 tst_qquickimage Fails due to missing jpeg plugin tst_qquicklistview Fails in wip/qt6 tst_qquicktext Fails in wip/qt6 tst_qquickcanvasitem Fails in wip/qt6 tst_scenegraph Fails due to missing jpeg plugin tst_TestFiltering Fails in wip/qt6 Change-Id: I4b9d69c118e23c095cb72ad5a67653fc30943bb1 Reviewed-by: Alexandru Croitor --- CMakeLists.txt | 1 + tests/.prev_CMakeLists.txt | 6 + tests/CMakeLists.txt | 14 ++- tests/auto/CMakeLists.txt | 34 +++--- tests/auto/cmake/CMakeLists.txt | 6 +- tests/auto/particles/CMakeLists.txt | 27 +++++ tests/auto/particles/qquickage/CMakeLists.txt | 53 +++++++++ .../particles/qquickangleddirection/CMakeLists.txt | 53 +++++++++ .../qquickcumulativedirection/CMakeLists.txt | 53 +++++++++ .../particles/qquickcustomaffector/CMakeLists.txt | 53 +++++++++ .../particles/qquickcustomparticle/CMakeLists.txt | 53 +++++++++ .../particles/qquickellipseextruder/CMakeLists.txt | 53 +++++++++ tests/auto/particles/qquickfriction/CMakeLists.txt | 53 +++++++++ tests/auto/particles/qquickgravity/CMakeLists.txt | 53 +++++++++ .../auto/particles/qquickgroupgoal/CMakeLists.txt | 53 +++++++++ .../particles/qquickimageparticle/CMakeLists.txt | 53 +++++++++ .../particles/qquickitemparticle/CMakeLists.txt | 53 +++++++++ .../particles/qquicklineextruder/CMakeLists.txt | 53 +++++++++ .../particles/qquickmaskextruder/CMakeLists.txt | 53 +++++++++ .../particles/qquickparticlegroup/CMakeLists.txt | 53 +++++++++ .../particles/qquickparticlesystem/CMakeLists.txt | 53 +++++++++ .../particles/qquickpointattractor/CMakeLists.txt | 53 +++++++++ .../particles/qquickpointdirection/CMakeLists.txt | 53 +++++++++ .../qquickrectangleextruder/CMakeLists.txt | 53 +++++++++ .../auto/particles/qquickspritegoal/CMakeLists.txt | 53 +++++++++ .../particles/qquicktargetdirection/CMakeLists.txt | 53 +++++++++ .../particles/qquicktrailemitter/CMakeLists.txt | 53 +++++++++ .../auto/particles/qquickturbulence/CMakeLists.txt | 53 +++++++++ tests/auto/particles/qquickwander/CMakeLists.txt | 53 +++++++++ tests/auto/qml/CMakeLists.txt | 125 +++++++++++++-------- tests/auto/qml/animation/CMakeLists.txt | 7 ++ .../animation/qabstractanimationjob/CMakeLists.txt | 25 +++++ .../animation/qanimationgroupjob/CMakeLists.txt | 25 +++++ .../qparallelanimationgroupjob/CMakeLists.txt | 27 +++++ .../animation/qpauseanimationjob/CMakeLists.txt | 27 +++++ .../qsequentialanimationgroupjob/CMakeLists.txt | 25 +++++ tests/auto/qml/bindingdependencyapi/CMakeLists.txt | 51 +++++++++ tests/auto/qml/debugger/CMakeLists.txt | 21 ++++ .../debugger/qdebugmessageservice/CMakeLists.txt | 54 +++++++++ .../qml/debugger/qpacketprotocol/CMakeLists.txt | 44 ++++++++ .../qml/debugger/qqmldebugclient/CMakeLists.txt | 43 +++++++ .../debugger/qqmldebuggingenabler/CMakeLists.txt | 4 + .../qqmldebuggingenabler/CMakeLists.txt | 45 ++++++++ .../qqmldebuggingenablerserver/CMakeLists.txt | 33 ++++++ tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt | 53 +++++++++ .../qml/debugger/qqmldebugjsserver/CMakeLists.txt | 32 ++++++ .../qml/debugger/qqmldebuglocal/CMakeLists.txt | 48 ++++++++ .../qml/debugger/qqmldebugprocess/CMakeLists.txt | 4 + .../qqmldebugprocess/CMakeLists.txt | 23 ++++ .../qqmldebugprocessprocess/CMakeLists.txt | 27 +++++ .../qml/debugger/qqmldebugservice/CMakeLists.txt | 58 ++++++++++ .../qml/debugger/qqmlenginecontrol/CMakeLists.txt | 53 +++++++++ .../CMakeLists.txt | 52 +++++++++ .../debugger/qqmlenginedebugservice/CMakeLists.txt | 46 ++++++++ .../auto/qml/debugger/qqmlinspector/CMakeLists.txt | 52 +++++++++ .../debugger/qqmlnativeconnector/CMakeLists.txt | 22 ++++ tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt | 54 +++++++++ .../debugger/qqmlprofilerservice/CMakeLists.txt | 52 +++++++++ tests/auto/qml/debugger/qv4debugger/CMakeLists.txt | 33 ++++++ tests/auto/qml/ecmascripttests/CMakeLists.txt | 31 +++++ .../qml/ecmascripttests/qjstest/CMakeLists.txt | 25 +++++ tests/auto/qml/parserstress/CMakeLists.txt | 36 ++++++ tests/auto/qml/qjsengine/CMakeLists.txt | 57 ++++++++++ tests/auto/qml/qjsonbinding/CMakeLists.txt | 13 ++- tests/auto/qml/qjsvalue/CMakeLists.txt | 27 +++++ tests/auto/qml/qjsvalueiterator/CMakeLists.txt | 1 + tests/auto/qml/qmlcachegen/CMakeLists.txt | 125 +++++++++++++++++++++ tests/auto/qml/qmldiskcache/CMakeLists.txt | 48 ++++++++ tests/auto/qml/qmllint/CMakeLists.txt | 19 ++++ tests/auto/qml/qmlmin/CMakeLists.txt | 3 +- tests/auto/qml/qmlplugindump/CMakeLists.txt | 44 ++++++++ .../data/dumper/Dummy/.prev_CMakeLists.txt | 30 +++++ .../qmlplugindump/data/dumper/Dummy/CMakeLists.txt | 40 +++++++ .../data/dumper/ExtendedType/.prev_CMakeLists.txt | 30 +++++ .../data/dumper/ExtendedType/CMakeLists.txt | 41 +++++++ .../data/dumper/Imports/.prev_CMakeLists.txt | 30 +++++ .../data/dumper/Imports/CMakeLists.txt | 40 +++++++ .../data/dumper/Versions/.prev_CMakeLists.txt | 30 +++++ .../data/dumper/Versions/CMakeLists.txt | 41 +++++++ .../auto/qml/qqmlapplicationengine/CMakeLists.txt | 62 ++++++++++ .../qqmlapplicationengine/testapp/CMakeLists.txt | 30 +++++ tests/auto/qml/qqmlbinding/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qqmlchangeset/CMakeLists.txt | 29 +++++ tests/auto/qml/qqmlcomponent/CMakeLists.txt | 61 ++++++++++ tests/auto/qml/qqmlconnections/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qqmlconsole/CMakeLists.txt | 47 ++++++++ tests/auto/qml/qqmlcontext/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlcpputils/CMakeLists.txt | 27 +++++ tests/auto/qml/qqmldirparser/CMakeLists.txt | 38 +++++++ tests/auto/qml/qqmlecmascript/CMakeLists.txt | 80 +++++++++++++ tests/auto/qml/qqmlengine/CMakeLists.txt | 56 +++++++++ tests/auto/qml/qqmlenginecleanup/CMakeLists.txt | 38 +++++++ .../CustomModuleImport/CMakeLists.txt | 39 +++++++ tests/auto/qml/qqmlerror/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlexpression/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlextensionplugin/CMakeLists.txt | 23 ++++ tests/auto/qml/qqmlfile/CMakeLists.txt | 2 + tests/auto/qml/qqmlfileselector/CMakeLists.txt | 13 ++- tests/auto/qml/qqmlglobal/CMakeLists.txt | 27 +++++ tests/auto/qml/qqmlimport/CMakeLists.txt | 39 +++++++ tests/auto/qml/qqmlincubator/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qqmlinfo/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlinstantiator/CMakeLists.txt | 52 +++++++++ tests/auto/qml/qqmlitemmodels/CMakeLists.txt | 48 ++++++++ tests/auto/qml/qqmllanguage/CMakeLists.txt | 53 +++++++++ tests/auto/qml/qqmllistcompositor/CMakeLists.txt | 31 +++++ tests/auto/qml/qqmllistmodel/CMakeLists.txt | 53 +++++++++ .../qml/qqmllistmodelworkerscript/CMakeLists.txt | 53 +++++++++ tests/auto/qml/qqmllistreference/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qqmllocale/CMakeLists.txt | 47 ++++++++ tests/auto/qml/qqmlmetaobject/CMakeLists.txt | 47 ++++++++ tests/auto/qml/qqmlmetatype/CMakeLists.txt | 66 +++++++++++ .../auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt | 95 ++++++++++++++++ tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt | 110 ++++++++++++++++++ .../invalidFirstCommandModule/.prev_CMakeLists.txt | 24 ++++ .../invalidFirstCommandModule/CMakeLists.txt | 33 ++++++ .../invalidNamespaceModule/.prev_CMakeLists.txt | 24 ++++ .../invalidNamespaceModule/CMakeLists.txt | 33 ++++++ .../nestedPlugin/.prev_CMakeLists.txt | 24 ++++ .../qqmlmoduleplugin/nestedPlugin/CMakeLists.txt | 33 ++++++ .../nonstrictModule/.prev_CMakeLists.txt | 24 ++++ .../nonstrictModule/CMakeLists.txt | 33 ++++++ .../plugin.2.1/.prev_CMakeLists.txt | 24 ++++ .../qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt | 34 ++++++ .../plugin.2.1/childplugin/.prev_CMakeLists.txt | 24 ++++ .../plugin.2.1/childplugin/CMakeLists.txt | 34 ++++++ .../plugin.2.2/.prev_CMakeLists.txt | 24 ++++ .../qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt | 34 ++++++ .../qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt | 24 ++++ .../qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt | 34 ++++++ .../plugin.2/childplugin/.prev_CMakeLists.txt | 25 +++++ .../plugin.2/childplugin/CMakeLists.txt | 35 ++++++ .../qqmlmoduleplugin/plugin/.prev_CMakeLists.txt | 24 ++++ .../qml/qqmlmoduleplugin/plugin/CMakeLists.txt | 33 ++++++ .../plugin/childplugin/.prev_CMakeLists.txt | 24 ++++ .../plugin/childplugin/CMakeLists.txt | 33 ++++++ .../pluginMixed/.prev_CMakeLists.txt | 24 ++++ .../qqmlmoduleplugin/pluginMixed/CMakeLists.txt | 33 ++++++ .../pluginVersion/.prev_CMakeLists.txt | 24 ++++ .../qqmlmoduleplugin/pluginVersion/CMakeLists.txt | 33 ++++++ .../pluginWithQmlFile/.prev_CMakeLists.txt | 24 ++++ .../pluginWithQmlFile/CMakeLists.txt | 33 ++++++ .../pluginWrongCase/.prev_CMakeLists.txt | 24 ++++ .../pluginWrongCase/CMakeLists.txt | 33 ++++++ .../preemptedStrictModule/.prev_CMakeLists.txt | 24 ++++ .../preemptedStrictModule/CMakeLists.txt | 33 ++++++ .../preemptiveModule/.prev_CMakeLists.txt | 24 ++++ .../preemptiveModule/CMakeLists.txt | 33 ++++++ .../protectedModule/.prev_CMakeLists.txt | 24 ++++ .../protectedModule/CMakeLists.txt | 33 ++++++ .../strictModule.2/.prev_CMakeLists.txt | 24 ++++ .../qqmlmoduleplugin/strictModule.2/CMakeLists.txt | 34 ++++++ .../strictModule/.prev_CMakeLists.txt | 24 ++++ .../qqmlmoduleplugin/strictModule/CMakeLists.txt | 33 ++++++ tests/auto/qml/qqmlnotifier/CMakeLists.txt | 45 ++++++++ tests/auto/qml/qqmlobjectmodel/CMakeLists.txt | 28 +++++ tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt | 27 +++++ tests/auto/qml/qqmlparser/CMakeLists.txt | 54 +++++++++ tests/auto/qml/qqmlpromise/CMakeLists.txt | 53 +++++++++ tests/auto/qml/qqmlproperty/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlpropertycache/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qqmlpropertymap/CMakeLists.txt | 42 +++++++ tests/auto/qml/qqmlqt/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qqmlsettings/CMakeLists.txt | 45 ++++++++ tests/auto/qml/qqmlsqldatabase/CMakeLists.txt | 52 +++++++++ tests/auto/qml/qqmlstatemachine/CMakeLists.txt | 42 +++++++ tests/auto/qml/qqmltablemodel/CMakeLists.txt | 48 ++++++++ tests/auto/qml/qqmltimer/CMakeLists.txt | 29 +++++ tests/auto/qml/qqmltranslation/CMakeLists.txt | 74 ++++++++++++ tests/auto/qml/qqmltypeloader/CMakeLists.txt | 40 +++++++ .../qml/qqmltypeloader/SlowImport/CMakeLists.txt | 32 ++++++ .../auto/qml/qqmlvaluetypeproviders/CMakeLists.txt | 52 +++++++++ tests/auto/qml/qqmlvaluetypes/CMakeLists.txt | 53 +++++++++ tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt | 51 +++++++++ .../qml/qquickfolderlistmodel/.prev_CMakeLists.txt | 60 ++++++++++ .../auto/qml/qquickfolderlistmodel/CMakeLists.txt | 63 +++++++++++ tests/auto/qml/qquickworkerscript/CMakeLists.txt | 51 +++++++++ tests/auto/qml/qrcqml/CMakeLists.txt | 81 +++++++++++++ tests/auto/qml/qtqmlmodules/CMakeLists.txt | 49 ++++++++ tests/auto/qml/qv4assembler/CMakeLists.txt | 47 ++++++++ tests/auto/qml/qv4identifiertable/CMakeLists.txt | 25 +++++ tests/auto/qml/qv4mm/CMakeLists.txt | 47 ++++++++ tests/auto/qml/qv4regexp/CMakeLists.txt | 25 +++++ tests/auto/qml/qwidgetsinqml/CMakeLists.txt | 28 +++++ tests/auto/qml/v4misc/CMakeLists.txt | 26 +++++ tests/auto/qmldevtools/CMakeLists.txt | 5 + tests/auto/qmldevtools/compile/CMakeLists.txt | 44 ++++++++ .../auto/qmltest-blacklist/shortcut/CMakeLists.txt | 15 +++ tests/auto/qmltest/CMakeLists.txt | 30 +++++ tests/auto/qmltest/animatedimage/CMakeLists.txt | 15 +++ tests/auto/qmltest/animations/CMakeLists.txt | 15 +++ tests/auto/qmltest/borderimage/CMakeLists.txt | 15 +++ tests/auto/qmltest/buttonclick/CMakeLists.txt | 15 +++ tests/auto/qmltest/createbenchmark/CMakeLists.txt | 15 +++ tests/auto/qmltest/events/CMakeLists.txt | 15 +++ tests/auto/qmltest/fontloader/CMakeLists.txt | 15 +++ tests/auto/qmltest/gradient/CMakeLists.txt | 15 +++ tests/auto/qmltest/image/CMakeLists.txt | 15 +++ tests/auto/qmltest/itemgrabber/CMakeLists.txt | 15 +++ tests/auto/qmltest/layout/CMakeLists.txt | 15 +++ tests/auto/qmltest/listmodel/CMakeLists.txt | 15 +++ tests/auto/qmltest/listview/CMakeLists.txt | 16 +++ tests/auto/qmltest/objectmodel/CMakeLists.txt | 15 +++ tests/auto/qmltest/pathview/CMakeLists.txt | 15 +++ tests/auto/qmltest/pixel/CMakeLists.txt | 15 +++ tests/auto/qmltest/positioners/CMakeLists.txt | 15 +++ tests/auto/qmltest/qqmlbinding/CMakeLists.txt | 15 +++ tests/auto/qmltest/qtbug46798/CMakeLists.txt | 15 +++ tests/auto/qmltest/rectangle/CMakeLists.txt | 15 +++ tests/auto/qmltest/selftests/CMakeLists.txt | 15 +++ tests/auto/qmltest/shadersource/CMakeLists.txt | 15 +++ tests/auto/qmltest/stability/CMakeLists.txt | 15 +++ tests/auto/qmltest/statemachine/CMakeLists.txt | 15 +++ tests/auto/qmltest/text/CMakeLists.txt | 15 +++ tests/auto/qmltest/textedit/CMakeLists.txt | 15 +++ tests/auto/qmltest/textinput/CMakeLists.txt | 15 +++ tests/auto/qmltest/window/CMakeLists.txt | 15 +++ tests/auto/quick/CMakeLists.txt | 68 +++++++++++ tests/auto/quick/drawingmodes/CMakeLists.txt | 49 ++++++++ tests/auto/quick/examples/CMakeLists.txt | 32 ++++++ tests/auto/quick/geometry/CMakeLists.txt | 29 +++++ tests/auto/quick/nodes/CMakeLists.txt | 29 +++++ tests/auto/quick/nokeywords/CMakeLists.txt | 29 +++++ tests/auto/quick/pointerhandlers/CMakeLists.txt | 13 +++ .../flickableinterop/CMakeLists.txt | 57 ++++++++++ .../multipointtoucharea_interop/CMakeLists.txt | 57 ++++++++++ .../qquickdraghandler/CMakeLists.txt | 57 ++++++++++ .../qquickhoverhandler/CMakeLists.txt | 57 ++++++++++ .../qquickpinchhandler/CMakeLists.txt | 57 ++++++++++ .../qquickpointerhandler/CMakeLists.txt | 56 +++++++++ .../qquickpointhandler/CMakeLists.txt | 57 ++++++++++ .../qquicktaphandler/CMakeLists.txt | 56 +++++++++ .../qquickwheelhandler/CMakeLists.txt | 57 ++++++++++ .../auto/quick/propertyrequirements/CMakeLists.txt | 25 +++++ tests/auto/quick/qquickaccessible/CMakeLists.txt | 53 +++++++++ tests/auto/quick/qquickanchors/CMakeLists.txt | 56 +++++++++ .../auto/quick/qquickanimatedimage/CMakeLists.txt | 53 +++++++++ .../auto/quick/qquickanimatedsprite/CMakeLists.txt | 54 +++++++++ .../quick/qquickanimationcontroller/CMakeLists.txt | 32 ++++++ tests/auto/quick/qquickanimations/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickanimators/CMakeLists.txt | 29 +++++ tests/auto/quick/qquickapplication/CMakeLists.txt | 52 +++++++++ tests/auto/quick/qquickbehaviors/CMakeLists.txt | 52 +++++++++ tests/auto/quick/qquickborderimage/CMakeLists.txt | 58 ++++++++++ tests/auto/quick/qquickboundaryrule/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickcanvasitem/CMakeLists.txt | 41 +++++++ .../quick/qquickdesignersupport/CMakeLists.txt | 57 ++++++++++ tests/auto/quick/qquickdrag/CMakeLists.txt | 30 +++++ tests/auto/quick/qquickdroparea/CMakeLists.txt | 30 +++++ .../qquickdynamicpropertyanimation/CMakeLists.txt | 46 ++++++++ tests/auto/quick/qquickflickable/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickflipable/CMakeLists.txt | 51 +++++++++ tests/auto/quick/qquickfocusscope/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickfontloader/CMakeLists.txt | 53 +++++++++ .../quick/qquickfontloader_static/CMakeLists.txt | 54 +++++++++ tests/auto/quick/qquickfontmetrics/CMakeLists.txt | 26 +++++ .../quick/qquickframebufferobject/CMakeLists.txt | 46 ++++++++ tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt | 46 ++++++++ tests/auto/quick/qquickgridview/CMakeLists.txt | 60 ++++++++++ tests/auto/quick/qquickimage/CMakeLists.txt | 58 ++++++++++ .../auto/quick/qquickimageprovider/CMakeLists.txt | 30 +++++ tests/auto/quick/qquickitem/CMakeLists.txt | 63 +++++++++++ tests/auto/quick/qquickitem2/CMakeLists.txt | 51 +++++++++ tests/auto/quick/qquickitemlayer/CMakeLists.txt | 52 +++++++++ tests/auto/quick/qquicklayouts/CMakeLists.txt | 33 ++++++ tests/auto/quick/qquicklistview/CMakeLists.txt | 64 +++++++++++ tests/auto/quick/qquickloader/CMakeLists.txt | 58 ++++++++++ tests/auto/quick/qquickmousearea/CMakeLists.txt | 59 ++++++++++ .../quick/qquickmultipointtoucharea/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickopenglinfo/CMakeLists.txt | 46 ++++++++ tests/auto/quick/qquickpainteditem/CMakeLists.txt | 30 +++++ tests/auto/quick/qquickpath/CMakeLists.txt | 52 +++++++++ tests/auto/quick/qquickpathview/CMakeLists.txt | 64 +++++++++++ tests/auto/quick/qquickpincharea/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickpixmapcache/CMakeLists.txt | 54 +++++++++ tests/auto/quick/qquickpositioners/CMakeLists.txt | 57 ++++++++++ tests/auto/quick/qquickrectangle/CMakeLists.txt | 56 +++++++++ tests/auto/quick/qquickrepeater/CMakeLists.txt | 58 ++++++++++ tests/auto/quick/qquickscreen/CMakeLists.txt | 42 +++++++ tests/auto/quick/qquickshadereffect/CMakeLists.txt | 42 +++++++ tests/auto/quick/qquickshape/CMakeLists.txt | 64 +++++++++++ tests/auto/quick/qquickshortcut/CMakeLists.txt | 48 ++++++++ .../quick/qquicksmoothedanimation/CMakeLists.txt | 51 +++++++++ .../quick/qquickspringanimation/CMakeLists.txt | 51 +++++++++ .../auto/quick/qquickspritesequence/CMakeLists.txt | 52 +++++++++ tests/auto/quick/qquickstates/CMakeLists.txt | 51 +++++++++ tests/auto/quick/qquickstyledtext/CMakeLists.txt | 30 +++++ .../auto/quick/qquicksystempalette/CMakeLists.txt | 34 ++++++ tests/auto/quick/qquicktableview/CMakeLists.txt | 60 ++++++++++ tests/auto/quick/qquicktext/CMakeLists.txt | 54 +++++++++ tests/auto/quick/qquicktextdocument/CMakeLists.txt | 51 +++++++++ tests/auto/quick/qquicktextedit/CMakeLists.txt | 64 +++++++++++ tests/auto/quick/qquicktextinput/CMakeLists.txt | 57 ++++++++++ tests/auto/quick/qquicktextmetrics/CMakeLists.txt | 26 +++++ tests/auto/quick/qquicktimeline/CMakeLists.txt | 29 +++++ tests/auto/quick/qquickview/CMakeLists.txt | 56 +++++++++ .../quick/qquickvisualdatamodel/CMakeLists.txt | 63 +++++++++++ tests/auto/quick/qquickwindow/CMakeLists.txt | 57 ++++++++++ tests/auto/quick/rendernode/CMakeLists.txt | 52 +++++++++ tests/auto/quick/scenegraph/CMakeLists.txt | 48 ++++++++ tests/auto/quick/sharedimage/CMakeLists.txt | 29 +++++ tests/auto/quick/touchmouse/CMakeLists.txt | 56 +++++++++ tests/auto/quicktest/CMakeLists.txt | 6 + tests/auto/quicktest/polish-qml/CMakeLists.txt | 48 ++++++++ tests/auto/quicktest/polish/CMakeLists.txt | 48 ++++++++ .../quicktestmainwithsetup/CMakeLists.txt | 46 ++++++++ tests/auto/quicktest/signalspy/CMakeLists.txt | 37 ++++++ tests/auto/quicktest/testfiltering/CMakeLists.txt | 4 + .../testfiltering/quicktestmain/CMakeLists.txt | 34 ++++++ .../quicktest/testfiltering/test/CMakeLists.txt | 16 +++ tests/auto/quickwidgets/CMakeLists.txt | 3 + .../auto/quickwidgets/qquickwidget/CMakeLists.txt | 56 +++++++++ tests/auto/toolsupport/CMakeLists.txt | 19 ++++ tests/benchmarks/CMakeLists.txt | 7 ++ tests/benchmarks/particles/CMakeLists.txt | 4 + .../benchmarks/particles/affectors/CMakeLists.txt | 28 +++++ tests/benchmarks/particles/emission/CMakeLists.txt | 28 +++++ tests/benchmarks/qml/CMakeLists.txt | 17 +++ tests/benchmarks/qml/animation/CMakeLists.txt | 33 ++++++ tests/benchmarks/qml/binding/CMakeLists.txt | 28 +++++ tests/benchmarks/qml/compilation/CMakeLists.txt | 30 +++++ tests/benchmarks/qml/creation/CMakeLists.txt | 33 ++++++ tests/benchmarks/qml/holistic/CMakeLists.txt | 29 +++++ tests/benchmarks/qml/javascript/CMakeLists.txt | 28 +++++ tests/benchmarks/qml/js/CMakeLists.txt | 5 + tests/benchmarks/qml/js/qjsengine/CMakeLists.txt | 25 +++++ tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt | 25 +++++ .../qml/js/qjsvalueiterator/CMakeLists.txt | 18 +++ .../qml/librarymetrics_performance/CMakeLists.txt | 36 ++++++ tests/benchmarks/qml/painting/CMakeLists.txt | 22 ++++ tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt | 30 +++++ tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt | 28 +++++ .../benchmarks/qml/qqmlmetaproperty/CMakeLists.txt | 27 +++++ tests/benchmarks/qml/qquickwindow/CMakeLists.txt | 37 ++++++ tests/benchmarks/qml/script/CMakeLists.txt | 34 ++++++ tests/benchmarks/qml/typeimports/CMakeLists.txt | 27 +++++ tests/benchmarks/quick/CMakeLists.txt | 3 + tests/benchmarks/quick/events/CMakeLists.txt | 49 ++++++++ tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt | 16 +++ tests/manual/highdpi/CMakeLists.txt | 24 ++++ tests/manual/httpserver/CMakeLists.txt | 19 ++++ tests/manual/mousearea/CMakeLists.txt | 79 +++++++++++++ tests/manual/nodetypes/CMakeLists.txt | 43 +++++++ tests/manual/nodetypes_ng/CMakeLists.txt | 60 ++++++++++ tests/manual/pointer/CMakeLists.txt | 124 ++++++++++++++++++++ tests/manual/qmltypememory/CMakeLists.txt | 20 ++++ .../manual/qmltypememory/TestPlugin/CMakeLists.txt | 18 +++ tests/manual/quickwidgetviewer/CMakeLists.txt | 17 +++ tests/manual/scalablepath/CMakeLists.txt | 29 +++++ tests/manual/scenegraph_lancelot/CMakeLists.txt | 4 + .../scenegrabber/CMakeLists.txt | 23 ++++ .../scenegraph_lancelot/scenegraph/CMakeLists.txt | 36 ++++++ tests/manual/shapestest/CMakeLists.txt | 28 +++++ tests/manual/tableview/CMakeLists.txt | 5 + .../tableview/abstracttablemodel/CMakeLists.txt | 40 +++++++ tests/manual/tableview/listmodel/CMakeLists.txt | 39 +++++++ tests/manual/tableview/storagemodel/CMakeLists.txt | 40 +++++++ tests/manual/tableview/tablemodel/CMakeLists.txt | 3 + .../tableview/tablemodel/form/CMakeLists.txt | 40 +++++++ .../tableview/tablemodel/json/CMakeLists.txt | 40 +++++++ tests/manual/text/CMakeLists.txt | 80 +++++++++++++ tests/manual/touch/CMakeLists.txt | 80 +++++++++++++ tests/manual/v4/auto/CMakeLists.txt | 3 + .../v4/auto/executableallocator/CMakeLists.txt | 19 ++++ 364 files changed, 13886 insertions(+), 73 deletions(-) create mode 100644 tests/.prev_CMakeLists.txt create mode 100644 tests/auto/particles/CMakeLists.txt create mode 100644 tests/auto/particles/qquickage/CMakeLists.txt create mode 100644 tests/auto/particles/qquickangleddirection/CMakeLists.txt create mode 100644 tests/auto/particles/qquickcumulativedirection/CMakeLists.txt create mode 100644 tests/auto/particles/qquickcustomaffector/CMakeLists.txt create mode 100644 tests/auto/particles/qquickcustomparticle/CMakeLists.txt create mode 100644 tests/auto/particles/qquickellipseextruder/CMakeLists.txt create mode 100644 tests/auto/particles/qquickfriction/CMakeLists.txt create mode 100644 tests/auto/particles/qquickgravity/CMakeLists.txt create mode 100644 tests/auto/particles/qquickgroupgoal/CMakeLists.txt create mode 100644 tests/auto/particles/qquickimageparticle/CMakeLists.txt create mode 100644 tests/auto/particles/qquickitemparticle/CMakeLists.txt create mode 100644 tests/auto/particles/qquicklineextruder/CMakeLists.txt create mode 100644 tests/auto/particles/qquickmaskextruder/CMakeLists.txt create mode 100644 tests/auto/particles/qquickparticlegroup/CMakeLists.txt create mode 100644 tests/auto/particles/qquickparticlesystem/CMakeLists.txt create mode 100644 tests/auto/particles/qquickpointattractor/CMakeLists.txt create mode 100644 tests/auto/particles/qquickpointdirection/CMakeLists.txt create mode 100644 tests/auto/particles/qquickrectangleextruder/CMakeLists.txt create mode 100644 tests/auto/particles/qquickspritegoal/CMakeLists.txt create mode 100644 tests/auto/particles/qquicktargetdirection/CMakeLists.txt create mode 100644 tests/auto/particles/qquicktrailemitter/CMakeLists.txt create mode 100644 tests/auto/particles/qquickturbulence/CMakeLists.txt create mode 100644 tests/auto/particles/qquickwander/CMakeLists.txt create mode 100644 tests/auto/qml/animation/CMakeLists.txt create mode 100644 tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt create mode 100644 tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt create mode 100644 tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt create mode 100644 tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt create mode 100644 tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt create mode 100644 tests/auto/qml/bindingdependencyapi/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qv4debugger/CMakeLists.txt create mode 100644 tests/auto/qml/ecmascripttests/CMakeLists.txt create mode 100644 tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt create mode 100644 tests/auto/qml/parserstress/CMakeLists.txt create mode 100644 tests/auto/qml/qjsengine/CMakeLists.txt create mode 100644 tests/auto/qml/qjsvalue/CMakeLists.txt create mode 100644 tests/auto/qml/qmlcachegen/CMakeLists.txt create mode 100644 tests/auto/qml/qmldiskcache/CMakeLists.txt create mode 100644 tests/auto/qml/qmllint/CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlapplicationengine/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlbinding/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlchangeset/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlcomponent/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlconnections/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlconsole/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlcontext/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlcpputils/CMakeLists.txt create mode 100644 tests/auto/qml/qqmldirparser/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlecmascript/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlengine/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlenginecleanup/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlerror/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlexpression/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlextensionplugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlglobal/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlimport/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlincubator/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlinfo/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlinstantiator/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlitemmodels/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllanguage/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllistcompositor/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllistmodel/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllistreference/CMakeLists.txt create mode 100644 tests/auto/qml/qqmllocale/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmetaobject/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmetatype/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlnotifier/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlobjectmodel/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlparser/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlpromise/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlproperty/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlpropertycache/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlpropertymap/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlqt/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlsettings/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlsqldatabase/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlstatemachine/CMakeLists.txt create mode 100644 tests/auto/qml/qqmltablemodel/CMakeLists.txt create mode 100644 tests/auto/qml/qqmltimer/CMakeLists.txt create mode 100644 tests/auto/qml/qqmltranslation/CMakeLists.txt create mode 100644 tests/auto/qml/qqmltypeloader/CMakeLists.txt create mode 100644 tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlvaluetypes/CMakeLists.txt create mode 100644 tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt create mode 100644 tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt create mode 100644 tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt create mode 100644 tests/auto/qml/qquickworkerscript/CMakeLists.txt create mode 100644 tests/auto/qml/qrcqml/CMakeLists.txt create mode 100644 tests/auto/qml/qtqmlmodules/CMakeLists.txt create mode 100644 tests/auto/qml/qv4assembler/CMakeLists.txt create mode 100644 tests/auto/qml/qv4identifiertable/CMakeLists.txt create mode 100644 tests/auto/qml/qv4mm/CMakeLists.txt create mode 100644 tests/auto/qml/qv4regexp/CMakeLists.txt create mode 100644 tests/auto/qml/qwidgetsinqml/CMakeLists.txt create mode 100644 tests/auto/qml/v4misc/CMakeLists.txt create mode 100644 tests/auto/qmldevtools/CMakeLists.txt create mode 100644 tests/auto/qmldevtools/compile/CMakeLists.txt create mode 100644 tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt create mode 100644 tests/auto/qmltest/CMakeLists.txt create mode 100644 tests/auto/qmltest/animatedimage/CMakeLists.txt create mode 100644 tests/auto/qmltest/animations/CMakeLists.txt create mode 100644 tests/auto/qmltest/borderimage/CMakeLists.txt create mode 100644 tests/auto/qmltest/buttonclick/CMakeLists.txt create mode 100644 tests/auto/qmltest/createbenchmark/CMakeLists.txt create mode 100644 tests/auto/qmltest/events/CMakeLists.txt create mode 100644 tests/auto/qmltest/fontloader/CMakeLists.txt create mode 100644 tests/auto/qmltest/gradient/CMakeLists.txt create mode 100644 tests/auto/qmltest/image/CMakeLists.txt create mode 100644 tests/auto/qmltest/itemgrabber/CMakeLists.txt create mode 100644 tests/auto/qmltest/layout/CMakeLists.txt create mode 100644 tests/auto/qmltest/listmodel/CMakeLists.txt create mode 100644 tests/auto/qmltest/listview/CMakeLists.txt create mode 100644 tests/auto/qmltest/objectmodel/CMakeLists.txt create mode 100644 tests/auto/qmltest/pathview/CMakeLists.txt create mode 100644 tests/auto/qmltest/pixel/CMakeLists.txt create mode 100644 tests/auto/qmltest/positioners/CMakeLists.txt create mode 100644 tests/auto/qmltest/qqmlbinding/CMakeLists.txt create mode 100644 tests/auto/qmltest/qtbug46798/CMakeLists.txt create mode 100644 tests/auto/qmltest/rectangle/CMakeLists.txt create mode 100644 tests/auto/qmltest/selftests/CMakeLists.txt create mode 100644 tests/auto/qmltest/shadersource/CMakeLists.txt create mode 100644 tests/auto/qmltest/stability/CMakeLists.txt create mode 100644 tests/auto/qmltest/statemachine/CMakeLists.txt create mode 100644 tests/auto/qmltest/text/CMakeLists.txt create mode 100644 tests/auto/qmltest/textedit/CMakeLists.txt create mode 100644 tests/auto/qmltest/textinput/CMakeLists.txt create mode 100644 tests/auto/qmltest/window/CMakeLists.txt create mode 100644 tests/auto/quick/CMakeLists.txt create mode 100644 tests/auto/quick/drawingmodes/CMakeLists.txt create mode 100644 tests/auto/quick/examples/CMakeLists.txt create mode 100644 tests/auto/quick/geometry/CMakeLists.txt create mode 100644 tests/auto/quick/nodes/CMakeLists.txt create mode 100644 tests/auto/quick/nokeywords/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt create mode 100644 tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt create mode 100644 tests/auto/quick/propertyrequirements/CMakeLists.txt create mode 100644 tests/auto/quick/qquickaccessible/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanchors/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanimatedimage/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanimatedsprite/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanimationcontroller/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanimations/CMakeLists.txt create mode 100644 tests/auto/quick/qquickanimators/CMakeLists.txt create mode 100644 tests/auto/quick/qquickapplication/CMakeLists.txt create mode 100644 tests/auto/quick/qquickbehaviors/CMakeLists.txt create mode 100644 tests/auto/quick/qquickborderimage/CMakeLists.txt create mode 100644 tests/auto/quick/qquickboundaryrule/CMakeLists.txt create mode 100644 tests/auto/quick/qquickcanvasitem/CMakeLists.txt create mode 100644 tests/auto/quick/qquickdesignersupport/CMakeLists.txt create mode 100644 tests/auto/quick/qquickdrag/CMakeLists.txt create mode 100644 tests/auto/quick/qquickdroparea/CMakeLists.txt create mode 100644 tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt create mode 100644 tests/auto/quick/qquickflickable/CMakeLists.txt create mode 100644 tests/auto/quick/qquickflipable/CMakeLists.txt create mode 100644 tests/auto/quick/qquickfocusscope/CMakeLists.txt create mode 100644 tests/auto/quick/qquickfontloader/CMakeLists.txt create mode 100644 tests/auto/quick/qquickfontloader_static/CMakeLists.txt create mode 100644 tests/auto/quick/qquickfontmetrics/CMakeLists.txt create mode 100644 tests/auto/quick/qquickframebufferobject/CMakeLists.txt create mode 100644 tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt create mode 100644 tests/auto/quick/qquickgridview/CMakeLists.txt create mode 100644 tests/auto/quick/qquickimage/CMakeLists.txt create mode 100644 tests/auto/quick/qquickimageprovider/CMakeLists.txt create mode 100644 tests/auto/quick/qquickitem/CMakeLists.txt create mode 100644 tests/auto/quick/qquickitem2/CMakeLists.txt create mode 100644 tests/auto/quick/qquickitemlayer/CMakeLists.txt create mode 100644 tests/auto/quick/qquicklayouts/CMakeLists.txt create mode 100644 tests/auto/quick/qquicklistview/CMakeLists.txt create mode 100644 tests/auto/quick/qquickloader/CMakeLists.txt create mode 100644 tests/auto/quick/qquickmousearea/CMakeLists.txt create mode 100644 tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt create mode 100644 tests/auto/quick/qquickopenglinfo/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpainteditem/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpath/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpathview/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpincharea/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpixmapcache/CMakeLists.txt create mode 100644 tests/auto/quick/qquickpositioners/CMakeLists.txt create mode 100644 tests/auto/quick/qquickrectangle/CMakeLists.txt create mode 100644 tests/auto/quick/qquickrepeater/CMakeLists.txt create mode 100644 tests/auto/quick/qquickscreen/CMakeLists.txt create mode 100644 tests/auto/quick/qquickshadereffect/CMakeLists.txt create mode 100644 tests/auto/quick/qquickshape/CMakeLists.txt create mode 100644 tests/auto/quick/qquickshortcut/CMakeLists.txt create mode 100644 tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt create mode 100644 tests/auto/quick/qquickspringanimation/CMakeLists.txt create mode 100644 tests/auto/quick/qquickspritesequence/CMakeLists.txt create mode 100644 tests/auto/quick/qquickstates/CMakeLists.txt create mode 100644 tests/auto/quick/qquickstyledtext/CMakeLists.txt create mode 100644 tests/auto/quick/qquicksystempalette/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktableview/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktext/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktextdocument/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktextedit/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktextinput/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktextmetrics/CMakeLists.txt create mode 100644 tests/auto/quick/qquicktimeline/CMakeLists.txt create mode 100644 tests/auto/quick/qquickview/CMakeLists.txt create mode 100644 tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt create mode 100644 tests/auto/quick/qquickwindow/CMakeLists.txt create mode 100644 tests/auto/quick/rendernode/CMakeLists.txt create mode 100644 tests/auto/quick/scenegraph/CMakeLists.txt create mode 100644 tests/auto/quick/sharedimage/CMakeLists.txt create mode 100644 tests/auto/quick/touchmouse/CMakeLists.txt create mode 100644 tests/auto/quicktest/CMakeLists.txt create mode 100644 tests/auto/quicktest/polish-qml/CMakeLists.txt create mode 100644 tests/auto/quicktest/polish/CMakeLists.txt create mode 100644 tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt create mode 100644 tests/auto/quicktest/signalspy/CMakeLists.txt create mode 100644 tests/auto/quicktest/testfiltering/CMakeLists.txt create mode 100644 tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt create mode 100644 tests/auto/quicktest/testfiltering/test/CMakeLists.txt create mode 100644 tests/auto/quickwidgets/CMakeLists.txt create mode 100644 tests/auto/quickwidgets/qquickwidget/CMakeLists.txt create mode 100644 tests/auto/toolsupport/CMakeLists.txt create mode 100644 tests/benchmarks/CMakeLists.txt create mode 100644 tests/benchmarks/particles/CMakeLists.txt create mode 100644 tests/benchmarks/particles/affectors/CMakeLists.txt create mode 100644 tests/benchmarks/particles/emission/CMakeLists.txt create mode 100644 tests/benchmarks/qml/CMakeLists.txt create mode 100644 tests/benchmarks/qml/animation/CMakeLists.txt create mode 100644 tests/benchmarks/qml/binding/CMakeLists.txt create mode 100644 tests/benchmarks/qml/compilation/CMakeLists.txt create mode 100644 tests/benchmarks/qml/creation/CMakeLists.txt create mode 100644 tests/benchmarks/qml/holistic/CMakeLists.txt create mode 100644 tests/benchmarks/qml/javascript/CMakeLists.txt create mode 100644 tests/benchmarks/qml/js/CMakeLists.txt create mode 100644 tests/benchmarks/qml/js/qjsengine/CMakeLists.txt create mode 100644 tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt create mode 100644 tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt create mode 100644 tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt create mode 100644 tests/benchmarks/qml/painting/CMakeLists.txt create mode 100644 tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt create mode 100644 tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt create mode 100644 tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt create mode 100644 tests/benchmarks/qml/qquickwindow/CMakeLists.txt create mode 100644 tests/benchmarks/qml/script/CMakeLists.txt create mode 100644 tests/benchmarks/qml/typeimports/CMakeLists.txt create mode 100644 tests/benchmarks/quick/CMakeLists.txt create mode 100644 tests/benchmarks/quick/events/CMakeLists.txt create mode 100644 tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt create mode 100644 tests/manual/highdpi/CMakeLists.txt create mode 100644 tests/manual/httpserver/CMakeLists.txt create mode 100644 tests/manual/mousearea/CMakeLists.txt create mode 100644 tests/manual/nodetypes/CMakeLists.txt create mode 100644 tests/manual/nodetypes_ng/CMakeLists.txt create mode 100644 tests/manual/pointer/CMakeLists.txt create mode 100644 tests/manual/qmltypememory/CMakeLists.txt create mode 100644 tests/manual/qmltypememory/TestPlugin/CMakeLists.txt create mode 100644 tests/manual/quickwidgetviewer/CMakeLists.txt create mode 100644 tests/manual/scalablepath/CMakeLists.txt create mode 100644 tests/manual/scenegraph_lancelot/CMakeLists.txt create mode 100644 tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt create mode 100644 tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt create mode 100644 tests/manual/shapestest/CMakeLists.txt create mode 100644 tests/manual/tableview/CMakeLists.txt create mode 100644 tests/manual/tableview/abstracttablemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/listmodel/CMakeLists.txt create mode 100644 tests/manual/tableview/storagemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/form/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/json/CMakeLists.txt create mode 100644 tests/manual/text/CMakeLists.txt create mode 100644 tests/manual/touch/CMakeLists.txt create mode 100644 tests/manual/v4/auto/CMakeLists.txt create mode 100644 tests/manual/v4/auto/executableallocator/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index c29104fb0a..b64790c9f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,4 +8,5 @@ project(QtDeclarative ) find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network) +find_package(Qt6 ${PROJECT_VERSION} CONFIG COMPONENTS Sql) qt_build_repo() diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt new file mode 100644 index 0000000000..c134c8d454 --- /dev/null +++ b/tests/.prev_CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from tests.pro. + +add_subdirectory(auto) +if(QT_CONFIG___contains___release) + add_subdirectory(benchmarks) +endif() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ebb34d2d18..33a89765dd 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,13 @@ # Generated from tests.pro. -add_subdirectory(auto) +# special case begin +find_package(Qt6 REQUIRED Concurrent) +# special case end -if(QT_CONFIG___contains___release) - add_subdirectory(benchmarks) -endif() +add_subdirectory(auto) +# special case begin +# benchmarks not yet ported +# if(QT_CONFIG___contains___release) +# add_subdirectory(benchmarks) +# endif() +# special case end diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index fb2147b472..329cd303be 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -1,22 +1,18 @@ # Generated from auto.pro. add_subdirectory(qml) -#add_subdirectory(quick) -#add_subdirectory(quicktest) -#add_subdirectory(qmltest) -#add_subdirectory(qmldevtools) -#add_subdirectory(cmake) -#add_subdirectory(installed_cmake) -#add_subdirectory(toolsupport) - -#if(TARGET Qt::Gui AND qtConfig(opengl(es1 OR es2)?)) -# add_subdirectory(particles) -# -# if(TARGET Qt::Widgets) -# add_subdirectory(quickwidgets) -# endif() -#endif() - -#if(APPLE_UIKIT) - ### remove_subdirectory("qmltest") -#endif() +add_subdirectory(quick) +add_subdirectory(quicktest) +add_subdirectory(qmldevtools) +add_subdirectory(cmake) +add_subdirectory(installed_cmake) +add_subdirectory(toolsupport) +if(NOT APPLE_UIKIT) + add_subdirectory(qmltest) +endif() +if(QT_FEATURE_opengles2 OR QT_FEATURE_opengles3 OR (QT_FEATURE_opengl AND TARGET Qt::Gui)) + add_subdirectory(particles) +endif() +if(QT_FEATURE_opengles2 OR (QT_FEATURE_opengl AND TARGET Qt::Gui) OR (QT_FEATURE_opengles3 AND TARGET Qt::Widgets)) + add_subdirectory(quickwidgets) +endif() diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index f304a99705..c61105418f 100644 --- a/tests/auto/cmake/CMakeLists.txt +++ b/tests/auto/cmake/CMakeLists.txt @@ -1,4 +1,5 @@ - +# Generated from cmake.pro. +# special case begin cmake_minimum_required(VERSION 2.8) project(qmake_cmake_files) @@ -26,4 +27,7 @@ add_test(qtquickcompiler ${CMAKE_CTEST_COMMAND} --build-project qqc_test --build-options "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ${BUILD_OPTIONS_LIST} --test-command qqc_test + ) + +# special case end diff --git a/tests/auto/particles/CMakeLists.txt b/tests/auto/particles/CMakeLists.txt new file mode 100644 index 0000000000..b712210c0a --- /dev/null +++ b/tests/auto/particles/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from particles.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(qquickage) + add_subdirectory(qquickangleddirection) + add_subdirectory(qquickcumulativedirection) + add_subdirectory(qquickcustomaffector) + add_subdirectory(qquickcustomparticle) + add_subdirectory(qquickellipseextruder) + add_subdirectory(qquickgroupgoal) + add_subdirectory(qquickfriction) + add_subdirectory(qquickgravity) + add_subdirectory(qquickimageparticle) + add_subdirectory(qquickitemparticle) + add_subdirectory(qquicklineextruder) + add_subdirectory(qquickmaskextruder) + add_subdirectory(qquickparticlegroup) + add_subdirectory(qquickparticlesystem) + add_subdirectory(qquickpointattractor) + add_subdirectory(qquickpointdirection) + add_subdirectory(qquickrectangleextruder) + add_subdirectory(qquickspritegoal) + add_subdirectory(qquicktargetdirection) + add_subdirectory(qquicktrailemitter) + add_subdirectory(qquickturbulence) + add_subdirectory(qquickwander) +endif() diff --git a/tests/auto/particles/qquickage/CMakeLists.txt b/tests/auto/particles/qquickage/CMakeLists.txt new file mode 100644 index 0000000000..cceeab2f82 --- /dev/null +++ b/tests/auto/particles/qquickage/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickage.pro. + +##################################################################### +## tst_qquickage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickage + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickage.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickage.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickangleddirection/CMakeLists.txt b/tests/auto/particles/qquickangleddirection/CMakeLists.txt new file mode 100644 index 0000000000..76c7edb765 --- /dev/null +++ b/tests/auto/particles/qquickangleddirection/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickangleddirection.pro. + +##################################################################### +## tst_qquickangleddirection Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickangleddirection + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickangleddirection.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickangleddirection.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickangleddirection.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickangleddirection CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickangleddirection CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt new file mode 100644 index 0000000000..c5fcf48c42 --- /dev/null +++ b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickcumulativedirection.pro. + +##################################################################### +## tst_qquickcumulativedirection Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickcumulativedirection + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickcumulativedirection.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickcumulativedirection.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickcumulativedirection.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickcumulativedirection CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickcumulativedirection CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickcustomaffector/CMakeLists.txt b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt new file mode 100644 index 0000000000..9a36a03a67 --- /dev/null +++ b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickcustomaffector.pro. + +##################################################################### +## tst_qquickcustomaffector Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickcustomaffector + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickcustomaffector.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickcustomaffector.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickcustomaffector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickcustomaffector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickcustomaffector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickcustomparticle/CMakeLists.txt b/tests/auto/particles/qquickcustomparticle/CMakeLists.txt new file mode 100644 index 0000000000..c63b52027a --- /dev/null +++ b/tests/auto/particles/qquickcustomparticle/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickcustomparticle.pro. + +##################################################################### +## tst_qquickcustomparticle Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickcustomparticle + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickcustomparticle.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickcustomparticle.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickcustomparticle.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickcustomparticle CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickcustomparticle CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickellipseextruder/CMakeLists.txt b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt new file mode 100644 index 0000000000..2fcbc03d50 --- /dev/null +++ b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickellipseextruder.pro. + +##################################################################### +## tst_qquickellipseextruder Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickellipseextruder + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickellipseextruder.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickellipseextruder.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickellipseextruder.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickellipseextruder CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickellipseextruder CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickfriction/CMakeLists.txt b/tests/auto/particles/qquickfriction/CMakeLists.txt new file mode 100644 index 0000000000..e495b693a4 --- /dev/null +++ b/tests/auto/particles/qquickfriction/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickfriction.pro. + +##################################################################### +## tst_qquickfriction Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfriction + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfriction.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickfriction.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfriction.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfriction CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfriction CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickgravity/CMakeLists.txt b/tests/auto/particles/qquickgravity/CMakeLists.txt new file mode 100644 index 0000000000..4ddde296ba --- /dev/null +++ b/tests/auto/particles/qquickgravity/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickgravity.pro. + +##################################################################### +## tst_qquickgravity Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickgravity + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickgravity.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickgravity.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickgravity.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickgravity CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickgravity CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickgroupgoal/CMakeLists.txt b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt new file mode 100644 index 0000000000..52a2b4bb3f --- /dev/null +++ b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickgroupgoal.pro. + +##################################################################### +## tst_qquickgroupgoal Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickgroupgoal + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickgroupgoal.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickgroupgoal.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickgroupgoal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickgroupgoal CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickgroupgoal CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickimageparticle/CMakeLists.txt b/tests/auto/particles/qquickimageparticle/CMakeLists.txt new file mode 100644 index 0000000000..505e42bc03 --- /dev/null +++ b/tests/auto/particles/qquickimageparticle/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickimageparticle.pro. + +##################################################################### +## tst_qquickimageparticle Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickimageparticle + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickimageparticle.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickimageparticle.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickimageparticle.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickimageparticle CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickimageparticle CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickitemparticle/CMakeLists.txt b/tests/auto/particles/qquickitemparticle/CMakeLists.txt new file mode 100644 index 0000000000..200950e251 --- /dev/null +++ b/tests/auto/particles/qquickitemparticle/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickitemparticle.pro. + +##################################################################### +## tst_qquickitemparticle Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickitemparticle + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickitemparticle.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickitemparticle.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickitemparticle.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickitemparticle CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickitemparticle CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquicklineextruder/CMakeLists.txt b/tests/auto/particles/qquicklineextruder/CMakeLists.txt new file mode 100644 index 0000000000..eb99095029 --- /dev/null +++ b/tests/auto/particles/qquicklineextruder/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquicklineextruder.pro. + +##################################################################### +## tst_qquicklineextruder Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicklineextruder + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquicklineextruder.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicklineextruder.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicklineextruder.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicklineextruder CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicklineextruder CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickmaskextruder/CMakeLists.txt b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt new file mode 100644 index 0000000000..fd27aba91c --- /dev/null +++ b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickmaskextruder.pro. + +##################################################################### +## tst_qquickmaskextruder Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickmaskextruder + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickmaskextruder.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickmaskextruder.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickmaskextruder.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickmaskextruder CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickmaskextruder CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickparticlegroup/CMakeLists.txt b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt new file mode 100644 index 0000000000..f881057601 --- /dev/null +++ b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickparticlegroup.pro. + +##################################################################### +## tst_qquickparticlegroup Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickparticlegroup + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickparticlegroup.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickparticlegroup.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickparticlegroup.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickparticlegroup CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickparticlegroup CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickparticlesystem/CMakeLists.txt b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt new file mode 100644 index 0000000000..e13047ad1d --- /dev/null +++ b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickparticlesystem.pro. + +##################################################################### +## tst_qquickparticlesystem Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickparticlesystem + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickparticlesystem.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickparticlesystem.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickparticlesystem.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickparticlesystem CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickparticlesystem CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickpointattractor/CMakeLists.txt b/tests/auto/particles/qquickpointattractor/CMakeLists.txt new file mode 100644 index 0000000000..0093811ab0 --- /dev/null +++ b/tests/auto/particles/qquickpointattractor/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickpointattractor.pro. + +##################################################################### +## tst_qquickpointattractor Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpointattractor + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickpointattractor.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpointattractor.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpointattractor.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpointattractor CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpointattractor CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickpointdirection/CMakeLists.txt b/tests/auto/particles/qquickpointdirection/CMakeLists.txt new file mode 100644 index 0000000000..c5b8489f20 --- /dev/null +++ b/tests/auto/particles/qquickpointdirection/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickpointdirection.pro. + +##################################################################### +## tst_qquickpointdirection Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpointdirection + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickpointdirection.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpointdirection.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpointdirection.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpointdirection CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpointdirection CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt new file mode 100644 index 0000000000..0375792ac1 --- /dev/null +++ b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickrectangleextruder.pro. + +##################################################################### +## tst_qquickrectangleextruder Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickrectangleextruder + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickrectangleextruder.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickrectangleextruder.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickrectangleextruder.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickrectangleextruder CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickrectangleextruder CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickspritegoal/CMakeLists.txt b/tests/auto/particles/qquickspritegoal/CMakeLists.txt new file mode 100644 index 0000000000..e92e736257 --- /dev/null +++ b/tests/auto/particles/qquickspritegoal/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickspritegoal.pro. + +##################################################################### +## tst_qquickspritegoal Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickspritegoal + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickspritegoal.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickspritegoal.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickspritegoal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickspritegoal CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickspritegoal CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquicktargetdirection/CMakeLists.txt b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt new file mode 100644 index 0000000000..af2e47f52c --- /dev/null +++ b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquicktargetdirection.pro. + +##################################################################### +## tst_qquicktargetdirection Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktargetdirection + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquicktargetdirection.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktargetdirection.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktargetdirection.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktargetdirection CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktargetdirection CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquicktrailemitter/CMakeLists.txt b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt new file mode 100644 index 0000000000..f305ba5179 --- /dev/null +++ b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquicktrailemitter.pro. + +##################################################################### +## tst_qquicktrailemitter Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktrailemitter + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquicktrailemitter.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktrailemitter.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktrailemitter.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktrailemitter CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktrailemitter CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickturbulence/CMakeLists.txt b/tests/auto/particles/qquickturbulence/CMakeLists.txt new file mode 100644 index 0000000000..67151dbc55 --- /dev/null +++ b/tests/auto/particles/qquickturbulence/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickturbulence.pro. + +##################################################################### +## tst_qquickturbulence Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickturbulence + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickturbulence.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickturbulence.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickturbulence.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickturbulence CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickturbulence CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/particles/qquickwander/CMakeLists.txt b/tests/auto/particles/qquickwander/CMakeLists.txt new file mode 100644 index 0000000000..412ae65872 --- /dev/null +++ b/tests/auto/particles/qquickwander/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickwander.pro. + +##################################################################### +## tst_qquickwander Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickwander + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickwander.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickParticlesPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickParticles + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickwander.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwander.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickwander CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickwander CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt index 5c5b0b9fcf..3237749513 100644 --- a/tests/auto/qml/CMakeLists.txt +++ b/tests/auto/qml/CMakeLists.txt @@ -1,51 +1,88 @@ # Generated from qml.pro. -#add_subdirectory(parserstress) +add_subdirectory(parserstress) add_subdirectory(qjsvalueiterator) add_subdirectory(qjsonbinding) add_subdirectory(qqmlfile) add_subdirectory(qqmlfileselector) add_subdirectory(qmlmin) -#add_subdirectory(qqmlcomponent) -#add_subdirectory(qqmlconsole) -#add_subdirectory(qqmlengine) -#add_subdirectory(qqmlerror) -#add_subdirectory(qqmlincubator) -#add_subdirectory(qqmlinfo) -#add_subdirectory(qqmllistreference) -#add_subdirectory(qqmllocale) -#add_subdirectory(qqmlmetaobject) -#add_subdirectory(qqmlmoduleplugin) -#add_subdirectory(qqmlnotifier) -#add_subdirectory(qqmlqt) -#add_subdirectory(qqmlxmlhttprequest) -#add_subdirectory(qqmlpromise) -#add_subdirectory(qtqmlmodules) -#add_subdirectory(qquickfolderlistmodel) -#add_subdirectory(qqmlapplicationengine) -#add_subdirectory(qqmlsettings) -#add_subdirectory(qqmlstatemachine) -#add_subdirectory(qmldiskcache) -#add_subdirectory(qqmlmetatype) - -#if(TARGET Qt::Widgets) -#endif() - -#if(QT_FEATURE_process) - - #if(QT_FEATURE_qml_debug) - #add_subdirectory(debugger) - #endif() - - #if(NOT boot2qt) - #add_subdirectory(qmllint) - #add_subdirectory(qmlplugindump) - #endif() -#endif() - -#if(QT_FEATURE_library) - #add_subdirectory(qqmlextensionplugin) -#endif() - -#if(QT_FEATURE_private_tests) -#endif() +add_subdirectory(qqmlcomponent) +add_subdirectory(qqmlconsole) +add_subdirectory(qqmlengine) +add_subdirectory(qqmlerror) +add_subdirectory(qqmlincubator) +add_subdirectory(qqmlinfo) +add_subdirectory(qqmllistreference) +add_subdirectory(qqmllocale) +add_subdirectory(qqmlmetaobject) +add_subdirectory(qqmlmoduleplugin) +add_subdirectory(qqmlnotifier) +add_subdirectory(qqmlqt) +add_subdirectory(qqmlxmlhttprequest) +add_subdirectory(qqmlpromise) +add_subdirectory(qtqmlmodules) +add_subdirectory(qquickfolderlistmodel) +add_subdirectory(qqmlapplicationengine) +add_subdirectory(qqmlsettings) +add_subdirectory(qqmlstatemachine) +add_subdirectory(qmldiskcache) +add_subdirectory(qqmlmetatype) +if(QT_FEATURE_process AND QT_FEATURE_qml_debug) + add_subdirectory(debugger) +endif() +if(QT_FEATURE_process AND NOT boot2qt) + add_subdirectory(qmllint) + add_subdirectory(qmlplugindump) +endif() +if(QT_FEATURE_library) + add_subdirectory(qqmlextensionplugin) +endif() +if(QT_FEATURE_private_tests) + add_subdirectory(qqmlcpputils) + add_subdirectory(qqmldirparser) + add_subdirectory(qmlcachegen) + add_subdirectory(animation) + add_subdirectory(qqmlecmascript) + add_subdirectory(qqmlcontext) + add_subdirectory(qqmlexpression) + add_subdirectory(qqmlglobal) + add_subdirectory(qqmllanguage) + add_subdirectory(qqmlopenmetaobject) + add_subdirectory(qqmlproperty) + add_subdirectory(qqmlpropertycache) + add_subdirectory(qqmlpropertymap) +# special case begin + if (TARGET Qt::Sql) +# special case end + add_subdirectory(qqmlsqldatabase) +# special case begin + endif() +# special case end + add_subdirectory(qqmlvaluetypes) + add_subdirectory(qqmlvaluetypeproviders) + add_subdirectory(qqmlbinding) + add_subdirectory(qqmlchangeset) + add_subdirectory(qqmlconnections) + add_subdirectory(qqmllistcompositor) + add_subdirectory(qqmllistmodel) + add_subdirectory(qqmllistmodelworkerscript) + add_subdirectory(qqmlitemmodels) + add_subdirectory(qqmltypeloader) + add_subdirectory(qqmlparser) + add_subdirectory(qquickworkerscript) + add_subdirectory(qrcqml) + add_subdirectory(qqmltimer) + add_subdirectory(qqmlinstantiator) + add_subdirectory(qqmlenginecleanup) + add_subdirectory(qqmltranslation) + add_subdirectory(qqmlimport) + add_subdirectory(qqmlobjectmodel) + add_subdirectory(qqmltablemodel) + add_subdirectory(qv4assembler) + add_subdirectory(qv4mm) + add_subdirectory(qv4identifiertable) + add_subdirectory(qv4regexp) + add_subdirectory(ecmascripttests) + add_subdirectory(bindingdependencyapi) + add_subdirectory(v4misc) +endif() diff --git a/tests/auto/qml/animation/CMakeLists.txt b/tests/auto/qml/animation/CMakeLists.txt new file mode 100644 index 0000000000..7337777b9c --- /dev/null +++ b/tests/auto/qml/animation/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from animation.pro. + +add_subdirectory(qabstractanimationjob) +add_subdirectory(qanimationgroupjob) +add_subdirectory(qparallelanimationgroupjob) +add_subdirectory(qpauseanimationjob) +add_subdirectory(qsequentialanimationgroupjob) diff --git a/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt new file mode 100644 index 0000000000..4209ef7540 --- /dev/null +++ b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qabstractanimationjob.pro. + +##################################################################### +## tst_qabstractanimationjob Test: +##################################################################### + +add_qt_test(tst_qabstractanimationjob + GUI + SOURCES + tst_qabstractanimationjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qabstractanimationjob.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qabstractanimationjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..a5f88c0e5f --- /dev/null +++ b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qanimationgroupjob.pro. + +##################################################################### +## tst_qanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qanimationgroupjob + GUI + SOURCES + tst_qanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qanimationgroupjob.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..c1e654f315 --- /dev/null +++ b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qparallelanimationgroupjob.pro. + +##################################################################### +## tst_qparallelanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qparallelanimationgroupjob + GUI + SOURCES + tst_qparallelanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qparallelanimationgroupjob.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qparallelanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt new file mode 100644 index 0000000000..d8a35a3507 --- /dev/null +++ b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qpauseanimationjob.pro. + +##################################################################### +## tst_qpauseanimationjob Test: +##################################################################### + +add_qt_test(tst_qpauseanimationjob + GUI + SOURCES + tst_qpauseanimationjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qpauseanimationjob.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qpauseanimationjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt new file mode 100644 index 0000000000..435aac31eb --- /dev/null +++ b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qsequentialanimationgroupjob.pro. + +##################################################################### +## tst_qsequentialanimationgroupjob Test: +##################################################################### + +add_qt_test(tst_qsequentialanimationgroupjob + GUI + SOURCES + tst_qsequentialanimationgroupjob.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qsequentialanimationgroupjob.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qsequentialanimationgroupjob.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt new file mode 100644 index 0000000000..c248969091 --- /dev/null +++ b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from bindingdependencyapi.pro. + +##################################################################### +## tst_bindingdependencyapi Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_bindingdependencyapi + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_bindingdependencyapi.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:bindingdependencyapi.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:bindingdependencyapi.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_bindingdependencyapi CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_bindingdependencyapi CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/CMakeLists.txt b/tests/auto/qml/debugger/CMakeLists.txt new file mode 100644 index 0000000000..7c0bd2e1cb --- /dev/null +++ b/tests/auto/qml/debugger/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from debugger.pro. + +add_subdirectory(qqmldebugjsserver) +add_subdirectory(qdebugmessageservice) +add_subdirectory(qqmlenginedebugservice) +add_subdirectory(qqmldebugjs) +add_subdirectory(qqmlinspector) +add_subdirectory(qqmlprofilerservice) +add_subdirectory(qpacketprotocol) +add_subdirectory(qqmlenginedebuginspectorintegrationtest) +add_subdirectory(qqmlenginecontrol) +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmlnativeconnector) +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmlpreview) +if(QT_FEATURE_private_tests) + add_subdirectory(qqmldebugclient) + add_subdirectory(qqmldebuglocal) + add_subdirectory(qqmldebugservice) + add_subdirectory(qv4debugger) +endif() diff --git a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt new file mode 100644 index 0000000000..26b9635206 --- /dev/null +++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qdebugmessageservice.pro. + +##################################################################### +## tst_qdebugmessageservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qdebugmessageservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qdebugmessageservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qdebugmessageservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qdebugmessageservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qdebugmessageservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qdebugmessageservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt new file mode 100644 index 0000000000..08f8ae3694 --- /dev/null +++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qpacketprotocol.pro. + +##################################################################### +## tst_qpacketprotocol Test: +##################################################################### + +add_qt_test(tst_qpacketprotocol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qpacketprotocol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qpacketprotocol.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qpacketprotocol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qpacketprotocol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qpacketprotocol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt new file mode 100644 index 0000000000..4e52ab57cf --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from qqmldebugclient.pro. + +##################################################################### +## tst_qqmldebugclient Test: +##################################################################### + +add_qt_test(tst_qqmldebugclient + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugclient.cpp + DEFINES + QT_QML_DEBUG + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +## Scopes: +##################################################################### + +extend_target(tst_qqmldebugclient CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugclient CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..8ba39c1d93 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebuggingenabler.pro. + +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmldebuggingenablerserver) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..59a5aa9fa1 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmldebuggingenabler.pro. + +##################################################################### +## tst_qqmldebuggingenabler Test: +##################################################################### + +add_qt_test(tst_qqmldebuggingenabler + GUI + SOURCES + ../../../../shared/util.cpp ../../../../shared/util.h + ../../shared/debugutil.cpp ../../shared/debugutil_p.h + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebuggingenabler.cpp + INCLUDE_DIRECTORIES + ../../../../shared + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenabler.pro:: +# CONFIG = "testcase" "-debug_and_release_target" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenabler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuggingenabler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuggingenabler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt new file mode 100644 index 0000000000..602d1afd20 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qqmldebuggingenablerserver.pro. + +##################################################################### +## qqmldebuggingenablerserver Binary: +##################################################################### + +add_qt_executable(qqmldebuggingenablerserver + GUI + # special case begin + # Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS] + # as these are invalid + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler" + # special case end + SOURCES + qqmldebuggingenablerserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenablerserver.pro:: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenablerserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt new file mode 100644 index 0000000000..79279f1622 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmldebugjs.pro. + +##################################################################### +## tst_qqmldebugjs Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmldebugjs + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmldebugjs.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugjs.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/test.js" "data/timer.qml" "data/exception.qml" "data/oncompleted.qml" "data/loadjsfile.qml" "data/condition.qml" "data/changeBreakpoint.qml" "data/stepAction.qml" "data/breakpointRelocation.qml" "data/createComponent.qml" "data/encodeQmlScope.qml" "data/breakOnAnchor.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjs.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugjs CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugjs CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt new file mode 100644 index 0000000000..3de762f331 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qqmldebugjsserver.pro. + +##################################################################### +## qqmldebugjsserver Binary: +##################################################################### + +# special case begin +# Remove INSTALL_DIRECTORY and INSTALL_DIRECTORY from this test a +# use the one from special case instead +# special case end +add_qt_executable(qqmldebugjsserver + GUI + # special case begin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + # special case end + SOURCES + qqmldebugjsserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjsserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt new file mode 100644 index 0000000000..b4ba42d140 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmldebuglocal.pro. + +##################################################################### +## tst_qqmldebuglocal Test: +##################################################################### + +add_qt_test(tst_qqmldebuglocal + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebuglocal.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuglocal.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuglocal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuglocal CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuglocal CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..41482ab37c --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebugprocess.pro. + +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmldebugprocessprocess) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..3af7cb42bb --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qqmldebugprocess.pro. + +##################################################################### +## tst_qqmldebugprocess Test: +##################################################################### + +add_qt_test(tst_qqmldebugprocess + GUI + SOURCES + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebugprocess.cpp + INCLUDE_DIRECTORIES + ../../shared +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocess.pro:: +# CONFIG = "testcase" "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt new file mode 100644 index 0000000000..3a1bbae9f4 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmldebugprocessprocess.pro. + +##################################################################### +## qqmldebugprocessprocess Binary: +##################################################################### + +# special case begin +# Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY which start with +# $$[QT_INSTALL_TESTS] +# special case end + +add_qt_executable(qqmldebugprocessprocess +# special case begin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess" +# special case end + SOURCES + qqmldebugprocessprocess.cpp +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocessprocess.pro:: +# CONFIG = "-debug_and_release_target" "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocessprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt new file mode 100644 index 0000000000..0e93b2b55f --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qqmldebugservice.pro. + +##################################################################### +## tst_qqmldebugservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmldebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt new file mode 100644 index 0000000000..6c2da84ce8 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlenginecontrol.pro. + +##################################################################### +## tst_qqmlenginecontrol Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlenginecontrol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginecontrol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginecontrol.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/exit.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginecontrol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginecontrol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginecontrol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt new file mode 100644 index 0000000000..0b3a8e8ffc --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlenginedebuginspectorintegrationtest.pro. + +##################################################################### +## tst_qqmlenginedebuginspectorintegration Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlenginedebuginspectorintegration + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebuginspectorintegration.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebuginspectorintegrationtest.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebuginspectorintegrationtest.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt new file mode 100644 index 0000000000..9235577d89 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qqmlenginedebugservice.pro. + +##################################################################### +## tst_qqmlenginedebugservice Test: +##################################################################### + +add_qt_test(tst_qqmlenginedebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebugservice.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt new file mode 100644 index 0000000000..470d46880a --- /dev/null +++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlinspector.pro. + +##################################################################### +## tst_qqmlinspector Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlinspector + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlinspector.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinspector.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinspector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinspector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinspector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt new file mode 100644 index 0000000000..117417baf7 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qqmlnativeconnector.pro. + +##################################################################### +## tst_qqmlnativeconnector Test: +##################################################################### + +add_qt_test(tst_qqmlnativeconnector + GUI + SOURCES + tst_qqmlnativeconnector.cpp + DEFINES + QT_QML_DEBUG + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +## Scopes: +##################################################################### diff --git a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt new file mode 100644 index 0000000000..fb8deee316 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qqmlpreview.pro. + +##################################################################### +## tst_qqmlpreview Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/window.qml") +list(APPEND test_data "data/qtquick2.qml") +list(APPEND test_data "data/window2.qml") +list(APPEND test_data "data/window1.qml") +list(APPEND test_data "data/broken.qml") +list(APPEND test_data "data/zoom.qml") +list(APPEND test_data "data/i18n/qml_fr_FR.qm") + +add_qt_test(tst_qqmlpreview + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.cpp ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.h + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlpreview.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_preview + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpreview.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpreview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpreview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpreview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt new file mode 100644 index 0000000000..4ddb2cadbd --- /dev/null +++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlprofilerservice.pro. + +##################################################################### +## tst_qqmlprofilerservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlprofilerservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlprofilerservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlprofilerservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/pixmapCacheTest.qml" "data/controlFromJS.qml" "data/test.qml" "data/exit.qml" "data/scenegraphTest.qml" "data/TestImage_2x2.png" "data/signalSourceLocation.qml" "data/javascript.qml" "data/timer.qml" "data/qstr.qml" "data/memory.qml" "data/batchOverflow.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlprofilerservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlprofilerservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlprofilerservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt new file mode 100644 index 0000000000..a0e474578c --- /dev/null +++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qv4debugger.pro. + +##################################################################### +## tst_qv4debugger Test: +##################################################################### + +add_qt_test(tst_qv4debugger + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.h + tst_qv4debugger.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_debugger + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4debugger.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4debugger.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/ecmascripttests/CMakeLists.txt b/tests/auto/qml/ecmascripttests/CMakeLists.txt new file mode 100644 index 0000000000..00357fb36b --- /dev/null +++ b/tests/auto/qml/ecmascripttests/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from ecmascripttests.pro. + +##################################################################### +## tst_ecmascripttests Test: +##################################################################### + +add_qt_test(tst_ecmascripttests + GUI + SOURCES + qjstest/test262runner.cpp qjstest/test262runner.h + tst_ecmascripttests.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:testcase.pro:: +# CONFIG = "testcase" +# QT_TOOL_ENV = "checkenv" +# checkenv.name = "QTEST_FUNCTION_TIMEOUT" +# checkenv.value = "500000" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:testcase.pro:APPLE_OSX: +# CONFIG = "-app_bundle" +add_subdirectory(qjstest) diff --git a/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt new file mode 100644 index 0000000000..52317655c4 --- /dev/null +++ b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjstest.pro. + +##################################################################### +## qjstest Tool: +##################################################################### + +add_qt_tool(qjstest + SOURCES + main.cpp + test262runner.cpp test262runner.h + DEFINES + QT_DEPRECATED_WARNINGS + INCLUDE_DIRECTORIES + . + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qjstest.pro:: +# QMAKE_TARGET_DESCRIPTION = "Javascript" "test" "runner" +# TEMPLATE = "app" +# _LOADED = "qt_tool" diff --git a/tests/auto/qml/parserstress/CMakeLists.txt b/tests/auto/qml/parserstress/CMakeLists.txt new file mode 100644 index 0000000000..2a2a67e25f --- /dev/null +++ b/tests/auto/qml/parserstress/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from parserstress.pro. + +##################################################################### +## tst_parserstress Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "tests/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_parserstress + GUI + SOURCES + tst_parserstress.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:parserstress.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:parserstress.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt new file mode 100644 index 0000000000..2d5980760f --- /dev/null +++ b/tests/auto/qml/qjsengine/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qjsengine.pro. + +##################################################################### +## tst_qjsengine Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "script/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qjsengine + GUI + SOURCES + tst_qjsengine.cpp + LIBRARIES + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qjsengine "qjsengine" + PREFIX + "/" + FILES + translations/idtranslatable-unicode.qm + translations/idtranslatable_la.qm + translations/translatable-unicode.qm + translations/translatable_la.qm +) +add_qt_resource(tst_qjsengine "qmake_immediate" + PREFIX + "/" + FILES + exporterror1.mjs + importerror1.mjs + modulewithlexicals.mjs + testmodule.mjs +) + + +#### Keys ignored in scope 1:.:.:qjsengine.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt index c0153f6b45..dbc0f2d2d6 100644 --- a/tests/auto/qml/qjsonbinding/CMakeLists.txt +++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt @@ -4,7 +4,16 @@ ## tst_qjsonbinding Test: ##################################################################### +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + add_qt_test(tst_qjsonbinding + GUI SOURCES ../../shared/util.cpp ../../shared/util.h tst_qjsonbinding.cpp @@ -15,11 +24,11 @@ add_qt_test(tst_qjsonbinding PUBLIC_LIBRARIES Qt::Gui Qt::Qml + TESTDATA ${test_data} ) #### Keys ignored in scope 1:.:.:qjsonbinding.pro:: # CONFIG = "testcase" -# TESTDATA = "data/*" ## Scopes: ##################################################################### @@ -34,5 +43,5 @@ extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS extend_target(tst_qjsonbinding CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES - QT_QMLTEST_DATADIR=\\\"/data\\\" + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) diff --git a/tests/auto/qml/qjsvalue/CMakeLists.txt b/tests/auto/qml/qjsvalue/CMakeLists.txt new file mode 100644 index 0000000000..9e0e1b7d13 --- /dev/null +++ b/tests/auto/qml/qjsvalue/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qjsvalue.pro. + +##################################################################### +## tst_qjsvalue Test: +##################################################################### + +add_qt_test(tst_qjsvalue + GUI + SOURCES + tst_qjsvalue.cpp tst_qjsvalue.h + LIBRARIES + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qjsvalue.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsvalue.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt index 3c346456bc..ca3bf5c250 100644 --- a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt +++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt @@ -5,6 +5,7 @@ ##################################################################### add_qt_test(tst_qjsvalueiterator + GUI SOURCES tst_qjsvalueiterator.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/qml/qmlcachegen/CMakeLists.txt b/tests/auto/qml/qmlcachegen/CMakeLists.txt new file mode 100644 index 0000000000..0ac705cd0d --- /dev/null +++ b/tests/auto/qml/qmlcachegen/CMakeLists.txt @@ -0,0 +1,125 @@ +# Generated from qmlcachegen.pro. + +##################################################################### +## tst_qmlcachegen Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qmlcachegen + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlcachegen.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +set(qmake_workerscripts_test_resource_files + "data/worker.js" + "data/worker.qml" +) + +add_qt_resource(tst_qmlcachegen "qmake_workerscripts_test" + PREFIX + "/workerscripts" + FILES + ${qmake_workerscripts_test_resource_files} +) +set_source_files_properties("data/trickypaths.qml" + PROPERTIES alias "file name with spaces.qml" +) +set_source_files_properties("data/versionStyleSuffix-1.2-core-yc.qml" + PROPERTIES alias "versionStyleSuffix-1.2-core-yc.qml" +) +set_source_files_properties("data/versionStyleSuffix-1.2-more.qml" + PROPERTIES alias "versionStyleSuffix-1.2-more.qml" +) +set(trickypaths_resource_files + "data/trickypaths.qml" + "data/versionStyleSuffix-1.2-core-yc.qml" + "data/versionStyleSuffix-1.2-more.qml" +) + +add_qt_resource(tst_qmlcachegen "trickypaths" + PREFIX + "/directory with spaces" + FILES + ${trickypaths_resource_files} +) +set_source_files_properties("data/Retain.qml" + PROPERTIES alias "Retain.qml" +) +set(retain_resource_files + "data/Retain.qml" +) + +set_source_files_properties(${retain_resource_files} PROPERTIES QT_RETAIN_QUICKCOMPILER 1) + +add_qt_resource(tst_qmlcachegen "retain" + PREFIX + "/" + FILES + ${retain_resource_files} +) +set(qmake_immediate_resource_files + "data/Enums.qml" + "data/componentInItem.qml" + "data/jsimport.qml" + "data/jsmoduleimport.qml" + "data/library.js" + "data/script.js" + "data/script.mjs" + "data/versionchecks.qml" +) + +add_qt_resource(tst_qmlcachegen "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +## Scopes: +##################################################################### + +# Resources: +set_source_files_properties("data/umlaut.qml" + PROPERTIES alias "Bäh.qml" +) +set(trickypaths_umlaut_resource_files + "data/umlaut.qml" +) + +add_qt_resource(tst_qmlcachegen "trickypaths_umlaut" + PREFIX + "/" + FILES + ${trickypaths_umlaut_resource_files} +) + + +extend_target(tst_qmlcachegen CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qmlcachegen CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qmldiskcache/CMakeLists.txt b/tests/auto/qml/qmldiskcache/CMakeLists.txt new file mode 100644 index 0000000000..096641cae9 --- /dev/null +++ b/tests/auto/qml/qmldiskcache/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qmldiskcache.pro. + +##################################################################### +## tst_qmldiskcache Test: +##################################################################### + +add_qt_test(tst_qmldiskcache + GUI + SOURCES + tst_qmldiskcache.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# special case begin +# Disable quick compiler for this test +set_source_files_properties( + importmodule.qml + module.mjs + test.qml + PROPERTIES + QT_SKIP_QUICKCOMPILER TRUE +) +# special case end + +# Resources: +add_qt_resource(tst_qmldiskcache "qmake_immediate" + PREFIX + "/" + FILES + importmodule.qml + module.mjs + test.qml +) + + +#### Keys ignored in scope 1:.:.:qmldiskcache.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qmldiskcache.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qmllint/CMakeLists.txt b/tests/auto/qml/qmllint/CMakeLists.txt new file mode 100644 index 0000000000..a9995910ae --- /dev/null +++ b/tests/auto/qml/qmllint/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qmllint.pro. + +##################################################################### +## testqmllint Binary: +##################################################################### + +add_qt_executable(testqmllint + GUI + SOURCES + main.cpp + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qmllint.pro:: +# TEMPLATE = "app" diff --git a/tests/auto/qml/qmlmin/CMakeLists.txt b/tests/auto/qml/qmlmin/CMakeLists.txt index a14c76d14e..18fa793f07 100644 --- a/tests/auto/qml/qmlmin/CMakeLists.txt +++ b/tests/auto/qml/qmlmin/CMakeLists.txt @@ -5,10 +5,11 @@ ##################################################################### add_qt_test(tst_qmlmin + GUI SOURCES tst_qmlmin.cpp DEFINES - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/.\\\" + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" LIBRARIES Qt::GuiPrivate PUBLIC_LIBRARIES diff --git a/tests/auto/qml/qmlplugindump/CMakeLists.txt b/tests/auto/qml/qmlplugindump/CMakeLists.txt new file mode 100644 index 0000000000..f8204d1057 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qmlplugindump.pro. + +##################################################################### +## tst_qmlplugindump Test: +##################################################################### + +add_qt_test(tst_qmlplugindump + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlplugindump.cpp + DEFINES + QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:tst_qmlplugindump.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qmlplugindump.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qmlplugindump CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qmlplugindump CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(data/dumper/Dummy) +add_subdirectory(data/dumper/Imports) +add_subdirectory(data/dumper/Versions) +add_subdirectory(data/dumper/ExtendedType) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt new file mode 100644 index 0000000000..905d199505 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from dummy.pro. + +##################################################################### +## Dummy Plugin: +##################################################################### + +add_qt_plugin(Dummy + SOURCES + dummy.cpp dummy.h + dummy_plugin.cpp dummy_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:dummy.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:dummy.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt new file mode 100644 index 0000000000..db6c8469e5 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from dummy.pro. + +##################################################################### +## Dummy Plugin: +##################################################################### + +add_qt_plugin(Dummy +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + dummy.cpp dummy.h + dummy_plugin.cpp dummy_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:dummy.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:dummy.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:dummy.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Dummy BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt new file mode 100644 index 0000000000..442ce7f080 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from extendedtype.pro. + +##################################################################### +## ExtendedType Plugin: +##################################################################### + +add_qt_plugin(ExtendedType + SOURCES + plugin.cpp plugin.h + types.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:extendedtype.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:extendedtype.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt new file mode 100644 index 0000000000..7917b3643a --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from extendedtype.pro. + +##################################################################### +## ExtendedType Plugin: +##################################################################### + +add_qt_plugin(ExtendedType +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + plugin.cpp plugin.h + types.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:extendedtype.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:extendedtype.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:extendedtype.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir ExtendedType BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) +# special case end diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt new file mode 100644 index 0000000000..536abe9c53 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from imports.pro. + +##################################################################### +## Imports Plugin: +##################################################################### + +add_qt_plugin(Imports + SOURCES + imports.cpp imports.h + imports_plugin.cpp imports_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:imports.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:imports.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" +# cp.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt new file mode 100644 index 0000000000..f34ccb84e3 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from imports.pro. + +##################################################################### +## Imports Plugin: +##################################################################### + +add_qt_plugin(Imports +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + imports.cpp imports.h + imports_plugin.cpp imports_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:imports.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:imports.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:imports.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cp" +# cp.files = "qmldir" "plugins.qmltypes" "CompositeImports.qml" +# cp.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Imports BINARY_DIR) +file(COPY qmldir plugins.qmltypes CompositeImports.qml + DESTINATION ${binary_dir} +) diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt new file mode 100644 index 0000000000..04a77f825c --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/.prev_CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from versions.pro. + +##################################################################### +## Versions Plugin: +##################################################################### + +add_qt_plugin(Versions + SOURCES + versions.cpp versions.h + versions_plugin.cpp versions_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:versions.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:versions.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cpqmldir" +# cpqmldir.files = "qmldir" "plugins.qmltypes" +# cpqmldir.path = "$$OUT_PWD" diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt new file mode 100644 index 0000000000..88e058f0c9 --- /dev/null +++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from versions.pro. + +##################################################################### +## Versions Plugin: +##################################################################### + +add_qt_plugin(Versions +# special case begin + TYPE qml_plugin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +# special case end + SOURCES + versions.cpp versions.h + versions_plugin.cpp versions_plugin.h + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:versions.pro:: +# CONFIG = "qt" "plugin" "-debug_and_release_target" +# TEMPLATE = "lib" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:versions.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 3:.:.:versions.pro:NOT _PRO_FILE_PWD____equals____ss_OUT_PWD: +# COPIES = "cpqmldir" +# cpqmldir.files = "qmldir" "plugins.qmltypes" +# cpqmldir.path = "$$OUT_PWD" + +# special case begin +get_target_property(binary_dir Versions BINARY_DIR) +file(COPY qmldir plugins.qmltypes + DESTINATION ${binary_dir} +) +# special case end diff --git a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt new file mode 100644 index 0000000000..9508ebfa9b --- /dev/null +++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt @@ -0,0 +1,62 @@ +# Generated from qqmlapplicationengine.pro. + +##################################################################### +## tst_qqmlapplicationengine Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlapplicationengine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlapplicationengine.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlapplicationengine "tst_qqmlapplicationengine" + PREFIX + "/" + FILES + data/i18n/qml.qm + data/loadTranslation.qml +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlapplicationengine.pro:: +# CONFIG = "testcase" +# TRANSLATIONS = "data/i18n/qml_ja.ts" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmlapplicationengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlapplicationengine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlapplicationengine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(testapp) diff --git a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt new file mode 100644 index 0000000000..6adbba2b49 --- /dev/null +++ b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from testapp.pro. + +##################################################################### +## testapp Binary: +##################################################################### + +add_qt_executable(testapp + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./" + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# Resources: +add_qt_resource(testapp "main" + PREFIX + "/" + FILES + delayedExit.qml + delayedQuit.qml + immediateExit.qml + immediateQuit.qml +) + + +#### Keys ignored in scope 1:.:.:testapp.pro:: +# CONFIG = "-app_bundle" "console" +# TEMPLATE = "app" diff --git a/tests/auto/qml/qqmlbinding/CMakeLists.txt b/tests/auto/qml/qqmlbinding/CMakeLists.txt new file mode 100644 index 0000000000..9b4594cb00 --- /dev/null +++ b/tests/auto/qml/qqmlbinding/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlbinding.pro. + +##################################################################### +## tst_qqmlbinding Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlbinding + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlbinding.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlbinding.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlbinding.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlbinding CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlbinding CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlchangeset/CMakeLists.txt b/tests/auto/qml/qqmlchangeset/CMakeLists.txt new file mode 100644 index 0000000000..f91ac975c3 --- /dev/null +++ b/tests/auto/qml/qqmlchangeset/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qqmlchangeset.pro. + +##################################################################### +## tst_qqmlhangeset Test: +##################################################################### + +add_qt_test(tst_qqmlhangeset + GUI + SOURCES + tst_qqmlchangeset.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels +) + +#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlchangeset.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlcomponent/CMakeLists.txt b/tests/auto/qml/qqmlcomponent/CMakeLists.txt new file mode 100644 index 0000000000..46a8d11b3c --- /dev/null +++ b/tests/auto/qml/qqmlcomponent/CMakeLists.txt @@ -0,0 +1,61 @@ +# Generated from qqmlcomponent.pro. + +##################################################################### +## tst_qqmlcomponent Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlcomponent + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlcomponent.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlcomponent "qmake_immediate" + PREFIX + "/" + FILES + data/QtObjectComponent.qml +) + +#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcomponent.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlcomponent CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlcomponent CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlconnections/CMakeLists.txt b/tests/auto/qml/qqmlconnections/CMakeLists.txt new file mode 100644 index 0000000000..22a768036d --- /dev/null +++ b/tests/auto/qml/qqmlconnections/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlconnections.pro. + +##################################################################### +## tst_qqmlconnections Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlconnections + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlconnections.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlconnections.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlconnections.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlconnections CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlconnections CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlconsole/CMakeLists.txt b/tests/auto/qml/qqmlconsole/CMakeLists.txt new file mode 100644 index 0000000000..1f2c3d129d --- /dev/null +++ b/tests/auto/qml/qqmlconsole/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmlconsole.pro. + +##################################################################### +## tst_qqmlconsole Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlconsole + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlconsole.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlconsole.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlconsole.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlconsole CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlconsole CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlcontext/CMakeLists.txt b/tests/auto/qml/qqmlcontext/CMakeLists.txt new file mode 100644 index 0000000000..fb555bef2a --- /dev/null +++ b/tests/auto/qml/qqmlcontext/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlcontext.pro. + +##################################################################### +## tst_qqmlcontext Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlcontext + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlcontext.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlcontext.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcontext.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlcontext CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlcontext CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlcpputils/CMakeLists.txt b/tests/auto/qml/qqmlcpputils/CMakeLists.txt new file mode 100644 index 0000000000..fbb1863d43 --- /dev/null +++ b/tests/auto/qml/qqmlcpputils/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlcpputils.pro. + +##################################################################### +## tst_qqmlcpputils Test: +##################################################################### + +add_qt_test(tst_qqmlcpputils + GUI + SOURCES + tst_qqmlcpputils.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlcpputils.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcpputils.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmldirparser/CMakeLists.txt b/tests/auto/qml/qqmldirparser/CMakeLists.txt new file mode 100644 index 0000000000..21a8fa44ae --- /dev/null +++ b/tests/auto/qml/qqmldirparser/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qqmldirparser.pro. + +##################################################################### +## tst_qqmldirparser Test: +##################################################################### + +add_qt_test(tst_qqmldirparser + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmldirparser.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmldirparser.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldirparser.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldirparser CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldirparser CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlecmascript/CMakeLists.txt b/tests/auto/qml/qqmlecmascript/CMakeLists.txt new file mode 100644 index 0000000000..693fa90c00 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from qqmlecmascript.pro. + +##################################################################### +## tst_qqmlecmascript Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlecmascript + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlecmascript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +# special case begin +set_source_files_properties( + data/include.js + data/include.qml + data/js/include2.js + data/js/include3.js + PROPERTIES + QT_SKIP_QUICKCOMPILER 1 +) + +# special case end +add_qt_resource(tst_qqmlecmascript "qqmlecmascript" + PREFIX + "/" + FILES + data/include.js + data/include.qml + data/js/include2.js + data/js/include3.js +) + + +#### Keys ignored in scope 1:.:.:qqmlecmascript.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlecmascript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlecmascript CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qqmlecmascript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlecmascript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlengine/CMakeLists.txt b/tests/auto/qml/qqmlengine/CMakeLists.txt new file mode 100644 index 0000000000..5f38633234 --- /dev/null +++ b/tests/auto/qml/qqmlengine/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qqmlengine.pro. + +##################################################################### +## tst_qqmlengine Test: +##################################################################### + +add_qt_test(tst_qqmlengine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlengine.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml +) + +# Resources: +add_qt_resource(tst_qqmlengine "qmake_immediate" + PREFIX + "/" + FILES + data/qrcurls.js + data/qrcurls.qml +) + + +#### Keys ignored in scope 1:.:.:qqmlengine.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlengine CONDITION boot2qt + DEFINES + SKIP_GCCORRUPTION_TEST +) + +extend_target(tst_qqmlengine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlengine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt new file mode 100644 index 0000000000..66856f3ae0 --- /dev/null +++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qqmlenginecleanup.pro. + +##################################################################### +## tst_qqmlenginecleanup Test: +##################################################################### + +add_qt_test(tst_qqmlenginecleanup + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlenginecleanup.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 2:.:.:tst_qqmlenginecleanup.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmlenginecleanup.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginecleanup CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginecleanup CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(CustomModuleImport) diff --git a/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt new file mode 100644 index 0000000000..5338e58334 --- /dev/null +++ b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from CustomModule.pro. + +##################################################################### +## stomModule Module: +##################################################################### + +add_qt_plugin(CustomModule + # special case begin + TYPE qml_plugin + # special case end + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule" + SOURCES + moduleplugin.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(CustomModule "moduleplugin" + PREFIX + "/" + FILES + ModuleType.qml +) + + +#### Keys ignored in scope 1:.:.:CustomModule.pro:: +# CONFIG = "qtquickcompiler" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../CustomModule" +) +# special case end diff --git a/tests/auto/qml/qqmlerror/CMakeLists.txt b/tests/auto/qml/qqmlerror/CMakeLists.txt new file mode 100644 index 0000000000..a2d34733e1 --- /dev/null +++ b/tests/auto/qml/qqmlerror/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlerror.pro. + +##################################################################### +## tst_qqmlerror Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlerror + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlerror.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlerror.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlerror.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlerror CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlerror CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlexpression/CMakeLists.txt b/tests/auto/qml/qqmlexpression/CMakeLists.txt new file mode 100644 index 0000000000..42643ad841 --- /dev/null +++ b/tests/auto/qml/qqmlexpression/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlexpression.pro. + +##################################################################### +## tst_qqmlexpression Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlexpression + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlexpression.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlexpression.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlexpression.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlexpression CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlexpression CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt new file mode 100644 index 0000000000..4080517fa4 --- /dev/null +++ b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qqmlextensionplugin.pro. + +##################################################################### +## tst_qqmlextensionplugin Test: +##################################################################### + +add_qt_test(tst_qqmlextensionplugin + GUI + SOURCES + tst_qqmlextensionplugin.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlextensionplugin.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlextensionplugin.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt index 9105c96306..387e7029dc 100644 --- a/tests/auto/qml/qqmlfile/CMakeLists.txt +++ b/tests/auto/qml/qqmlfile/CMakeLists.txt @@ -5,9 +5,11 @@ ##################################################################### add_qt_test(tst_qqmlfile + GUI SOURCES tst_qqmlfile.cpp PUBLIC_LIBRARIES + Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt index 6e23531fa3..c074abad74 100644 --- a/tests/auto/qml/qqmlfileselector/CMakeLists.txt +++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt @@ -4,7 +4,16 @@ ## tst_qqmlfileselector Test: ##################################################################### +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + add_qt_test(tst_qqmlfileselector + GUI SOURCES ../../shared/util.cpp ../../shared/util.h tst_qqmlfileselector.cpp @@ -17,11 +26,11 @@ add_qt_test(tst_qqmlfileselector PUBLIC_LIBRARIES Qt::Gui Qt::Qml + TESTDATA ${test_data} ) #### Keys ignored in scope 1:.:.:qqmlfileselector.pro:: # CONFIG = "testcase" -# TESTDATA = "data/*" ## Scopes: ##################################################################### @@ -36,5 +45,5 @@ extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES - QT_QMLTEST_DATADIR=\\\"/data\\\" + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) diff --git a/tests/auto/qml/qqmlglobal/CMakeLists.txt b/tests/auto/qml/qqmlglobal/CMakeLists.txt new file mode 100644 index 0000000000..3a8f175d76 --- /dev/null +++ b/tests/auto/qml/qqmlglobal/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlglobal.pro. + +##################################################################### +## tst_qqmlglobal Test: +##################################################################### + +add_qt_test(tst_qqmlglobal + GUI + SOURCES + tst_qqmlglobal.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlglobal.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlglobal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlimport/CMakeLists.txt b/tests/auto/qml/qqmlimport/CMakeLists.txt new file mode 100644 index 0000000000..71f71c7326 --- /dev/null +++ b/tests/auto/qml/qqmlimport/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qqmlimport.pro. + +##################################################################### +## tst_qqmlimport Test: +##################################################################### + +add_qt_test(tst_qqmlimport + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlimport.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlimport.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlimport.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlimport CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlimport CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlincubator/CMakeLists.txt b/tests/auto/qml/qqmlincubator/CMakeLists.txt new file mode 100644 index 0000000000..c46519e533 --- /dev/null +++ b/tests/auto/qml/qqmlincubator/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlincubator.pro. + +##################################################################### +## tst_qqmlincubator Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlincubator + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlincubator.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlincubator.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlincubator.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlincubator CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlincubator CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlinfo/CMakeLists.txt b/tests/auto/qml/qqmlinfo/CMakeLists.txt new file mode 100644 index 0000000000..b676d6bd2a --- /dev/null +++ b/tests/auto/qml/qqmlinfo/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlinfo.pro. + +##################################################################### +## tst_qqmlinfo Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlinfo + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlinfo.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinfo.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinfo.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinfo CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinfo CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlinstantiator/CMakeLists.txt b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt new file mode 100644 index 0000000000..16efb35c65 --- /dev/null +++ b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlinstantiator.pro. + +##################################################################### +## tst_qqmlinstantiator Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlinstantiator + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + stringmodel.h + tst_qqmlinstantiator.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinstantiator.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinstantiator.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinstantiator CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinstantiator CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlitemmodels/CMakeLists.txt b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt new file mode 100644 index 0000000000..e65dc58ddf --- /dev/null +++ b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmlitemmodels.pro. + +##################################################################### +## tst_qqmlitemmodels Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlitemmodels + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + qtestmodel.h + testtypes.h + tst_qqmlitemmodels.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlitemmodels.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/modelindex.qml" "data/persistentmodelindex.qml" "data/itemselectionrange.qml" "data/modelindexlist.qml" "data/itemselection.qml" "data/modelindexconversion.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlitemmodels.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlitemmodels CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlitemmodels CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllanguage/CMakeLists.txt b/tests/auto/qml/qqmllanguage/CMakeLists.txt new file mode 100644 index 0000000000..86958dfc81 --- /dev/null +++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllanguage.pro. + +##################################################################### +## tst_qqmllanguage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmllanguage + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmllanguage.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllanguage.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/readonlyObjectProperty.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllanguage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllanguage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllanguage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistcompositor/CMakeLists.txt b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt new file mode 100644 index 0000000000..211f9beb6d --- /dev/null +++ b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qqmllistcompositor.pro. + +##################################################################### +## tst_qqmllistcompositor Test: +##################################################################### + +add_qt_test(tst_qqmllistcompositor + GUI + SOURCES + tst_qqmllistcompositor.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmllistcompositor.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistcompositor.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt new file mode 100644 index 0000000000..72c219e14b --- /dev/null +++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllistmodel.pro. + +##################################################################### +## tst_qqmllistmodel Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmllistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistmodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt new file mode 100644 index 0000000000..cd4dd7db7f --- /dev/null +++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmllistmodelworkerscript.pro. + +##################################################################### +## tst_qqmllistmodelworkerscript Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmllistmodelworkerscript + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistmodelworkerscript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistmodelworkerscript.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistmodelworkerscript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistmodelworkerscript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistmodelworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllistreference/CMakeLists.txt b/tests/auto/qml/qqmllistreference/CMakeLists.txt new file mode 100644 index 0000000000..e30129b7e0 --- /dev/null +++ b/tests/auto/qml/qqmllistreference/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmllistreference.pro. + +##################################################################### +## tst_qqmllistreference Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmllistreference + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllistreference.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllistreference.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllistreference.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllistreference CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllistreference CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmllocale/CMakeLists.txt b/tests/auto/qml/qqmllocale/CMakeLists.txt new file mode 100644 index 0000000000..d21e0b8e0f --- /dev/null +++ b/tests/auto/qml/qqmllocale/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmllocale.pro. + +##################################################################### +## tst_qqmllocale Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmllocale + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmllocale.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmllocale.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmllocale.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmllocale CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmllocale CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt new file mode 100644 index 0000000000..25a05ed111 --- /dev/null +++ b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qqmlmetaobject.pro. + +##################################################################### +## tst_qqmlmetaobject Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmetaobject + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmetaobject.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlmetaobject.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetaobject.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlmetaobject CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmetaobject CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlmetatype/CMakeLists.txt b/tests/auto/qml/qqmlmetatype/CMakeLists.txt new file mode 100644 index 0000000000..0f96747410 --- /dev/null +++ b/tests/auto/qml/qqmlmetatype/CMakeLists.txt @@ -0,0 +1,66 @@ +# Generated from qqmlmetatype.pro. + +##################################################################### +## tst_qqmlmetatype Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmetatype + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmetatype.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmetatype "qmake_qmlfiles" + PREFIX + "/tstqqmlmetatype" + FILES + data/CompositeType.qml +) +add_qt_resource(tst_qqmlmetatype "qmake_qmldirresource" + PREFIX + "/" + FILES + data/Components/App.qml + data/Components/qmldir + data/enumsInRecursiveImport.qml +) + + +#### Keys ignored in scope 1:.:.:qqmlmetatype.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetatype.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlmetatype CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmetatype CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..02db3b8bf3 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/.prev_CMakeLists.txt @@ -0,0 +1,95 @@ +# Generated from qqmlmoduleplugin.pro. + +##################################################################### +## tst_qqmlmoduleplugin Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "imports/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_BINARY_DIR}/imports/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmoduleplugin + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmoduleplugin.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithWaitingPlugin +) +add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithStaticPlugin +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:: +# CONFIG = "testcase" "-app_bundle" + +## Scopes: +##################################################################### + +extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(plugin) +add_subdirectory(plugin.2) +add_subdirectory(plugin.2.1) +add_subdirectory(pluginWrongCase) +add_subdirectory(pluginWithQmlFile) +add_subdirectory(pluginMixed) +add_subdirectory(pluginVersion) +add_subdirectory(nestedPlugin) +add_subdirectory(strictModule) +add_subdirectory(strictModule.2) +add_subdirectory(nonstrictModule) +add_subdirectory(preemptiveModule) +add_subdirectory(preemptedStrictModule) +add_subdirectory(invalidNamespaceModule) +add_subdirectory(invalidFirstCommandModule) +add_subdirectory(protectedModule) +add_subdirectory(plugin/childplugin) +add_subdirectory(plugin.2/childplugin) +add_subdirectory(plugin.2.1/childplugin) +add_subdirectory(plugin.2.2) diff --git a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt new file mode 100644 index 0000000000..715e75b1f5 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt @@ -0,0 +1,110 @@ +# Generated from qqmlmoduleplugin.pro. + +##################################################################### +## tst_qqmlmoduleplugin Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "imports/*") +list(APPEND test_data ${test_data_glob}) + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_BINARY_DIR}/imports/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlmoduleplugin + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlmoduleplugin.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qqmlmoduleplugin "qmake_waitingPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithWaitingPlugin +) +add_qt_resource(tst_qqmlmoduleplugin "qmake_staticPlugin" + PREFIX + "/qt-project.org/imports/" + FILES + moduleWithStaticPlugin +) + + +#### Keys ignored in scope 2:.:.:tst_qqmlmoduleplugin.pro:: +# CONFIG = "testcase" "-app_bundle" +# staticPlugin.files = "moduleWithStaticPlugin" +# staticPlugin.prefix = "/qt-project.org/imports/" +# waitingPlugin.files = "moduleWithWaitingPlugin" +# waitingPlugin.prefix = "/qt-project.org/imports/" + +# special case begin +add_qt_resource(tst_qqmlmoduleplugin waitingPlugin + PREFIX /qt-project.org/imports + FILES moduleWithWaitingPlugin/qmldir +) +add_qt_resource(tst_qqmlmoduleplugin staticPlugin + PREFIX /qt-project.org/imports + FILES moduleWithStaticPlugin/qmldir +) +# special case end + +## Scopes: +##################################################################### + +extend_target(tst_qqmlmoduleplugin CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlmoduleplugin CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(plugin) +add_subdirectory(plugin.2) +add_subdirectory(plugin.2.1) +add_subdirectory(pluginWrongCase) +add_subdirectory(pluginWithQmlFile) +add_subdirectory(pluginMixed) +add_subdirectory(pluginVersion) +add_subdirectory(nestedPlugin) +add_subdirectory(strictModule) +add_subdirectory(strictModule.2) +add_subdirectory(nonstrictModule) +add_subdirectory(preemptiveModule) +add_subdirectory(preemptedStrictModule) +add_subdirectory(invalidNamespaceModule) +add_subdirectory(invalidFirstCommandModule) +add_subdirectory(protectedModule) +add_subdirectory(plugin/childplugin) +add_subdirectory(plugin.2/childplugin) +add_subdirectory(plugin.2.1/childplugin) +add_subdirectory(plugin.2.2) diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..097f1ba517 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from invalidFirstCommandModule.pro. + +##################################################################### +## invalidFirstCommandModule Plugin: +##################################################################### + +add_qt_plugin(invalidFirstCommandModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt new file mode 100644 index 0000000000..b0e7ccb400 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from invalidFirstCommandModule.pro. + +##################################################################### +## invalidFirstCommandModule Plugin: +##################################################################### + +add_qt_plugin(invalidFirstCommandModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidFirstCommandModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d04f2f6ecf --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from invalidNamespaceModule.pro. + +##################################################################### +## invalidNamespaceModule Plugin: +##################################################################### + +add_qt_plugin(invalidNamespaceModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt new file mode 100644 index 0000000000..d8f71cd07b --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from invalidNamespaceModule.pro. + +##################################################################### +## invalidNamespaceModule Plugin: +##################################################################### + +add_qt_plugin(invalidNamespaceModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:invalidNamespaceModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..18a3addd86 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from nestedPlugin.pro. + +##################################################################### +## stedPlugin Module: +##################################################################### + +add_qt_module(stedPlugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" + SOURCES + nestedPlugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nestedPlugin.pro:: +# CONFIG = "nestedPlugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt new file mode 100644 index 0000000000..0a659329a2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from nestedPlugin.pro. + +##################################################################### +## stedPlugin Module: +##################################################################### + +add_qt_plugin(nestedPlugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + nestedPlugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nestedPlugin.pro:: +# CONFIG = "nestedPlugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" +) +# special case end TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..c3d4ecf7a2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from nonstrictModule.pro. + +##################################################################### +## nonstrictModule Plugin: +##################################################################### + +add_qt_plugin(nonstrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nonstrictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt new file mode 100644 index 0000000000..8a5bcdd685 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from nonstrictModule.pro. + +##################################################################### +## nonstrictModule Plugin: +##################################################################### + +add_qt_plugin(nonstrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:nonstrictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt new file mode 100644 index 0000000000..0ab0991f45 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.1.pro. + +##################################################################### +## plugin.2.1 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.1.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt new file mode 100644 index 0000000000..bd50d1b5ce --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.1.pro. + +##################################################################### +## plugin.2.1 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.1.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2.1 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..2f4f165097 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..b4362aaaf9 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin.2.1 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(childplugin.2.1 PROPERTIES OUTPUT_NAME "childplugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..da2d627290 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.2.pro. + +##################################################################### +## plugin.2.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt new file mode 100644 index 0000000000..8c4f760817 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.2.pro. + +##################################################################### +## plugin.2.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2.2 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..49a78baeea --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.2.pro. + +##################################################################### +## plugin.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt new file mode 100644 index 0000000000..3a7ee03721 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from plugin.2.pro. + +##################################################################### +## plugin.2 Plugin: +##################################################################### + +add_qt_plugin(plugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(plugin.2 PROPERTIES OUTPUT_NAME "plugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..bf7ecee408 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_DIR = "DESTDIR" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..6a36a6190f --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_DIR = "DESTDIR" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(childplugin.2 PROPERTIES OUTPUT_NAME "childplugin") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..029b426404 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from plugin.pro. + +##################################################################### +## plugin Plugin: +##################################################################### + +add_qt_plugin(plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt new file mode 100644 index 0000000000..907216f9de --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from plugin.pro. + +##################################################################### +## plugin Plugin: +##################################################################### + +add_qt_plugin(plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000000..7a2ba6bac1 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_module(ildplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt new file mode 100644 index 0000000000..c7e997f5e0 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from childplugin.pro. + +##################################################################### +## ildplugin Module: +##################################################################### + +add_qt_plugin(childplugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + childplugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:childplugin.pro:: +# CONFIG = "childplugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt new file mode 100644 index 0000000000..77ca7e8094 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginMixed.pro. + +##################################################################### +## pluginMixed Plugin: +##################################################################### + +add_qt_plugin(pluginMixed + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginMixed.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "Foo.qml" "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt new file mode 100644 index 0000000000..f1a6bc227a --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginMixed.pro. + +##################################################################### +## pluginMixed Plugin: +##################################################################### + +add_qt_plugin(pluginMixed + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginMixed.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "Foo.qml" "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir Foo.qml + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d74a877f96 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginVersion.pro. + +##################################################################### +## pluginVersion Plugin: +##################################################################### + +add_qt_plugin(pluginVersion + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginVersion.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt new file mode 100644 index 0000000000..f7f4d9e714 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginVersion.pro. + +##################################################################### +## pluginVersion Plugin: +##################################################################### + +add_qt_plugin(pluginVersion + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginVersion.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt new file mode 100644 index 0000000000..674db41333 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginWithQmlFile.pro. + +##################################################################### +## pluginWithQmlFile Plugin: +##################################################################### + +add_qt_plugin(pluginWithQmlFile + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" "MyQmlFile.qml" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt new file mode 100644 index 0000000000..636e919e44 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginWithQmlFile.pro. + +##################################################################### +## pluginWithQmlFile Plugin: +##################################################################### + +add_qt_plugin(pluginWithQmlFile + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWithQmlFile.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" "MyQmlFile.qml" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir MyQmlFile.qml + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt new file mode 100644 index 0000000000..08b5371ff9 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from pluginWrongCase.pro. + +##################################################################### +## Plugin Plugin: +##################################################################### + +add_qt_plugin(Plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt new file mode 100644 index 0000000000..a7b0e44786 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from pluginWrongCase.pro. + +##################################################################### +## Plugin Plugin: +##################################################################### + +add_qt_plugin(Plugin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:pluginWrongCase.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..49c3a5fb54 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from preemptedStrictModule.pro. + +##################################################################### +## preemptedStrictModule Plugin: +##################################################################### + +add_qt_plugin(preemptedStrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt new file mode 100644 index 0000000000..b9dfd31dd3 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from preemptedStrictModule.pro. + +##################################################################### +## preemptedStrictModule Plugin: +##################################################################### + +add_qt_plugin(preemptedStrictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptedStrictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..31a7a7933f --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from preemptiveModule.pro. + +##################################################################### +## preemptiveModule Plugin: +##################################################################### + +add_qt_plugin(preemptiveModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptiveModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt new file mode 100644 index 0000000000..d9cba40ce2 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from preemptiveModule.pro. + +##################################################################### +## preemptiveModule Plugin: +##################################################################### + +add_qt_plugin(preemptiveModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:preemptiveModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..6528ebfb25 --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from protectedModule.pro. + +##################################################################### +## protectedModule Plugin: +##################################################################### + +add_qt_plugin(protectedModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:protectedModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt new file mode 100644 index 0000000000..313225b0ae --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from protectedModule.pro. + +##################################################################### +## protectedModule Plugin: +##################################################################### + +add_qt_plugin(protectedModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:protectedModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt new file mode 100644 index 0000000000..e597514e4a --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from strictModule.2.pro. + +##################################################################### +## strictModule.2 Plugin: +##################################################################### + +add_qt_plugin(strictModule.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt new file mode 100644 index 0000000000..5b76d771fa --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from strictModule.2.pro. + +##################################################################### +## strictModule.2 Plugin: +##################################################################### + +add_qt_plugin(strictModule.2 + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.2.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +set_target_properties(strictModule.2 PROPERTIES OUTPUT_NAME "strictModule") +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" +) +# special case end diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt new file mode 100644 index 0000000000..6876de778d --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from strictModule.pro. + +##################################################################### +## strictModule Plugin: +##################################################################### + +add_qt_plugin(strictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt new file mode 100644 index 0000000000..98508d32bf --- /dev/null +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from strictModule.pro. + +##################################################################### +## strictModule Plugin: +##################################################################### + +add_qt_plugin(strictModule + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" +# special case begin + TYPE qml_plugin +# special case end + SOURCES + plugin.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:strictModule.pro:: +# CONFIG = "plugin" +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file(COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" +) +# special case end diff --git a/tests/auto/qml/qqmlnotifier/CMakeLists.txt b/tests/auto/qml/qqmlnotifier/CMakeLists.txt new file mode 100644 index 0000000000..a53621b8d4 --- /dev/null +++ b/tests/auto/qml/qqmlnotifier/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmlnotifier.pro. + +##################################################################### +## tst_qqmlnotifier Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlnotifier + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlnotifier.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlnotifier.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlnotifier.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlnotifier CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlnotifier CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt new file mode 100644 index 0000000000..cb184f9abd --- /dev/null +++ b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qqmlobjectmodel.pro. + +##################################################################### +## tst_qqmlobjectmodel Test: +##################################################################### + +add_qt_test(tst_qqmlobjectmodel + GUI + SOURCES + tst_qqmlobjectmodel.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels +) + +#### Keys ignored in scope 1:.:.:qqmlobjectmodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlobjectmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt new file mode 100644 index 0000000000..58120cacae --- /dev/null +++ b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlopenmetaobject.pro. + +##################################################################### +## tst_qqmlopenmetaobject Test: +##################################################################### + +add_qt_test(tst_qqmlopenmetaobject + GUI + SOURCES + tst_qqmlopenmetaobject.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlopenmetaobject.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlopenmetaobject.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlparser/CMakeLists.txt b/tests/auto/qml/qqmlparser/CMakeLists.txt new file mode 100644 index 0000000000..ef7113d6cc --- /dev/null +++ b/tests/auto/qml/qqmlparser/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qqmlparser.pro. + +##################################################################### +## tst_qqmlparser Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlparser + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlparser.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlparser.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlparser.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlparser CONDITION cross_compile + DEFINES + QTEST_CROSS_COMPILED +) + +extend_target(tst_qqmlparser CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlparser CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpromise/CMakeLists.txt b/tests/auto/qml/qqmlpromise/CMakeLists.txt new file mode 100644 index 0000000000..d8c5caa6d2 --- /dev/null +++ b/tests/auto/qml/qqmlpromise/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlpromise.pro. + +##################################################################### +## tst_qqmlpromise Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlpromise + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpromise.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpromise.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/then-fulfilled-non-callable.qml" "data/then-reject-non-callable.qml" "data/then-resolve-multiple-then.qml" "data/then-resolve-chaining.qml" "data/then-reject-chaining.qml" "data/promise-resolve-with-value.qml" "data/promise-resolve-with-promise.qml" "data/promise-reject-with-value.qml" "data/promise-executor-resolve.qml" "data/promise-get-length.qml" "data/promise-executor-reject.qml" "data/promise-reject-catch.qml" "data/promise-async-resolve-with-value.qml" "data/promise-async-reject-with-value.qml" "data/promise-all-resolve.qml" "data/promise-all-empty-input.qml" "data/promise-resolve-with-array.qml" "data/promise-all-reject-reject-is-last.qml" "data/promise-all-reject-reject-is-mid.qml" "data/promise-race-resolve-1st.qml" "data/promise-race-empty-input.qml" "data/promise-race-resolve-2nd.qml" "data/promise-race-resolve-1st-in-executor-function.qml" "data/promise-resolve-is-a-function.qml" "data/promise-resolve-function-length.qml" "data/promise-all-invoke-then-method.qml" "data/promise-resolve-with-empty.qml" "data/promise-executor-throw-exception.qml" "data/promise-executor-function-extensible.qml" "data/promise-all-noniterable-input.qml" +# OTHER_FILES = + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpromise.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpromise CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpromise CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlproperty/CMakeLists.txt b/tests/auto/qml/qqmlproperty/CMakeLists.txt new file mode 100644 index 0000000000..6ef1e1fbba --- /dev/null +++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlproperty.pro. + +##################################################################### +## tst_qqmlproperty Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlproperty + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlproperty.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlproperty.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlproperty.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlproperty CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlproperty CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpropertycache/CMakeLists.txt b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt new file mode 100644 index 0000000000..be7eb3eb13 --- /dev/null +++ b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qqmlpropertycache.pro. + +##################################################################### +## tst_qqmlpropertycache Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlpropertycache + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpropertycache.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpropertycache.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpropertycache.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpropertycache CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpropertycache CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlpropertymap/CMakeLists.txt b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt new file mode 100644 index 0000000000..fc7da3df75 --- /dev/null +++ b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qqmlpropertymap.pro. + +##################################################################### +## tst_qqmlpropertymap Test: +##################################################################### + +add_qt_test(tst_qqmlpropertymap + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlpropertymap.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlpropertymap.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpropertymap.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpropertymap CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpropertymap CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlqt/CMakeLists.txt b/tests/auto/qml/qqmlqt/CMakeLists.txt new file mode 100644 index 0000000000..8de072b253 --- /dev/null +++ b/tests/auto/qml/qqmlqt/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlqt.pro. + +##################################################################### +## tst_qqmlqt Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlqt + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlqt.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlqt.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlqt.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlqt CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlqt CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlsettings/CMakeLists.txt b/tests/auto/qml/qqmlsettings/CMakeLists.txt new file mode 100644 index 0000000000..a51dd56958 --- /dev/null +++ b/tests/auto/qml/qqmlsettings/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmlsettings.pro. + +##################################################################### +## tst_qqmlsettings Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlsettings + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlsettings.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlsettings.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlsettings.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlsettings CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlsettings CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt new file mode 100644 index 0000000000..b72eb91bae --- /dev/null +++ b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlsqldatabase.pro. + +##################################################################### +## tst_qqmlsqldatabase Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlsqldatabase + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlsqldatabase.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Sql + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlsqldatabase.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlsqldatabase.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlsqldatabase CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlsqldatabase CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt new file mode 100644 index 0000000000..e187fe7b1f --- /dev/null +++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qqmlstatemachine.pro. + +##################################################################### +## tst_qqmlstatemachine Test: +##################################################################### + +add_qt_test(tst_qqmlstatemachine + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlstatemachine.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlstatemachine.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlstatemachine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlstatemachine CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlstatemachine CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltablemodel/CMakeLists.txt b/tests/auto/qml/qqmltablemodel/CMakeLists.txt new file mode 100644 index 0000000000..e37c8e700d --- /dev/null +++ b/tests/auto/qml/qqmltablemodel/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmltablemodel.pro. + +##################################################################### +## tst_qqmltablemodel Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmltablemodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmltablemodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmltablemodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qqmltablemodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltablemodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltimer/CMakeLists.txt b/tests/auto/qml/qqmltimer/CMakeLists.txt new file mode 100644 index 0000000000..aac4d58128 --- /dev/null +++ b/tests/auto/qml/qqmltimer/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qqmltimer.pro. + +##################################################################### +## tst_qqmltimer Test: +##################################################################### + +add_qt_test(tst_qqmltimer + GUI + SOURCES + tst_qqmltimer.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmltimer.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmltimer.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmltranslation/CMakeLists.txt b/tests/auto/qml/qqmltranslation/CMakeLists.txt new file mode 100644 index 0000000000..560d712b94 --- /dev/null +++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt @@ -0,0 +1,74 @@ +# Generated from qqmltranslation.pro. + +##################################################################### +## tst_qqmltranslation Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmltranslation + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmltranslation.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +# special case begin +set_source_files_properties( + data/translation.qml + PROPERTIES + QT_SKIP_QUICKCOMPILER 1 + alias translation.qml +) +set_source_files_properties( + data/qml_fr.qm + PROPERTIES + alias qml_fr.qm +) +# special case end +add_qt_resource(tst_qqmltranslation "translation" + PREFIX + "/" + BASE + "data" + FILES + qml_fr.qm + translation.qml +) + + +#### Keys ignored in scope 1:.:.:qqmltranslation.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmltranslation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmltranslation CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltranslation CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmltypeloader/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/CMakeLists.txt new file mode 100644 index 0000000000..e36245bef8 --- /dev/null +++ b/tests/auto/qml/qqmltypeloader/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qqmltypeloader.pro. + +##################################################################### +## tst_qqmltypeloader Test: +##################################################################### + +add_qt_test(tst_qqmltypeloader + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmltypeloader.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 2:.:.:tst_qqmltypeloader.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 3:.:.:tst_qqmltypeloader.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmltypeloader CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmltypeloader CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) +add_subdirectory(SlowImport) diff --git a/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt new file mode 100644 index 0000000000..2bd4922f30 --- /dev/null +++ b/tests/auto/qml/qqmltypeloader/SlowImport/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from Slow.pro. + +##################################################################### +## ow Module: +##################################################################### + +add_qt_plugin(Slow + # special case begin + TYPE qml_plugin + # special case end + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../Slow" + SOURCES + plugin.cpp plugin.h + slow.cpp slow.h + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:Slow.pro:: +# IMPORT_FILES = "qmldir" +# TEMPLATE = "lib" + +# special case begin +file (COPY qmldir + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/../Slow" +) +# special case end diff --git a/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt new file mode 100644 index 0000000000..8ba29695f7 --- /dev/null +++ b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlvaluetypeproviders.pro. + +##################################################################### +## tst_qqmlvaluetypeproviders Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlvaluetypeproviders + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlvaluetypeproviders.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlvaluetypeproviders.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlvaluetypeproviders.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlvaluetypeproviders CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlvaluetypeproviders CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt new file mode 100644 index 0000000000..4d6eb47a4d --- /dev/null +++ b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlvaluetypes.pro. + +##################################################################### +## tst_qqmlvaluetypes Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlvaluetypes + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + testtypes.cpp testtypes.h + tst_qqmlvaluetypes.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlvaluetypes.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/customvaluetype.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlvaluetypes.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlvaluetypes CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlvaluetypes CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt new file mode 100644 index 0000000000..a06a2196b7 --- /dev/null +++ b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qqmlxmlhttprequest.pro. + +##################################################################### +## tst_qqmlxmlhttprequest Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlxmlhttprequest + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qqmlxmlhttprequest.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlxmlhttprequest.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlxmlhttprequest.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlxmlhttprequest CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlxmlhttprequest CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt new file mode 100644 index 0000000000..d4d6441187 --- /dev/null +++ b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from qquickfolderlistmodel.pro. + +##################################################################### +## tst_qquickfolderlistmodel Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfolderlistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfolderlistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# Resources: +add_qt_resource(tst_qquickfolderlistmodel "introspect" + PREFIX + "/myprefix/subdir" + BASE + "data" + FILES + txtdir/hello.txt +) + + +#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt new file mode 100644 index 0000000000..bb32a2426f --- /dev/null +++ b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from qquickfolderlistmodel.pro. + +##################################################################### +## tst_qquickfolderlistmodel Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfolderlistmodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfolderlistmodel.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +# special case begin +set_source_files_properties(data/txtdir/hello.txt PROPERTIES alias "txtdir/hello.txt") +# special case end +# Resources: +add_qt_resource(tst_qquickfolderlistmodel "introspect" + PREFIX + "/myprefix/subdir" + BASE + "data" + FILES + txtdir/hello.txt +) + + +#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qquickworkerscript/CMakeLists.txt b/tests/auto/qml/qquickworkerscript/CMakeLists.txt new file mode 100644 index 0000000000..b29fd3fc25 --- /dev/null +++ b/tests/auto/qml/qquickworkerscript/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickworkerscript.pro. + +##################################################################### +## tst_qquickworkerscript Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickworkerscript + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickworkerscript.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QmlWorkerScriptPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlWorkerScript + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickworkerscript.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickworkerscript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickworkerscript CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qrcqml/CMakeLists.txt b/tests/auto/qml/qrcqml/CMakeLists.txt new file mode 100644 index 0000000000..a6a1234f3c --- /dev/null +++ b/tests/auto/qml/qrcqml/CMakeLists.txt @@ -0,0 +1,81 @@ +# Generated from qrcqml.pro. + +##################################################################### +## tst_qrcqml Test: +##################################################################### + +add_qt_test(tst_qrcqml + GUI + SOURCES + tst_qrcqml.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +# Resources: +set_source_files_properties("data/SameDir2.qml" + PROPERTIES alias "SameDir.qml" +) +set_source_files_properties("data/importtest.qml" + PROPERTIES alias "importtest.qml" +) +set_source_files_properties("data/main2.qml" + PROPERTIES alias "main.qml" +) +add_qt_resource(tst_qrcqml "qrcqml" + PREFIX + "/" + FILES + data/SameDir.qml + data/SameDir2.qml + data/SubDir.qml + data/importtest.qml + data/main.qml + data/main2.qml +) +set_source_files_properties("data/SameDir3.qml" + PROPERTIES alias "SameDir.qml" +) +set_source_files_properties("data/main3.qml" + PROPERTIES alias "main.qml" +) +add_qt_resource(tst_qrcqml "qrcqml1" + PREFIX + "/search" + FILES + data/SameDir3.qml + data/main3.qml +) +set_source_files_properties("data/SubDir.qml" + PROPERTIES alias "SubDir.qml" +) +add_qt_resource(tst_qrcqml "qrcqml2" + PREFIX + "/search/data" + FILES + data/SubDir.qml +) +set_source_files_properties("data/imports/QrcImport/Imported.qml" + PROPERTIES alias "QrcImport/Imported.qml" +) +set_source_files_properties("data/imports/QrcImport/qmldir" + PROPERTIES alias "QrcImport/qmldir" +) +add_qt_resource(tst_qrcqml "qrcqml3" + PREFIX + "/imports" + FILES + data/imports/QrcImport/Imported.qml + data/imports/QrcImport/qmldir +) + + +#### Keys ignored in scope 1:.:.:qrcqml.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qrcqml.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qtqmlmodules/CMakeLists.txt b/tests/auto/qml/qtqmlmodules/CMakeLists.txt new file mode 100644 index 0000000000..5e5bec357e --- /dev/null +++ b/tests/auto/qml/qtqmlmodules/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qtqmlmodules.pro. + +##################################################################### +## tst_qtqmlmodules Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qtqmlmodules + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qtqmlmodules.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qtqmlmodules.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qtqmlmodules.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qtqmlmodules CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qtqmlmodules CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4assembler/CMakeLists.txt b/tests/auto/qml/qv4assembler/CMakeLists.txt new file mode 100644 index 0000000000..0dccff91a2 --- /dev/null +++ b/tests/auto/qml/qv4assembler/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qv4assembler.pro. + +##################################################################### +## tst_qv4assembler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qv4assembler + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qv4assembler.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qv4assembler.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4assembler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qv4assembler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qv4assembler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4identifiertable/CMakeLists.txt b/tests/auto/qml/qv4identifiertable/CMakeLists.txt new file mode 100644 index 0000000000..2420c4add9 --- /dev/null +++ b/tests/auto/qml/qv4identifiertable/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qv4identifiertable.pro. + +##################################################################### +## tst_qv4identifiertable Test: +##################################################################### + +add_qt_test(tst_qv4identifiertable + GUI + SOURCES + tst_qv4identifiertable.cpp + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4identifiertable.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4identifiertable.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qv4mm/CMakeLists.txt b/tests/auto/qml/qv4mm/CMakeLists.txt new file mode 100644 index 0000000000..129331698c --- /dev/null +++ b/tests/auto/qml/qv4mm/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from qv4mm.pro. + +##################################################################### +## tst_qv4mm Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qv4mm + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qv4mm.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qv4mm.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4mm.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qv4mm CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qv4mm CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/qv4regexp/CMakeLists.txt b/tests/auto/qml/qv4regexp/CMakeLists.txt new file mode 100644 index 0000000000..06db7718aa --- /dev/null +++ b/tests/auto/qml/qv4regexp/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qv4regexp.pro. + +##################################################################### +## tst_qv4regexp Test: +##################################################################### + +add_qt_test(tst_qv4regexp + GUI + SOURCES + tst_qv4regexp.cpp + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4regexp.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4regexp.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt new file mode 100644 index 0000000000..a36558f295 --- /dev/null +++ b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qwidgetsinqml.pro. + +##################################################################### +## tst_qwidgetsinqml Test: +##################################################################### + +add_qt_test(tst_qwidgetsinqml + GUI + SOURCES + tst_qwidgetsinqml.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Widgets +) + +#### Keys ignored in scope 1:.:.:qwidgetsinqml.pro:: +# CONFIG = "testcase" "parallel_test" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qwidgetsinqml.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/v4misc/CMakeLists.txt b/tests/auto/qml/v4misc/CMakeLists.txt new file mode 100644 index 0000000000..fa2cf07687 --- /dev/null +++ b/tests/auto/qml/v4misc/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from v4misc.pro. + +##################################################################### +## tst_v4misc Test: +##################################################################### + +add_qt_test(tst_v4misc + GUI + SOURCES + tst_v4misc.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:v4misc.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:v4misc.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qmldevtools/CMakeLists.txt b/tests/auto/qmldevtools/CMakeLists.txt new file mode 100644 index 0000000000..0a2ec8f18d --- /dev/null +++ b/tests/auto/qmldevtools/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from qmldevtools.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(compile) +endif() diff --git a/tests/auto/qmldevtools/compile/CMakeLists.txt b/tests/auto/qmldevtools/compile/CMakeLists.txt new file mode 100644 index 0000000000..50ed8fafab --- /dev/null +++ b/tests/auto/qmldevtools/compile/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from compile.pro. + +##################################################################### +## tst_compile Binary: +##################################################################### + +add_qt_executable(tst_compile + GUI + SOURCES + tst_compile.cpp + LIBRARIES + Qt::QmlDevToolsPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDevTools +) + +#### Keys ignored in scope 1:.:.:compile.pro:: +# _LOADED = "qt_common" +# _OPTION = "host_build" + +## Scopes: +##################################################################### + +extend_target(tst_compile CONDITION force_bootstrap + LIBRARIES + Qt::BootstrapPrivate + PUBLIC_LIBRARIES + Qt::Bootstrap +) + +#### Keys ignored in scope 3:.:.:compile.pro:NOT build_pass: +# CONFIG = "release" + +extend_target(tst_compile CONDITION NOT force_bootstrap + PUBLIC_LIBRARIES + Qt::Core +) + +#### Keys ignored in scope 5:.:.:compile.pro:NOT build_pass AND QT_FEATURE_debug_and_release: +# CONFIG = "release" + +#### Keys ignored in scope 6:.:.:compile.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt new file mode 100644 index 0000000000..3a6960d0b6 --- /dev/null +++ b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from shortcut.pro. + +##################################################################### +## shortcut Test: +##################################################################### + +add_qt_test(shortcut + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shortcut.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt new file mode 100644 index 0000000000..184c1c1216 --- /dev/null +++ b/tests/auto/qmltest/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qmltest.pro. + +add_subdirectory(animatedimage) +add_subdirectory(animations) +add_subdirectory(borderimage) +add_subdirectory(buttonclick) +add_subdirectory(createbenchmark) +add_subdirectory(events) +add_subdirectory(fontloader) +add_subdirectory(gradient) +add_subdirectory(image) +add_subdirectory(itemgrabber) +add_subdirectory(layout) +add_subdirectory(listmodel) +add_subdirectory(listview) +add_subdirectory(objectmodel) +add_subdirectory(pathview) +add_subdirectory(pixel) +add_subdirectory(positioners) +add_subdirectory(qqmlbinding) +add_subdirectory(qtbug46798) +add_subdirectory(rectangle) +add_subdirectory(selftests) +add_subdirectory(shadersource) +add_subdirectory(stability) +add_subdirectory(statemachine) +add_subdirectory(text) +add_subdirectory(textedit) +add_subdirectory(textinput) +add_subdirectory(window) diff --git a/tests/auto/qmltest/animatedimage/CMakeLists.txt b/tests/auto/qmltest/animatedimage/CMakeLists.txt new file mode 100644 index 0000000000..451df87b1a --- /dev/null +++ b/tests/auto/qmltest/animatedimage/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from animatedimage.pro. + +##################################################################### +## animatedimage Test: +##################################################################### + +add_qt_test(animatedimage + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:animatedimage.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/animations/CMakeLists.txt b/tests/auto/qmltest/animations/CMakeLists.txt new file mode 100644 index 0000000000..c8ad44470c --- /dev/null +++ b/tests/auto/qmltest/animations/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from animations.pro. + +##################################################################### +## animations Test: +##################################################################### + +add_qt_test(animations + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:animations.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/borderimage/CMakeLists.txt b/tests/auto/qmltest/borderimage/CMakeLists.txt new file mode 100644 index 0000000000..0f18da2aed --- /dev/null +++ b/tests/auto/qmltest/borderimage/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from borderimage.pro. + +##################################################################### +## borderimage Test: +##################################################################### + +add_qt_test(borderimage + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:borderimage.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/buttonclick/CMakeLists.txt b/tests/auto/qmltest/buttonclick/CMakeLists.txt new file mode 100644 index 0000000000..22fabf12c0 --- /dev/null +++ b/tests/auto/qmltest/buttonclick/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from buttonclick.pro. + +##################################################################### +## buttonclick Test: +##################################################################### + +add_qt_test(buttonclick + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:buttonclick.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/createbenchmark/CMakeLists.txt b/tests/auto/qmltest/createbenchmark/CMakeLists.txt new file mode 100644 index 0000000000..f75c482a53 --- /dev/null +++ b/tests/auto/qmltest/createbenchmark/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from createbenchmark.pro. + +##################################################################### +## createbenchmark Test: +##################################################################### + +add_qt_test(createbenchmark + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:createbenchmark.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/events/CMakeLists.txt b/tests/auto/qmltest/events/CMakeLists.txt new file mode 100644 index 0000000000..952f7bbf04 --- /dev/null +++ b/tests/auto/qmltest/events/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from events.pro. + +##################################################################### +## events Test: +##################################################################### + +add_qt_test(events + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:events.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/fontloader/CMakeLists.txt b/tests/auto/qmltest/fontloader/CMakeLists.txt new file mode 100644 index 0000000000..959e5ee0a5 --- /dev/null +++ b/tests/auto/qmltest/fontloader/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from fontloader.pro. + +##################################################################### +## fontloader Test: +##################################################################### + +add_qt_test(fontloader + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:fontloader.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/gradient/CMakeLists.txt b/tests/auto/qmltest/gradient/CMakeLists.txt new file mode 100644 index 0000000000..f5df3d81e1 --- /dev/null +++ b/tests/auto/qmltest/gradient/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from gradient.pro. + +##################################################################### +## gradient Test: +##################################################################### + +add_qt_test(gradient + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:gradient.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/image/CMakeLists.txt b/tests/auto/qmltest/image/CMakeLists.txt new file mode 100644 index 0000000000..27cb68760a --- /dev/null +++ b/tests/auto/qmltest/image/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from image.pro. + +##################################################################### +## image Test: +##################################################################### + +add_qt_test(image + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:image.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/itemgrabber/CMakeLists.txt b/tests/auto/qmltest/itemgrabber/CMakeLists.txt new file mode 100644 index 0000000000..41480f3e0a --- /dev/null +++ b/tests/auto/qmltest/itemgrabber/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from itemgrabber.pro. + +##################################################################### +## itemgrabber Test: +##################################################################### + +add_qt_test(itemgrabber + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:itemgrabber.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/layout/CMakeLists.txt b/tests/auto/qmltest/layout/CMakeLists.txt new file mode 100644 index 0000000000..2295b12bdd --- /dev/null +++ b/tests/auto/qmltest/layout/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from layout.pro. + +##################################################################### +## layout Test: +##################################################################### + +add_qt_test(layout + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:layout.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/listmodel/CMakeLists.txt b/tests/auto/qmltest/listmodel/CMakeLists.txt new file mode 100644 index 0000000000..6979cc4ece --- /dev/null +++ b/tests/auto/qmltest/listmodel/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from listmodel.pro. + +##################################################################### +## listmodel Test: +##################################################################### + +add_qt_test(listmodel + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:listmodel.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/listview/CMakeLists.txt b/tests/auto/qmltest/listview/CMakeLists.txt new file mode 100644 index 0000000000..c86723c120 --- /dev/null +++ b/tests/auto/qmltest/listview/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from listview.pro. + +##################################################################### +## listview Test: +##################################################################### + +add_qt_test(listview + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:listview.pro:: +# CONFIG = "qmltestcase" +# DISTFILES = "$$PWD/tst_listview.qml" "$$files$$PWD/data/*.qml" diff --git a/tests/auto/qmltest/objectmodel/CMakeLists.txt b/tests/auto/qmltest/objectmodel/CMakeLists.txt new file mode 100644 index 0000000000..beaecf03bc --- /dev/null +++ b/tests/auto/qmltest/objectmodel/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from objectmodel.pro. + +##################################################################### +## objectmodel Test: +##################################################################### + +add_qt_test(objectmodel + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:objectmodel.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/pathview/CMakeLists.txt b/tests/auto/qmltest/pathview/CMakeLists.txt new file mode 100644 index 0000000000..2aaca0d60b --- /dev/null +++ b/tests/auto/qmltest/pathview/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from pathview.pro. + +##################################################################### +## pathview Test: +##################################################################### + +add_qt_test(pathview + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:pathview.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/pixel/CMakeLists.txt b/tests/auto/qmltest/pixel/CMakeLists.txt new file mode 100644 index 0000000000..6aae4e0e0b --- /dev/null +++ b/tests/auto/qmltest/pixel/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from pixel.pro. + +##################################################################### +## pixel Test: +##################################################################### + +add_qt_test(pixel + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:pixel.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/positioners/CMakeLists.txt b/tests/auto/qmltest/positioners/CMakeLists.txt new file mode 100644 index 0000000000..79954b0dfa --- /dev/null +++ b/tests/auto/qmltest/positioners/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from positioners.pro. + +##################################################################### +## positioners Test: +##################################################################### + +add_qt_test(positioners + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:positioners.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/qqmlbinding/CMakeLists.txt b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt new file mode 100644 index 0000000000..bb43ee20ef --- /dev/null +++ b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qqmlbinding.pro. + +##################################################################### +## qqmlbinding Test: +##################################################################### + +add_qt_test(qqmlbinding + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qqmlbinding.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/qtbug46798/CMakeLists.txt b/tests/auto/qmltest/qtbug46798/CMakeLists.txt new file mode 100644 index 0000000000..31c1f20f62 --- /dev/null +++ b/tests/auto/qmltest/qtbug46798/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qtbug46798.pro. + +##################################################################### +## qtbug46798 Test: +##################################################################### + +add_qt_test(qtbug46798 + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtbug46798.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/rectangle/CMakeLists.txt b/tests/auto/qmltest/rectangle/CMakeLists.txt new file mode 100644 index 0000000000..5491359758 --- /dev/null +++ b/tests/auto/qmltest/rectangle/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from rectangle.pro. + +##################################################################### +## rectangle Test: +##################################################################### + +add_qt_test(rectangle + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:rectangle.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/selftests/CMakeLists.txt b/tests/auto/qmltest/selftests/CMakeLists.txt new file mode 100644 index 0000000000..e49951e9d9 --- /dev/null +++ b/tests/auto/qmltest/selftests/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from selftests.pro. + +##################################################################### +## selftests Test: +##################################################################### + +add_qt_test(selftests + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:selftests.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/shadersource/CMakeLists.txt b/tests/auto/qmltest/shadersource/CMakeLists.txt new file mode 100644 index 0000000000..a9178a0931 --- /dev/null +++ b/tests/auto/qmltest/shadersource/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from shadersource.pro. + +##################################################################### +## shadersource Test: +##################################################################### + +add_qt_test(shadersource + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shadersource.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/stability/CMakeLists.txt b/tests/auto/qmltest/stability/CMakeLists.txt new file mode 100644 index 0000000000..cc2434f305 --- /dev/null +++ b/tests/auto/qmltest/stability/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from stability.pro. + +##################################################################### +## stability Test: +##################################################################### + +add_qt_test(stability + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:stability.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt new file mode 100644 index 0000000000..6d587323e9 --- /dev/null +++ b/tests/auto/qmltest/statemachine/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from statemachine.pro. + +##################################################################### +## statemachine Test: +##################################################################### + +add_qt_test(statemachine + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:statemachine.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/text/CMakeLists.txt b/tests/auto/qmltest/text/CMakeLists.txt new file mode 100644 index 0000000000..b369f3f166 --- /dev/null +++ b/tests/auto/qmltest/text/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from text.pro. + +##################################################################### +## text Test: +##################################################################### + +add_qt_test(text + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:text.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/textedit/CMakeLists.txt b/tests/auto/qmltest/textedit/CMakeLists.txt new file mode 100644 index 0000000000..e6c6cbb864 --- /dev/null +++ b/tests/auto/qmltest/textedit/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from textedit.pro. + +##################################################################### +## textedit Test: +##################################################################### + +add_qt_test(textedit + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:textedit.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/textinput/CMakeLists.txt b/tests/auto/qmltest/textinput/CMakeLists.txt new file mode 100644 index 0000000000..009173afad --- /dev/null +++ b/tests/auto/qmltest/textinput/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from textinput.pro. + +##################################################################### +## textinput Test: +##################################################################### + +add_qt_test(textinput + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:textinput.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/qmltest/window/CMakeLists.txt b/tests/auto/qmltest/window/CMakeLists.txt new file mode 100644 index 0000000000..d9ec6cab26 --- /dev/null +++ b/tests/auto/qmltest/window/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from window.pro. + +##################################################################### +## window Test: +##################################################################### + +add_qt_test(window + GUI + QMLTEST + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:window.pro:: +# CONFIG = "qmltestcase" diff --git a/tests/auto/quick/CMakeLists.txt b/tests/auto/quick/CMakeLists.txt new file mode 100644 index 0000000000..488150c61c --- /dev/null +++ b/tests/auto/quick/CMakeLists.txt @@ -0,0 +1,68 @@ +# Generated from quick.pro. + +add_subdirectory(geometry) +add_subdirectory(qquickpixmapcache) +if(QT_FEATURE_private_tests) + add_subdirectory(nokeywords) + add_subdirectory(propertyrequirements) + add_subdirectory(qquickanimations) + add_subdirectory(qquickapplication) + add_subdirectory(qquickbehaviors) + add_subdirectory(qquickboundaryrule) + add_subdirectory(qquickfontloader) + add_subdirectory(qquickfontloader_static) + add_subdirectory(qquickfontmetrics) + add_subdirectory(qquickimageprovider) + add_subdirectory(qquicklayouts) + add_subdirectory(qquickpath) + add_subdirectory(qquicksmoothedanimation) + add_subdirectory(qquickspringanimation) + add_subdirectory(qquickanimationcontroller) + add_subdirectory(qquickstyledtext) + add_subdirectory(qquickstates) + add_subdirectory(qquicksystempalette) + add_subdirectory(qquicktimeline) + add_subdirectory(pointerhandlers) + add_subdirectory(qquickaccessible) + add_subdirectory(qquickanchors) + add_subdirectory(qquickanimatedimage) + add_subdirectory(qquickdynamicpropertyanimation) + add_subdirectory(qquickborderimage) + add_subdirectory(qquickwindow) + add_subdirectory(qquickdrag) + add_subdirectory(qquickdroparea) + add_subdirectory(qquickflickable) + add_subdirectory(qquickflipable) + add_subdirectory(qquickfocusscope) + add_subdirectory(qquickgraphicsinfo) + add_subdirectory(qquickgridview) + add_subdirectory(qquickimage) + add_subdirectory(qquickitem) + add_subdirectory(qquickitem2) + add_subdirectory(qquickitemlayer) + add_subdirectory(qquicklistview) + add_subdirectory(qquicktableview) + add_subdirectory(qquickloader) + add_subdirectory(qquickmousearea) + add_subdirectory(qquickmultipointtoucharea) + add_subdirectory(qquickpainteditem) + add_subdirectory(qquickshape) + add_subdirectory(qquickpathview) + add_subdirectory(qquickpincharea) + add_subdirectory(qquickpositioners) + add_subdirectory(qquickrectangle) + add_subdirectory(qquickrepeater) + add_subdirectory(qquickshortcut) + add_subdirectory(qquicktext) + add_subdirectory(qquicktextdocument) + add_subdirectory(qquicktextedit) + add_subdirectory(qquicktextinput) + add_subdirectory(qquickvisualdatamodel) + add_subdirectory(qquickview) + add_subdirectory(qquickcanvasitem) + add_subdirectory(qquickdesignersupport) + add_subdirectory(qquickscreen) + add_subdirectory(touchmouse) + add_subdirectory(scenegraph) + add_subdirectory(sharedimage) +endif() diff --git a/tests/auto/quick/drawingmodes/CMakeLists.txt b/tests/auto/quick/drawingmodes/CMakeLists.txt new file mode 100644 index 0000000000..ab0be47cfa --- /dev/null +++ b/tests/auto/quick/drawingmodes/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from drawingmodes.pro. + +##################################################################### +## tst_drawingmodes Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_drawingmodes + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_drawingmodes.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:drawingmodes.pro:: +# CONFIG = "testcase" "parallel_test" +# OTHER_FILES = "data/DrawingModes.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:drawingmodes.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_drawingmodes CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_drawingmodes CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/examples/CMakeLists.txt b/tests/auto/quick/examples/CMakeLists.txt new file mode 100644 index 0000000000..f8526b8dc7 --- /dev/null +++ b/tests/auto/quick/examples/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from examples.pro. + +##################################################################### +## tst_examples Test: +##################################################################### + +add_qt_test(tst_examples + GUI + SOURCES + tst_examples.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:examples.pro:: +# CONFIG = "testcase" +# testcase.timeout = "400" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:examples.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/geometry/CMakeLists.txt b/tests/auto/quick/geometry/CMakeLists.txt new file mode 100644 index 0000000000..006b5529b7 --- /dev/null +++ b/tests/auto/quick/geometry/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from geometry.pro. + +##################################################################### +## tst_geometry Test: +##################################################################### + +add_qt_test(tst_geometry + GUI + SOURCES + tst_geometry.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:geometry.pro:: +# CONFIG = "testcase" "parallel_test" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:geometry.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/nodes/CMakeLists.txt b/tests/auto/quick/nodes/CMakeLists.txt new file mode 100644 index 0000000000..734480abe3 --- /dev/null +++ b/tests/auto/quick/nodes/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from nodes.pro. + +##################################################################### +## tst_nodestest Test: +##################################################################### + +add_qt_test(tst_nodestest + GUI + SOURCES + tst_nodestest.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:nodes.pro:: +# CONFIG = "testcase" "parallel_test" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:nodes.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/nokeywords/CMakeLists.txt b/tests/auto/quick/nokeywords/CMakeLists.txt new file mode 100644 index 0000000000..4295eb996c --- /dev/null +++ b/tests/auto/quick/nokeywords/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from nokeywords.pro. + +##################################################################### +## tst_nokeywords Test: +##################################################################### + +add_qt_test(tst_nokeywords + GUI + SOURCES + tst_nokeywords.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:nokeywords.pro:: +# CONFIG = "testcase" "parallel_test" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:nokeywords.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/pointerhandlers/CMakeLists.txt b/tests/auto/quick/pointerhandlers/CMakeLists.txt new file mode 100644 index 0000000000..be23ca12ad --- /dev/null +++ b/tests/auto/quick/pointerhandlers/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from pointerhandlers.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(flickableinterop) + add_subdirectory(multipointtoucharea_interop) + add_subdirectory(qquickdraghandler) + add_subdirectory(qquickhoverhandler) + add_subdirectory(qquickpinchhandler) + add_subdirectory(qquickpointerhandler) + add_subdirectory(qquickpointhandler) + add_subdirectory(qquicktaphandler) + add_subdirectory(qquickwheelhandler) +endif() diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt new file mode 100644 index 0000000000..f45173d469 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from flickableinterop.pro. + +##################################################################### +## tst_flickableinterop Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_flickableinterop + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_flickableinterop.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:flickableinterop.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/flickableWithHandlers.qml" "data/Slider.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:flickableinterop.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_flickableinterop CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_flickableinterop CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt new file mode 100644 index 0000000000..e65638f6d5 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from multipointtoucharea_interop.pro. + +##################################################################### +## tst_multipointtoucharea_interop Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_multipointtoucharea_interop + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_multipointtoucharea_interop.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:multipointtoucharea_interop.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/pinchDragMPTA.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:multipointtoucharea_interop.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_multipointtoucharea_interop CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_multipointtoucharea_interop CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt new file mode 100644 index 0000000000..fdd71ce558 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickdraghandler.pro. + +##################################################################### +## tst_qquickdraghandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickdraghandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickdraghandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickdraghandler.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/DragAnywhereSlider.qml" "data/FlashAnimation.qml" "data/Slider.qml" "data/draggables.qml" "data/grabberstate.qml" "data/multipleSliders.qml" "data/reparenting.qml" "data/snapMode.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickdraghandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickdraghandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickdraghandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt new file mode 100644 index 0000000000..0305faf119 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickhoverhandler.pro. + +##################################################################### +## tst_qquickhoverhandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickhoverhandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickhoverhandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickhoverhandler.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/lesHoverables.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickhoverhandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickhoverhandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickhoverhandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt new file mode 100644 index 0000000000..c00d7af096 --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickpinchhandler.pro. + +##################################################################### +## tst_qquickpinchhandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpinchhandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickpinchhandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpinchhandler.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/pinchproperties.qml" "data/threeFingers.qml" "data/transformedPinchArea.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpinchhandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpinchhandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpinchhandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt new file mode 100644 index 0000000000..7650009e5e --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickpointerhandler.pro. + +##################################################################### +## tst_qquickpointerhandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpointerhandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickpointerhandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpointerhandler.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpointerhandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpointerhandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpointerhandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt new file mode 100644 index 0000000000..ec05ce058e --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickpointhandler.pro. + +##################################################################### +## tst_qquickpointhandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpointhandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickpointhandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpointhandler.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/pointTracker.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpointhandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpointhandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpointhandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt new file mode 100644 index 0000000000..f80bb5400b --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquicktaphandler.pro. + +##################################################################### +## tst_qquicktaphandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktaphandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquicktaphandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktaphandler.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktaphandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktaphandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktaphandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt new file mode 100644 index 0000000000..beee5e2c7a --- /dev/null +++ b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickwheelhandler.pro. + +##################################################################### +## tst_qquickwheelhandler Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickwheelhandler + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../../shared/geometrytestutil.cpp ../../shared/geometrytestutil.h + ../../shared/viewtestutil.cpp ../../shared/viewtestutil.h + ../../shared/visualtestutil.cpp ../../shared/visualtestutil.h + tst_qquickwheelhandler.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickwheelhandler.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/rectWheel.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwheelhandler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickwheelhandler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickwheelhandler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/propertyrequirements/CMakeLists.txt b/tests/auto/quick/propertyrequirements/CMakeLists.txt new file mode 100644 index 0000000000..f1682f6f0b --- /dev/null +++ b/tests/auto/quick/propertyrequirements/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from propertyrequirements.pro. + +##################################################################### +## tst_propertyrequirements Test: +##################################################################### + +add_qt_test(tst_propertyrequirements + GUI + SOURCES + tst_propertyrequirements.cpp + LIBRARIES + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:propertyrequirements.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:propertyrequirements.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickaccessible/CMakeLists.txt b/tests/auto/quick/qquickaccessible/CMakeLists.txt new file mode 100644 index 0000000000..5ad7f7df61 --- /dev/null +++ b/tests/auto/quick/qquickaccessible/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickaccessible.pro. + +##################################################################### +## tst_qquickaccessible Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickaccessible + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickaccessible.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickaccessible.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/checkbuttons.qml" "data/hittest.qml" "data/pushbutton.qml" "data/statictext.qml" "data/ignored.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickaccessible.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickaccessible CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickaccessible CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickanchors/CMakeLists.txt b/tests/auto/quick/qquickanchors/CMakeLists.txt new file mode 100644 index 0000000000..1593de24d8 --- /dev/null +++ b/tests/auto/quick/qquickanchors/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickanchors.pro. + +##################################################################### +## tst_qquickanchors Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickanchors + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickanchors.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickanchors.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickanchors.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickanchors CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickanchors CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickanimatedimage/CMakeLists.txt b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt new file mode 100644 index 0000000000..7032f478ab --- /dev/null +++ b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickanimatedimage.pro. + +##################################################################### +## tst_qquickanimatedimage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickanimatedimage + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qquickanimatedimage.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickanimatedimage.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickanimatedimage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickanimatedimage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickanimatedimage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt new file mode 100644 index 0000000000..e03b7c1810 --- /dev/null +++ b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qquickanimatedsprite.pro. + +##################################################################### +## tst_qquickanimatedsprite Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickanimatedsprite + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickanimatedsprite.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickanimatedsprite.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "$$filesdata/*.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickanimatedsprite.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickanimatedsprite CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickanimatedsprite CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt new file mode 100644 index 0000000000..41dc23283e --- /dev/null +++ b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qquickanimationcontroller.pro. + +##################################################################### +## tst_qquickanimationcontroller Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickanimationcontroller + GUI + QMLTEST + SOURCES + tst_qquickanimationcontroller.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickanimationcontroller.pro:: +# CONFIG = "qmltestcase" +# TEMPLATE = "app" diff --git a/tests/auto/quick/qquickanimations/CMakeLists.txt b/tests/auto/quick/qquickanimations/CMakeLists.txt new file mode 100644 index 0000000000..6400a6b966 --- /dev/null +++ b/tests/auto/quick/qquickanimations/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickanimations.pro. + +##################################################################### +## tst_qquickanimations Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickanimations + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickanimations.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickanimations.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/animationJobSelfDestructionBug.qml" "data/attached.qml" "data/badproperty1.qml" "data/badproperty2.qml" "data/badtype1.qml" "data/badtype2.qml" "data/badtype3.qml" "data/badtype4.qml" "data/disabledTransition.qml" "data/dontAutoStart.qml" "data/dontStart.qml" "data/dontStart2.qml" "data/dotproperty.qml" "data/Double.qml" "data/doubleRegistrationBug.qml" "data/fastFlickingBug.qml" "data/looping.qml" "data/mixedtype1.qml" "data/mixedtype2.qml" "data/nonTransitionBug.qml" "data/parallelAnimationNullChildBug.qml" "data/pathAnimation.qml" "data/pathAnimation2.qml" "data/pathAnimationInOutBackCrash.qml" "data/pathAnimationNoStart.qml" "data/pathInterpolator.qml" "data/pathInterpolatorBack.qml" "data/pathInterpolatorBack2.qml" "data/pathTransition.qml" "data/pauseBindingBug.qml" "data/pauseBug.qml" "data/properties.qml" "data/properties2.qml" "data/properties3.qml" "data/properties4.qml" "data/properties5.qml" "data/propertiesTransition.qml" "data/propertiesTransition2.qml" "data/propertiesTransition3.qml" "data/propertiesTransition4.qml" "data/propertiesTransition5.qml" "data/propertiesTransition6.qml" "data/propertiesTransition7.qml" "data/reanchor.qml" "data/registrationBug.qml" "data/reparent.qml" "data/rotation.qml" "data/runningTrueBug.qml" "data/scriptActionBug.qml" "data/scriptActionCrash.qml" "data/sequentialAnimationNullChildBug.qml" "data/signals.qml" "data/transitionAssignmentBug.qml" "data/valuesource.qml" "data/valuesource2.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickanimations.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickanimations CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickanimations CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickanimators/CMakeLists.txt b/tests/auto/quick/qquickanimators/CMakeLists.txt new file mode 100644 index 0000000000..eeb0d00634 --- /dev/null +++ b/tests/auto/quick/qquickanimators/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qquickanimators.pro. + +##################################################################### +## tst_qquickanimators Test: +##################################################################### + +add_qt_test(tst_qquickanimators + GUI + SOURCES + tst_qquickanimators.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickanimators.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickanimators.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickapplication/CMakeLists.txt b/tests/auto/quick/qquickapplication/CMakeLists.txt new file mode 100644 index 0000000000..0fe704c8f5 --- /dev/null +++ b/tests/auto/quick/qquickapplication/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qquickapplication.pro. + +##################################################################### +## tst_qquickapplication Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickapplication + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickapplication.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickapplication.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/tst_displayname.qml" "data/tst_platformname.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickapplication.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickapplication CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickapplication CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickbehaviors/CMakeLists.txt b/tests/auto/quick/qquickbehaviors/CMakeLists.txt new file mode 100644 index 0000000000..b9bb0d0bba --- /dev/null +++ b/tests/auto/quick/qquickbehaviors/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qquickbehaviors.pro. + +##################################################################### +## tst_qquickbehaviors Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickbehaviors + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickbehaviors.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickbehaviors.pro:: +# CONFIG = "testcase" +# DISTFILES = "$$filesdata/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickbehaviors.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickbehaviors CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickbehaviors CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickborderimage/CMakeLists.txt b/tests/auto/quick/qquickborderimage/CMakeLists.txt new file mode 100644 index 0000000000..8a675c1bb6 --- /dev/null +++ b/tests/auto/quick/qquickborderimage/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qquickborderimage.pro. + +##################################################################### +## tst_qquickborderimage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickborderimage + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickborderimage.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickborderimage.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickborderimage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickborderimage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickborderimage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickboundaryrule/CMakeLists.txt b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt new file mode 100644 index 0000000000..afb34d3423 --- /dev/null +++ b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickboundaryrule.pro. + +##################################################################### +## tst_qquickboundaryrule Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickboundaryrule + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickboundaryrule.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickboundaryrule.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickboundaryrule.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickboundaryrule CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickboundaryrule CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickcanvasitem/CMakeLists.txt b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt new file mode 100644 index 0000000000..eedcb1b8c7 --- /dev/null +++ b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from qquickcanvasitem.pro. + +##################################################################### +## tst_qquickcanvasitem Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickcanvasitem + GUI + QMLTEST + SOURCES + tst_qquickcanvasitem.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickcanvasitem.pro:: +# CONFIG = "qmltestcase" "insignificant_test" +# OTHER_FILES = "data/tst_transform.qml" "data/tst_text.qml" "data/tst_strokeStyle.qml" "data/tst_state.qml" "data/tst_shadow.qml" "data/tst_pattern.qml" "data/tst_path.qml" "data/tst_line.qml" "data/tst_fillStyle.qml" "data/tst_fillrect.qml" "data/tst_composite.qml" "data/tst_canvas.qml" "data/tst_pixel.qml" "data/tst_gradient.qml" "data/tst_arcto.qml" "data/tst_arc.qml" "data/tst_context.qml" "data/tst_imagedata.qml" "data/CanvasTestCase.qml" "data/CanvasComponent.qml" "data/tst_image.qml" "data/tst_svgpath.qml" "data/anim-gr.gif" "data/anim-gr.png" "data/anim-poster-gr.png" "data/background.png" "data/broken.png" "data/ggrr-256x256.png" "data/green-1x1.png" "data/green-2x2.png" "data/green-16x16.png" "data/green-256x256.png" "data/green.png" "data/grgr-256x256.png" "data/red-16x16.png" "data/red.png" "data/redtransparent.png" "data/rgrg-256x256.png" "data/rrgg-256x256.png" "data/transparent.png" "data/transparent50.png" "data/yellow.png" "data/yellow75.png" "data/tst_invalidContext.qml" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +extend_target(tst_qquickcanvasitem CONDITION EXISTS _ss_[QT_INSTALL_PLUGINS]/imageformats + DEFINES + HAS_IMAGE_FORMATS +) diff --git a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt new file mode 100644 index 0000000000..900822ed06 --- /dev/null +++ b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickdesignersupport.pro. + +##################################################################### +## tst_qquickdesignersupport Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickdesignersupport + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickdesignersupport.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickdesignersupport.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/TestComponent.qml" "data/test.qml" "data/componentTest.qml" "data/Component01.qml" "data/Component02.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickdesignersupport.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickdesignersupport CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickdesignersupport CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickdrag/CMakeLists.txt b/tests/auto/quick/qquickdrag/CMakeLists.txt new file mode 100644 index 0000000000..379be72636 --- /dev/null +++ b/tests/auto/quick/qquickdrag/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qquickdrag.pro. + +##################################################################### +## tst_qquickdrag Test: +##################################################################### + +add_qt_test(tst_qquickdrag + GUI + SOURCES + tst_qquickdrag.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickdrag.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickdrag.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickdroparea/CMakeLists.txt b/tests/auto/quick/qquickdroparea/CMakeLists.txt new file mode 100644 index 0000000000..083a08cf10 --- /dev/null +++ b/tests/auto/quick/qquickdroparea/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qquickdroparea.pro. + +##################################################################### +## tst_qquickdroparea Test: +##################################################################### + +add_qt_test(tst_qquickdroparea + GUI + SOURCES + tst_qquickdroparea.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickdroparea.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickdroparea.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt new file mode 100644 index 0000000000..ccac3c9752 --- /dev/null +++ b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qquickdynamicpropertyanimation.pro. + +##################################################################### +## tst_qquickdynamicpropertyanimation Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickdynamicpropertyanimation + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickdynamicpropertyanimation.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickdynamicpropertyanimation.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickdynamicpropertyanimation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickdynamicpropertyanimation CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickdynamicpropertyanimation CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickflickable/CMakeLists.txt b/tests/auto/quick/qquickflickable/CMakeLists.txt new file mode 100644 index 0000000000..89403c19bd --- /dev/null +++ b/tests/auto/quick/qquickflickable/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickflickable.pro. + +##################################################################### +## tst_qquickflickable Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickflickable + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickflickable.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickflickable.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickflickable.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickflickable CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickflickable CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickflipable/CMakeLists.txt b/tests/auto/quick/qquickflipable/CMakeLists.txt new file mode 100644 index 0000000000..1ae064806d --- /dev/null +++ b/tests/auto/quick/qquickflipable/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickflipable.pro. + +##################################################################### +## tst_qquickflipable Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickflipable + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickflipable.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickflipable.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickflipable.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickflipable CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickflipable CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickfocusscope/CMakeLists.txt b/tests/auto/quick/qquickfocusscope/CMakeLists.txt new file mode 100644 index 0000000000..9fb29df116 --- /dev/null +++ b/tests/auto/quick/qquickfocusscope/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickfocusscope.pro. + +##################################################################### +## tst_qquickfocusscope Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfocusscope + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickfocusscope.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickfocusscope.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfocusscope.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfocusscope CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfocusscope CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickfontloader/CMakeLists.txt b/tests/auto/quick/qquickfontloader/CMakeLists.txt new file mode 100644 index 0000000000..38fc6d9814 --- /dev/null +++ b/tests/auto/quick/qquickfontloader/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qquickfontloader.pro. + +##################################################################### +## tst_qquickfontloader Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfontloader + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qquickfontloader.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickfontloader.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfontloader.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfontloader CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfontloader CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickfontloader_static/CMakeLists.txt b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt new file mode 100644 index 0000000000..47bd55237d --- /dev/null +++ b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qquickfontloader_static.pro. + +##################################################################### +## tst_qquickfontloader_static Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickfontloader_static + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickfontloader_static.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickfontloader_static.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfontloader_static.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickfontloader_static CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickfontloader_static CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickfontmetrics/CMakeLists.txt b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt new file mode 100644 index 0000000000..b141b4ef8f --- /dev/null +++ b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from qquickfontmetrics.pro. + +##################################################################### +## tst_quickfontmetrics Test: +##################################################################### + +add_qt_test(tst_quickfontmetrics + GUI + SOURCES + tst_quickfontmetrics.cpp + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickfontmetrics.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickfontmetrics.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickframebufferobject/CMakeLists.txt b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt new file mode 100644 index 0000000000..32ecd761f0 --- /dev/null +++ b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qquickframebufferobject.pro. + +##################################################################### +## tst_qquickframebufferobject Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickframebufferobject + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickframebufferobject.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickframebufferobject.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/testStuff.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickframebufferobject.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickframebufferobject CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickframebufferobject CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt new file mode 100644 index 0000000000..111de2b978 --- /dev/null +++ b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qquickgraphicsinfo.pro. + +##################################################################### +## tst_qquickgraphicsinfo Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickgraphicsinfo + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickgraphicsinfo.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickgraphicsinfo.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/basic.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickgraphicsinfo.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickgraphicsinfo CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickgraphicsinfo CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickgridview/CMakeLists.txt b/tests/auto/quick/qquickgridview/CMakeLists.txt new file mode 100644 index 0000000000..a9c985920d --- /dev/null +++ b/tests/auto/quick/qquickgridview/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from qquickgridview.pro. + +##################################################################### +## tst_qquickgridview Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickgridview + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickgridview.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickgridview.pro:: +# CONFIG = "testcase" +# testcase.timeout = "1100" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickgridview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickgridview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickgridview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickimage/CMakeLists.txt b/tests/auto/quick/qquickimage/CMakeLists.txt new file mode 100644 index 0000000000..4fcb949ce0 --- /dev/null +++ b/tests/auto/quick/qquickimage/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qquickimage.pro. + +##################################################################### +## tst_qquickimage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickimage + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickimage.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickimage.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickimage.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickimage CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickimage CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickimageprovider/CMakeLists.txt b/tests/auto/quick/qquickimageprovider/CMakeLists.txt new file mode 100644 index 0000000000..4db2a56630 --- /dev/null +++ b/tests/auto/quick/qquickimageprovider/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qquickimageprovider.pro. + +##################################################################### +## tst_qquickimageprovider Test: +##################################################################### + +add_qt_test(tst_qquickimageprovider + GUI + SOURCES + tst_qquickimageprovider.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickimageprovider.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickimageprovider.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickitem/CMakeLists.txt b/tests/auto/quick/qquickitem/CMakeLists.txt new file mode 100644 index 0000000000..fe9f817b4b --- /dev/null +++ b/tests/auto/quick/qquickitem/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from qquickitem.pro. + +##################################################################### +## tst_qquickitem Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickitem + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickitem.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickitem.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickitem.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickitem CONDITION TARGET Qt::Widgets + DEFINES + TEST_QTBUG_60123 + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qquickitem CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickitem CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickitem2/CMakeLists.txt b/tests/auto/quick/qquickitem2/CMakeLists.txt new file mode 100644 index 0000000000..48d0a21a91 --- /dev/null +++ b/tests/auto/quick/qquickitem2/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickitem2.pro. + +##################################################################### +## tst_qquickitem2 Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickitem2 + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickitem.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickitem2.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickitem2.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickitem2 CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickitem2 CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickitemlayer/CMakeLists.txt b/tests/auto/quick/qquickitemlayer/CMakeLists.txt new file mode 100644 index 0000000000..cb140b92d0 --- /dev/null +++ b/tests/auto/quick/qquickitemlayer/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qquickitemlayer.pro. + +##################################################################### +## tst_qquickitemlayer Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickitemlayer + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickitemlayer.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickitemlayer.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/Smooth.qml" "data/Enabled.qml" "data/Mipmap.qml" "data/Effect.qml" "data/SourceRect.qml" "data/TextureProvider.qml" "data/Visible.qml" "data/ZOrder.qml" "data/ZOrderChange.qml" "data/ToggleLayerAndEffect.qml" "data/DisableLayer.qml" "data/SamplerNameChange.qml" "data/ItemEffect.qml" "data/RectangleEffect.qml" "data/TextureMirroring.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickitemlayer.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickitemlayer CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickitemlayer CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicklayouts/CMakeLists.txt b/tests/auto/quick/qquicklayouts/CMakeLists.txt new file mode 100644 index 0000000000..e37f376d43 --- /dev/null +++ b/tests/auto/quick/qquicklayouts/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qquicklayouts.pro. + +##################################################################### +## tst_qquicklayouts Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicklayouts + GUI + QMLTEST + SOURCES + tst_qquicklayouts.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicklayouts.pro:: +# CONFIG = "qmltestcase" +# OTHER_FILES = "data/tst_rowlayout.qml" "data/tst_gridlayout.qml" "data/tst_stacklayout.qml" +# TEMPLATE = "app" diff --git a/tests/auto/quick/qquicklistview/CMakeLists.txt b/tests/auto/quick/qquicklistview/CMakeLists.txt new file mode 100644 index 0000000000..6c70160aac --- /dev/null +++ b/tests/auto/quick/qquicklistview/CMakeLists.txt @@ -0,0 +1,64 @@ +# Generated from qquicklistview.pro. + +##################################################################### +## tst_qquicklistview Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicklistview + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + incrementalmodel.cpp incrementalmodel.h + proxytestinnermodel.cpp proxytestinnermodel.h + randomsortmodel.cpp randomsortmodel.h + tst_qquicklistview.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicklistview.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/*" +# testcase.timeout = "900" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicklistview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicklistview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicklistview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickloader/CMakeLists.txt b/tests/auto/quick/qquickloader/CMakeLists.txt new file mode 100644 index 0000000000..73125de827 --- /dev/null +++ b/tests/auto/quick/qquickloader/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qquickloader.pro. + +##################################################################### +## tst_qquickloader Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickloader + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickloader.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickloader.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickloader.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickloader CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickloader CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickmousearea/CMakeLists.txt b/tests/auto/quick/qquickmousearea/CMakeLists.txt new file mode 100644 index 0000000000..dac995f721 --- /dev/null +++ b/tests/auto/quick/qquickmousearea/CMakeLists.txt @@ -0,0 +1,59 @@ +# Generated from qquickmousearea.pro. + +##################################################################### +## tst_qquickmousearea Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickmousearea + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickmousearea.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickmousearea.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "$$filesdata/*.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickmousearea.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickmousearea CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickmousearea CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt new file mode 100644 index 0000000000..4f7b5b9c99 --- /dev/null +++ b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickmultipointtoucharea.pro. + +##################################################################### +## tst_qquickmultipointtoucharea Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickmultipointtoucharea + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickmultipointtoucharea.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickmultipointtoucharea.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickmultipointtoucharea.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickmultipointtoucharea CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickmultipointtoucharea CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickopenglinfo/CMakeLists.txt b/tests/auto/quick/qquickopenglinfo/CMakeLists.txt new file mode 100644 index 0000000000..a35670be38 --- /dev/null +++ b/tests/auto/quick/qquickopenglinfo/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qquickopenglinfo.pro. + +##################################################################### +## tst_qquickopenglinfo Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickopenglinfo + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickopenglinfo.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickopenglinfo.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/basic.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickopenglinfo.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickopenglinfo CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickopenglinfo CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickpainteditem/CMakeLists.txt b/tests/auto/quick/qquickpainteditem/CMakeLists.txt new file mode 100644 index 0000000000..09c480b9f6 --- /dev/null +++ b/tests/auto/quick/qquickpainteditem/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qquickpainteditem.pro. + +##################################################################### +## tst_qquickpainteditem Test: +##################################################################### + +add_qt_test(tst_qquickpainteditem + GUI + SOURCES + tst_qquickpainteditem.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickpainteditem.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpainteditem.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickpath/CMakeLists.txt b/tests/auto/quick/qquickpath/CMakeLists.txt new file mode 100644 index 0000000000..2338df87fa --- /dev/null +++ b/tests/auto/quick/qquickpath/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qquickpath.pro. + +##################################################################### +## tst_qquickpath Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpath + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickpath.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpath.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpath.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpath CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpath CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickpathview/CMakeLists.txt b/tests/auto/quick/qquickpathview/CMakeLists.txt new file mode 100644 index 0000000000..dfb7a8cc54 --- /dev/null +++ b/tests/auto/quick/qquickpathview/CMakeLists.txt @@ -0,0 +1,64 @@ +# Generated from qquickpathview.pro. + +##################################################################### +## tst_qquickpathview Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpathview + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickpathview.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpathview.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpathview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpathview CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qquickpathview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpathview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickpincharea/CMakeLists.txt b/tests/auto/quick/qquickpincharea/CMakeLists.txt new file mode 100644 index 0000000000..ca35da6eaf --- /dev/null +++ b/tests/auto/quick/qquickpincharea/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickpincharea.pro. + +##################################################################### +## tst_qquickpincharea Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpincharea + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickpincharea.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpincharea.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpincharea.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpincharea CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpincharea CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt new file mode 100644 index 0000000000..5dc5bd71ab --- /dev/null +++ b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qquickpixmapcache.pro. + +##################################################################### +## tst_qquickpixmapcache Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpixmapcache + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qquickpixmapcache.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Concurrent + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpixmapcache.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpixmapcache.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpixmapcache CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpixmapcache CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickpositioners/CMakeLists.txt b/tests/auto/quick/qquickpositioners/CMakeLists.txt new file mode 100644 index 0000000000..a01fd45328 --- /dev/null +++ b/tests/auto/quick/qquickpositioners/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickpositioners.pro. + +##################################################################### +## tst_qquickpositioners Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickpositioners + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickpositioners.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpositioners.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickpositioners.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickpositioners CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickpositioners CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickrectangle/CMakeLists.txt b/tests/auto/quick/qquickrectangle/CMakeLists.txt new file mode 100644 index 0000000000..8186d01e61 --- /dev/null +++ b/tests/auto/quick/qquickrectangle/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickrectangle.pro. + +##################################################################### +## tst_qquickrectangle Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickrectangle + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickrectangle.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickrectangle.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickrectangle.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickrectangle CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickrectangle CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickrepeater/CMakeLists.txt b/tests/auto/quick/qquickrepeater/CMakeLists.txt new file mode 100644 index 0000000000..db9ff124c3 --- /dev/null +++ b/tests/auto/quick/qquickrepeater/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qquickrepeater.pro. + +##################################################################### +## tst_qquickrepeater Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickrepeater + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickrepeater.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickrepeater.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickrepeater.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickrepeater CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickrepeater CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickscreen/CMakeLists.txt b/tests/auto/quick/qquickscreen/CMakeLists.txt new file mode 100644 index 0000000000..ccd5e04513 --- /dev/null +++ b/tests/auto/quick/qquickscreen/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qquickscreen.pro. + +##################################################################### +## tst_qquickscreen Test: +##################################################################### + +add_qt_test(tst_qquickscreen + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickscreen.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickscreen.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickscreen.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickscreen CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickscreen CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickshadereffect/CMakeLists.txt b/tests/auto/quick/qquickshadereffect/CMakeLists.txt new file mode 100644 index 0000000000..50afc961b7 --- /dev/null +++ b/tests/auto/quick/qquickshadereffect/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qquickshadereffect.pro. + +##################################################################### +## tst_qquickshadereffect Test: +##################################################################### + +add_qt_test(tst_qquickshadereffect + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickshadereffect.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickshadereffect.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickshadereffect.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickshadereffect CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickshadereffect CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickshape/CMakeLists.txt b/tests/auto/quick/qquickshape/CMakeLists.txt new file mode 100644 index 0000000000..2e74f493fa --- /dev/null +++ b/tests/auto/quick/qquickshape/CMakeLists.txt @@ -0,0 +1,64 @@ +# Generated from qquickshape.pro. + +##################################################################### +## tst_qquickshape Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickshape + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickshape.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + Qt::QuickShapesPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickShapes + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickshape.pro:: +# CONFIG = "testcase" +# DISTFILES = "data/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickshape.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickshape CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qquickshape CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickshape CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickshortcut/CMakeLists.txt b/tests/auto/quick/qquickshortcut/CMakeLists.txt new file mode 100644 index 0000000000..f5f4ef9590 --- /dev/null +++ b/tests/auto/quick/qquickshortcut/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qquickshortcut.pro. + +##################################################################### +## tst_qquickshortcut Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickshortcut + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickshortcut.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickshortcut.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qquickshortcut CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::QuickWidgets +) + +extend_target(tst_qquickshortcut CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickshortcut CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt new file mode 100644 index 0000000000..7cfa0a3fb8 --- /dev/null +++ b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquicksmoothedanimation.pro. + +##################################################################### +## tst_qquicksmoothedanimation Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicksmoothedanimation + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquicksmoothedanimation.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicksmoothedanimation.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicksmoothedanimation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicksmoothedanimation CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicksmoothedanimation CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickspringanimation/CMakeLists.txt b/tests/auto/quick/qquickspringanimation/CMakeLists.txt new file mode 100644 index 0000000000..bfee6d380c --- /dev/null +++ b/tests/auto/quick/qquickspringanimation/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickspringanimation.pro. + +##################################################################### +## tst_qquickspringanimation Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickspringanimation + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickspringanimation.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickspringanimation.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickspringanimation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickspringanimation CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickspringanimation CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickspritesequence/CMakeLists.txt b/tests/auto/quick/qquickspritesequence/CMakeLists.txt new file mode 100644 index 0000000000..a415757072 --- /dev/null +++ b/tests/auto/quick/qquickspritesequence/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qquickspritesequence.pro. + +##################################################################### +## tst_qquickspritesequence Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickspritesequence + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickspritesequence.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickspritesequence.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickspritesequence.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickspritesequence CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickspritesequence CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickstates/CMakeLists.txt b/tests/auto/quick/qquickstates/CMakeLists.txt new file mode 100644 index 0000000000..38a026fb05 --- /dev/null +++ b/tests/auto/quick/qquickstates/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquickstates.pro. + +##################################################################### +## tst_qquickstates Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickstates + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickstates.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickstates.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickstates.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickstates CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickstates CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickstyledtext/CMakeLists.txt b/tests/auto/quick/qquickstyledtext/CMakeLists.txt new file mode 100644 index 0000000000..360e910bd7 --- /dev/null +++ b/tests/auto/quick/qquickstyledtext/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qquickstyledtext.pro. + +##################################################################### +## tst_qquickstyledtext Test: +##################################################################### + +add_qt_test(tst_qquickstyledtext + GUI + SOURCES + tst_qquickstyledtext.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquickstyledtext.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickstyledtext.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquicksystempalette/CMakeLists.txt b/tests/auto/quick/qquicksystempalette/CMakeLists.txt new file mode 100644 index 0000000000..20f4186cef --- /dev/null +++ b/tests/auto/quick/qquicksystempalette/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qquicksystempalette.pro. + +##################################################################### +## tst_qquicksystempalette Test: +##################################################################### + +add_qt_test(tst_qquicksystempalette + GUI + SOURCES + tst_qquicksystempalette.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquicksystempalette.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicksystempalette.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicksystempalette CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) diff --git a/tests/auto/quick/qquicktableview/CMakeLists.txt b/tests/auto/quick/qquicktableview/CMakeLists.txt new file mode 100644 index 0000000000..76001f9b84 --- /dev/null +++ b/tests/auto/quick/qquicktableview/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from qquicktableview.pro. + +##################################################################### +## tst_qquicktableview Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktableview + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + testmodel.h + tst_qquicktableview.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktableview.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktableview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktableview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktableview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicktext/CMakeLists.txt b/tests/auto/quick/qquicktext/CMakeLists.txt new file mode 100644 index 0000000000..c0c52eab6b --- /dev/null +++ b/tests/auto/quick/qquicktext/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qquicktext.pro. + +##################################################################### +## tst_qquicktext Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktext + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qquicktext.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + Qt::QuickTest + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktext.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktext.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktext CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktext CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicktextdocument/CMakeLists.txt b/tests/auto/quick/qquicktextdocument/CMakeLists.txt new file mode 100644 index 0000000000..5ae5ef9154 --- /dev/null +++ b/tests/auto/quick/qquicktextdocument/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qquicktextdocument.pro. + +##################################################################### +## tst_qquicktextdocument Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktextdocument + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquicktextdocument.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktextdocument.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktextdocument.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktextdocument CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktextdocument CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicktextedit/CMakeLists.txt b/tests/auto/quick/qquicktextedit/CMakeLists.txt new file mode 100644 index 0000000000..d87505d35f --- /dev/null +++ b/tests/auto/quick/qquicktextedit/CMakeLists.txt @@ -0,0 +1,64 @@ +# Generated from qquicktextedit.pro. + +##################################################################### +## tst_qquicktextedit Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktextedit + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquicktextedit.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::NetworkPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktextedit.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qquicktextedit CONDITION APPLE_OSX + PUBLIC_LIBRARIES + ${FWAppKit} +) + +#### Keys ignored in scope 2:.:.:qquicktextedit.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktextedit CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktextedit CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicktextinput/CMakeLists.txt b/tests/auto/quick/qquicktextinput/CMakeLists.txt new file mode 100644 index 0000000000..ac914291da --- /dev/null +++ b/tests/auto/quick/qquicktextinput/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquicktextinput.pro. + +##################################################################### +## tst_qquicktextinput Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquicktextinput + GUI + SOURCES + ../../shared/testhttpserver.cpp ../../shared/testhttpserver.h + ../../shared/util.cpp ../../shared/util.h + tst_qquicktextinput.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquicktextinput.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qquicktextinput CONDITION APPLE_OSX + PUBLIC_LIBRARIES + ${FWAppKit} +) + +#### Keys ignored in scope 2:.:.:qquicktextinput.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquicktextinput CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquicktextinput CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquicktextmetrics/CMakeLists.txt b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt new file mode 100644 index 0000000000..508657b370 --- /dev/null +++ b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from qquicktextmetrics.pro. + +##################################################################### +## tst_qquicktextmetrics Test: +##################################################################### + +add_qt_test(tst_qquicktextmetrics + GUI + SOURCES + tst_qquicktextmetrics.cpp + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquicktextmetrics.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktextmetrics.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquicktimeline/CMakeLists.txt b/tests/auto/quick/qquicktimeline/CMakeLists.txt new file mode 100644 index 0000000000..d303e7a462 --- /dev/null +++ b/tests/auto/quick/qquicktimeline/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qquicktimeline.pro. + +##################################################################### +## tst_qquicktimeline Test: +##################################################################### + +add_qt_test(tst_qquicktimeline + GUI + SOURCES + tst_qquicktimeline.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qquicktimeline.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquicktimeline.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quick/qquickview/CMakeLists.txt b/tests/auto/quick/qquickview/CMakeLists.txt new file mode 100644 index 0000000000..09aea1d0a3 --- /dev/null +++ b/tests/auto/quick/qquickview/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickview.pro. + +##################################################################### +## tst_qquickview Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickview + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickview.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickview.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt new file mode 100644 index 0000000000..db173d0d3e --- /dev/null +++ b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from qquickvisualdatamodel.pro. + +##################################################################### +## tst_qquickvisualdatamodel Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickvisualdatamodel + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickvisualdatamodel.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlModelsPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlModels + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickvisualdatamodel.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickvisualdatamodel.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickvisualdatamodel CONDITION TARGET Qt::Widgets + PUBLIC_LIBRARIES + Qt::Widgets +) + +extend_target(tst_qquickvisualdatamodel CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickvisualdatamodel CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/qquickwindow/CMakeLists.txt b/tests/auto/quick/qquickwindow/CMakeLists.txt new file mode 100644 index 0000000000..390fa0c154 --- /dev/null +++ b/tests/auto/quick/qquickwindow/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qquickwindow.pro. + +##################################################################### +## tst_qquickwindow Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickwindow + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_qquickwindow.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickwindow.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/active.qml" "data/AnimationsWhileHidden.qml" "data/Headless.qml" "data/showHideAnimate.qml" "data/windoworder.qml" "data/grabContentItemToImage.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwindow.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickwindow CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickwindow CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/rendernode/CMakeLists.txt b/tests/auto/quick/rendernode/CMakeLists.txt new file mode 100644 index 0000000000..2cbc4fdc66 --- /dev/null +++ b/tests/auto/quick/rendernode/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from rendernode.pro. + +##################################################################### +## tst_rendernode Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_rendernode + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_rendernode.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:rendernode.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/RenderOrder.qml" "data/MessUpState.qml" "data/matrix.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:rendernode.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_rendernode CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_rendernode CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/scenegraph/CMakeLists.txt b/tests/auto/quick/scenegraph/CMakeLists.txt new file mode 100644 index 0000000000..a635944e60 --- /dev/null +++ b/tests/auto/quick/scenegraph/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from scenegraph.pro. + +##################################################################### +## tst_scenegraph Test: +##################################################################### + +add_qt_test(tst_scenegraph + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_scenegraph.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:scenegraph.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/render_OutOfFloatRange.qml" "data/simple.qml" "data/render_ImageFiltering.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:scenegraph.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_scenegraph CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_scenegraph CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quick/sharedimage/CMakeLists.txt b/tests/auto/quick/sharedimage/CMakeLists.txt new file mode 100644 index 0000000000..3c400bbef0 --- /dev/null +++ b/tests/auto/quick/sharedimage/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from sharedimage.pro. + +##################################################################### +## tst_sharedimage Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_sharedimage + GUI + SOURCES + tst_sharedimage.cpp + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:sharedimage.pro:: +# CONFIG = "testcase" "-app_bundle" +# OTHER_FILES = "data/yellow.png" diff --git a/tests/auto/quick/touchmouse/CMakeLists.txt b/tests/auto/quick/touchmouse/CMakeLists.txt new file mode 100644 index 0000000000..bc5f2cdd67 --- /dev/null +++ b/tests/auto/quick/touchmouse/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from touchmouse.pro. + +##################################################################### +## tst_touchmouse Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_touchmouse + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + ../shared/geometrytestutil.cpp ../shared/geometrytestutil.h + ../shared/viewtestutil.cpp ../shared/viewtestutil.h + ../shared/visualtestutil.cpp ../shared/visualtestutil.h + tst_touchmouse.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:touchmouse.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:touchmouse.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_touchmouse CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_touchmouse CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quicktest/CMakeLists.txt b/tests/auto/quicktest/CMakeLists.txt new file mode 100644 index 0000000000..3686db8417 --- /dev/null +++ b/tests/auto/quicktest/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from quicktest.pro. + +add_subdirectory(polish) +add_subdirectory(signalspy) +add_subdirectory(quicktestmainwithsetup) +add_subdirectory(testfiltering) diff --git a/tests/auto/quicktest/polish-qml/CMakeLists.txt b/tests/auto/quicktest/polish-qml/CMakeLists.txt new file mode 100644 index 0000000000..8960319efd --- /dev/null +++ b/tests/auto/quicktest/polish-qml/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from polish-qml.pro. + +##################################################################### +## tst_polish-qml Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_polish-qml + GUI + QMLTEST + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_polish-qml.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:polish-qml.pro:: +# CONFIG = "qmltestcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:polish-qml.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_polish-qml CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_polish-qml CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quicktest/polish/CMakeLists.txt b/tests/auto/quicktest/polish/CMakeLists.txt new file mode 100644 index 0000000000..666d38352b --- /dev/null +++ b/tests/auto/quicktest/polish/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from polish.pro. + +##################################################################### +## tst_polish Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_polish + GUI + QMLTEST + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_polish.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:polish.pro:: +# CONFIG = "qmltestcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:polish.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_polish CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_polish CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt new file mode 100644 index 0000000000..e65654b4be --- /dev/null +++ b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from quicktestmainwithsetup.pro. + +##################################################################### +## tst_quicktestmainwithsetup Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_SOURCE_DIR}/data/*.qml") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_quicktestmainwithsetup + GUI + QMLTEST + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_quicktestmainwithsetup.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:quicktestmainwithsetup.pro:: +# CONFIG = "qmltestcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:quicktestmainwithsetup.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_quicktestmainwithsetup CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_quicktestmainwithsetup CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quicktest/signalspy/CMakeLists.txt b/tests/auto/quicktest/signalspy/CMakeLists.txt new file mode 100644 index 0000000000..20731a6fc4 --- /dev/null +++ b/tests/auto/quicktest/signalspy/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from signalspy.pro. + +##################################################################### +## tst_signalspy Test: +##################################################################### + +add_qt_test(tst_signalspy + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + mypropertymap.cpp mypropertymap.h + tst_signalspy.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:signalspy.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:signalspy.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_signalspy CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_signalspy CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/quicktest/testfiltering/CMakeLists.txt b/tests/auto/quicktest/testfiltering/CMakeLists.txt new file mode 100644 index 0000000000..77ece791dd --- /dev/null +++ b/tests/auto/quicktest/testfiltering/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from testfiltering.pro. + +add_subdirectory(test) +add_subdirectory(quicktestmain) diff --git a/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt new file mode 100644 index 0000000000..ff1f91ab58 --- /dev/null +++ b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from quicktestmain.pro. + +##################################################################### +## quicktestmain Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "${CMAKE_CURRENT_SOURCE_DIR}/*.qml") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(quicktestmain + GUI + QMLTEST + SOURCES + quicktestmain.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:quicktestmain.pro:: +# CONFIG = "qmltestcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:quicktestmain.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/quicktest/testfiltering/test/CMakeLists.txt b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt new file mode 100644 index 0000000000..7771c3a41a --- /dev/null +++ b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from test.pro. + +##################################################################### +## ../tst_testfiltering Test: +##################################################################### + +add_qt_test(tst_testfiltering + GUI + SOURCES + ../tst_testfiltering.cpp + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:test.pro:: +# CONFIG = "testcase" diff --git a/tests/auto/quickwidgets/CMakeLists.txt b/tests/auto/quickwidgets/CMakeLists.txt new file mode 100644 index 0000000000..938dbd05c0 --- /dev/null +++ b/tests/auto/quickwidgets/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from quickwidgets.pro. + +add_subdirectory(qquickwidget) diff --git a/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt new file mode 100644 index 0000000000..d59c38ebfe --- /dev/null +++ b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from qquickwidget.pro. + +##################################################################### +## tst_qquickwidget Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qquickwidget + GUI + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickwidget.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + Qt::QuickWidgetsPrivate + Qt::WidgetsPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickWidgets + Qt::Widgets + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickwidget.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "animating.qml" "error1.qml" "rectangle.qml" "resizemodeitem.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwidget.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qquickwidget CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qquickwidget CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/toolsupport/CMakeLists.txt b/tests/auto/toolsupport/CMakeLists.txt new file mode 100644 index 0000000000..ee9a984a80 --- /dev/null +++ b/tests/auto/toolsupport/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from toolsupport.pro. + +##################################################################### +## tst_toolsupport Test: +##################################################################### + +add_qt_test(tst_toolsupport + GUI + SOURCES + tst_toolsupport.cpp + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:toolsupport.pro:: +# CONFIG = "testcase" diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt new file mode 100644 index 0000000000..0cc44921f4 --- /dev/null +++ b/tests/benchmarks/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from benchmarks.pro. + +add_subdirectory(qml) +add_subdirectory(quick) +if(QT_FEATURE_opengles2 OR QT_FEATURE_opengles3 OR (QT_FEATURE_opengl AND QT_FEATURE_private_tests)) + add_subdirectory(particles) +endif() diff --git a/tests/benchmarks/particles/CMakeLists.txt b/tests/benchmarks/particles/CMakeLists.txt new file mode 100644 index 0000000000..8bfb0df4b6 --- /dev/null +++ b/tests/benchmarks/particles/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from particles.pro. + +add_subdirectory(emission) +add_subdirectory(affectors) diff --git a/tests/benchmarks/particles/affectors/CMakeLists.txt b/tests/benchmarks/particles/affectors/CMakeLists.txt new file mode 100644 index 0000000000..75a6b52f73 --- /dev/null +++ b/tests/benchmarks/particles/affectors/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from affectors.pro. + +##################################################################### +## tst_affectors Binary: +##################################################################### + +add_qt_executable(tst_affectors + GUI + SOURCES + tst_affectors.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::QuickParticlesPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QuickParticles + Qt::Test +) + +#### Keys ignored in scope 1:.:.:affectors.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:affectors.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/particles/emission/CMakeLists.txt b/tests/benchmarks/particles/emission/CMakeLists.txt new file mode 100644 index 0000000000..7749d5f877 --- /dev/null +++ b/tests/benchmarks/particles/emission/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from emission.pro. + +##################################################################### +## tst_emission Binary: +##################################################################### + +add_qt_executable(tst_emission + GUI + SOURCES + tst_emission.cpp + LIBRARIES + Qt::QuickParticlesPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QuickParticles + Qt::Test +) + +#### Keys ignored in scope 1:.:.:emission.pro:: +# DEPLOYMENT = "testDataFiles" +# testDataFiles.files = "data" +# testDataFiles.path = "." + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:emission.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/CMakeLists.txt b/tests/benchmarks/qml/CMakeLists.txt new file mode 100644 index 0000000000..816ad1856e --- /dev/null +++ b/tests/benchmarks/qml/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qml.pro. + +add_subdirectory(binding) +add_subdirectory(compilation) +add_subdirectory(javascript) +add_subdirectory(holistic) +add_subdirectory(qqmlchangeset) +add_subdirectory(qqmlcomponent) +add_subdirectory(qqmlmetaproperty) +add_subdirectory(librarymetrics_performance) +add_subdirectory(script) +add_subdirectory(js) +add_subdirectory(creation) +if(TARGET Qt::OpenGL) + add_subdirectory(painting) + add_subdirectory(qquickwindow) +endif() diff --git a/tests/benchmarks/qml/animation/CMakeLists.txt b/tests/benchmarks/qml/animation/CMakeLists.txt new file mode 100644 index 0000000000..79416db229 --- /dev/null +++ b/tests/benchmarks/qml/animation/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from animation.pro. + +##################################################################### +## tst_animation Binary: +##################################################################### + +add_qt_executable(tst_animation + GUI + SOURCES + tst_animation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:animation.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:animation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/binding/CMakeLists.txt b/tests/benchmarks/qml/binding/CMakeLists.txt new file mode 100644 index 0000000000..7cc445700b --- /dev/null +++ b/tests/benchmarks/qml/binding/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from binding.pro. + +##################################################################### +## tst_binding Binary: +##################################################################### + +add_qt_executable(tst_binding + GUI + SOURCES + testtypes.cpp testtypes.h + tst_binding.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:binding.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:binding.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/compilation/CMakeLists.txt b/tests/benchmarks/qml/compilation/CMakeLists.txt new file mode 100644 index 0000000000..e4512d1960 --- /dev/null +++ b/tests/benchmarks/qml/compilation/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from compilation.pro. + +##################################################################### +## tst_compilation Binary: +##################################################################### + +add_qt_executable(tst_compilation + GUI + SOURCES + tst_compilation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:compilation.pro:: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:compilation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/creation/CMakeLists.txt b/tests/benchmarks/qml/creation/CMakeLists.txt new file mode 100644 index 0000000000..46f9f78126 --- /dev/null +++ b/tests/benchmarks/qml/creation/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from creation.pro. + +##################################################################### +## tst_creation Binary: +##################################################################### + +add_qt_executable(tst_creation + GUI + SOURCES + tst_creation.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:creation.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:creation.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/holistic/CMakeLists.txt b/tests/benchmarks/qml/holistic/CMakeLists.txt new file mode 100644 index 0000000000..5f48cf9f3a --- /dev/null +++ b/tests/benchmarks/qml/holistic/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from holistic.pro. + +##################################################################### +## tst_holistic Binary: +##################################################################### + +add_qt_executable(tst_holistic + GUI + SOURCES + testtypes.cpp testtypes.h + tst_holistic.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:holistic.pro:: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:holistic.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/javascript/CMakeLists.txt b/tests/benchmarks/qml/javascript/CMakeLists.txt new file mode 100644 index 0000000000..3c767ce333 --- /dev/null +++ b/tests/benchmarks/qml/javascript/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from javascript.pro. + +##################################################################### +## tst_javascript Binary: +##################################################################### + +add_qt_executable(tst_javascript + GUI + SOURCES + testtypes.cpp testtypes.h + tst_javascript.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:javascript.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:javascript.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/CMakeLists.txt b/tests/benchmarks/qml/js/CMakeLists.txt new file mode 100644 index 0000000000..e503e28ebe --- /dev/null +++ b/tests/benchmarks/qml/js/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from js.pro. + +add_subdirectory(qjsengine) +add_subdirectory(qjsvalue) +add_subdirectory(qjsvalueiterator) diff --git a/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt new file mode 100644 index 0000000000..57aff6bf12 --- /dev/null +++ b/tests/benchmarks/qml/js/qjsengine/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjsengine.pro. + +##################################################################### +## tst_bench_qjsengine Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsengine + GUI + SOURCES + tst_qjsengine.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsengine.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsengine.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt new file mode 100644 index 0000000000..ba82b28a86 --- /dev/null +++ b/tests/benchmarks/qml/js/qjsvalue/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qjsvalue.pro. + +##################################################################### +## tst_bench_qjsvalue Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsvalue + GUI + SOURCES + tst_qjsvalue.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsvalue.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsvalue.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt new file mode 100644 index 0000000000..b5d355eeee --- /dev/null +++ b/tests/benchmarks/qml/js/qjsvalueiterator/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qjsvalueiterator.pro. + +##################################################################### +## tst_bench_qjsvalueiterator Binary: +##################################################################### + +add_qt_executable(tst_bench_qjsvalueiterator + GUI + SOURCES + tst_qjsvalueiterator.cpp + PUBLIC_LIBRARIES + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" diff --git a/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt new file mode 100644 index 0000000000..5145874028 --- /dev/null +++ b/tests/benchmarks/qml/librarymetrics_performance/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from librarymetrics_performance.pro. + +##################################################################### +## tst_librarymetrics_performance Binary: +##################################################################### + +add_qt_executable(tst_librarymetrics_performance + GUI + SOURCES + tst_librarymetrics_performance.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick + Qt::Test +) + +# Resources: +add_qt_resource(tst_librarymetrics_performance "qmake_immediate" + PREFIX + "/" + FILES + data +) + + +#### Keys ignored in scope 1:.:.:librarymetrics_performance.pro:: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:librarymetrics_performance.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/painting/CMakeLists.txt b/tests/benchmarks/qml/painting/CMakeLists.txt new file mode 100644 index 0000000000..83290b2483 --- /dev/null +++ b/tests/benchmarks/qml/painting/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from painting.pro. + +##################################################################### +## painting Binary: +##################################################################### + +add_qt_executable(painting + SOURCES + paintbenchmark.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::OpenGL +) + +#### Keys ignored in scope 1:.:.:painting.pro:: +# CONFIG = "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:painting.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt new file mode 100644 index 0000000000..83d628265e --- /dev/null +++ b/tests/benchmarks/qml/qqmlchangeset/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qqmlchangeset.pro. + +##################################################################### +## tst_qqmlchangeset Binary: +##################################################################### + +add_qt_executable(tst_qqmlchangeset + GUI + SOURCES + tst_qqmlchangeset.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlchangeset.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlchangeset.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt new file mode 100644 index 0000000000..d54f1d09a5 --- /dev/null +++ b/tests/benchmarks/qml/qqmlcomponent/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from qqmlcomponent.pro. + +##################################################################### +## tst_qqmlcomponent Binary: +##################################################################### + +add_qt_executable(tst_qqmlcomponent + GUI + SOURCES + testtypes.cpp testtypes.h + tst_qqmlcomponent.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlcomponent.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlcomponent.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt new file mode 100644 index 0000000000..5e4205e1f8 --- /dev/null +++ b/tests/benchmarks/qml/qqmlmetaproperty/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmlmetaproperty.pro. + +##################################################################### +## tst_qqmlmetaproperty Binary: +##################################################################### + +add_qt_executable(tst_qqmlmetaproperty + GUI + SOURCES + tst_qqmlmetaproperty.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmlmetaproperty.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlmetaproperty.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/qquickwindow/CMakeLists.txt b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt new file mode 100644 index 0000000000..192479355a --- /dev/null +++ b/tests/benchmarks/qml/qquickwindow/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from qquickwindow.pro. + +##################################################################### +## tst_qquickwindow Binary: +##################################################################### + +add_qt_executable(tst_qquickwindow + GUI + SOURCES + tst_qquickwindow.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::OpenGLPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::OpenGL + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qquickwindow.pro:: +# CONFIG = "benchmark" +# DEPLOYMENT = "testDataFiles" +# testDataFiles.files = "data" +# testDataFiles.path = "." + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qquickwindow.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/script/CMakeLists.txt b/tests/benchmarks/qml/script/CMakeLists.txt new file mode 100644 index 0000000000..bf30b75b5b --- /dev/null +++ b/tests/benchmarks/qml/script/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from script.pro. + +##################################################################### +## tst_script Binary: +##################################################################### + +add_qt_executable(tst_script + GUI + SOURCES + tst_script.cpp + DEFINES + QT_DISABLE_DEPRECATED_BEFORE=0 + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:script.pro:: +# CONFIG = "benchmark" "release" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:script.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/qml/typeimports/CMakeLists.txt b/tests/benchmarks/qml/typeimports/CMakeLists.txt new file mode 100644 index 0000000000..08a164537f --- /dev/null +++ b/tests/benchmarks/qml/typeimports/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from typeimports.pro. + +##################################################################### +## tst_typeimports Binary: +##################################################################### + +add_qt_executable(tst_typeimports + GUI + SOURCES + tst_typeimports.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:typeimports.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:typeimports.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/benchmarks/quick/CMakeLists.txt b/tests/benchmarks/quick/CMakeLists.txt new file mode 100644 index 0000000000..533f382398 --- /dev/null +++ b/tests/benchmarks/quick/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from quick.pro. + +add_subdirectory(events) diff --git a/tests/benchmarks/quick/events/CMakeLists.txt b/tests/benchmarks/quick/events/CMakeLists.txt new file mode 100644 index 0000000000..0e7041c882 --- /dev/null +++ b/tests/benchmarks/quick/events/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from events.pro. + +##################################################################### +## tst_qevents Binary: +##################################################################### + +add_qt_executable(tst_qevents + GUI + SOURCES + ../../../auto/quick/shared/geometrytestutil.cpp ../../../auto/quick/shared/geometrytestutil.h + ../../../auto/quick/shared/viewtestutil.cpp ../../../auto/quick/shared/viewtestutil.h + ../../../auto/quick/shared/visualtestutil.cpp ../../../auto/quick/shared/visualtestutil.h + ../../../auto/shared/util.cpp ../../../auto/shared/util.h + tst_events.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../../auto/shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Test +) + +#### Keys ignored in scope 1:.:.:events.pro:: +# CONFIG = "benchmark" +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:events.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qevents CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qevents CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt new file mode 100644 index 0000000000..8d7928629a --- /dev/null +++ b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from evaluate.pro. + +##################################################################### +## evaluate Binary: +##################################################################### + +add_qt_executable(evaluate + SOURCES + main.cpp + PUBLIC_LIBRARIES + # Remove: fsanitize=fuzzer + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:evaluate.pro:: +# CONFIG = "console" "-app_bundle" diff --git a/tests/manual/highdpi/CMakeLists.txt b/tests/manual/highdpi/CMakeLists.txt new file mode 100644 index 0000000000..bbd01613c7 --- /dev/null +++ b/tests/manual/highdpi/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from highdpi.pro. + +##################################################################### +## qmlimageproviderplugin Plugin: +##################################################################### + +add_qt_plugin(qmlimageproviderplugin + OUTPUT_DIRECTORY "ImageProvider" + SOURCES + imageprovider.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:highdpi.pro:: +# CONFIG = "plugin" +# INSTALLS = "target" "qml" +# TEMPLATE = "lib" +# qml.files = "ImageProvider/qmldir" +# qml.path = "$$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider" +# target.path = "$$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider" diff --git a/tests/manual/httpserver/CMakeLists.txt b/tests/manual/httpserver/CMakeLists.txt new file mode 100644 index 0000000000..61707e145d --- /dev/null +++ b/tests/manual/httpserver/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from httpserver.pro. + +##################################################################### +## httpserver Binary: +##################################################################### + +add_qt_executable(httpserver + SOURCES + ../../auto/shared/testhttpserver.cpp ../../auto/shared/testhttpserver.h + main.cpp + INCLUDE_DIRECTORIES + ../../auto/shared + PUBLIC_LIBRARIES + Qt::Network +) + +#### Keys ignored in scope 1:.:.:httpserver.pro:: +# CONFIG = "console" "-app_bundle" +# TEMPLATE = "app" diff --git a/tests/manual/mousearea/CMakeLists.txt b/tests/manual/mousearea/CMakeLists.txt new file mode 100644 index 0000000000..967d2da8b2 --- /dev/null +++ b/tests/manual/mousearea/CMakeLists.txt @@ -0,0 +1,79 @@ +# Generated from mousearea.pro. + +##################################################################### +## mousearea Binary: +##################################################################### + +add_qt_executable(mousearea + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(mousearea "qml" + PREFIX + "/" + FILES + main.qml + plainMouseArea.qml +) +set_source_files_properties("../../../examples/quick/shared/Button.qml" + PROPERTIES alias "Button.qml" +) +set_source_files_properties("../../../examples/quick/shared/CheckBox.qml" + PROPERTIES alias "CheckBox.qml" +) +set_source_files_properties("../../../examples/quick/shared/Label.qml" + PROPERTIES alias "Label.qml" +) +set_source_files_properties("../../../examples/quick/shared/LauncherList.qml" + PROPERTIES alias "LauncherList.qml" +) +set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml" + PROPERTIES alias "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../../../examples/quick/shared/Slider.qml" + PROPERTIES alias "Slider.qml" +) +set_source_files_properties("../../../examples/quick/shared/TextField.qml" + PROPERTIES alias "TextField.qml" +) +set_source_files_properties("../../../examples/quick/shared/images/back.png" + PROPERTIES alias "images/back.png" +) +set_source_files_properties("../../../examples/quick/shared/images/checkmark.png" + PROPERTIES alias "images/checkmark.png" +) +set_source_files_properties("../../../examples/quick/shared/images/next.png" + PROPERTIES alias "images/next.png" +) +set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png" + PROPERTIES alias "images/slider_handle.png" +) +add_qt_resource(mousearea "quick_shared" + PREFIX + "/quick/shared" + BASE + "../../../examples/quick/shared" + FILES + Button.qml + CheckBox.qml + Label.qml + LauncherList.qml + SimpleLauncherDelegate.qml + Slider.qml + TextField.qml + images/back.png + images/checkmark.png + images/next.png + images/slider_handle.png +) + + +#### Keys ignored in scope 1:.:.:mousearea.pro:: +# TEMPLATE = "app" diff --git a/tests/manual/nodetypes/CMakeLists.txt b/tests/manual/nodetypes/CMakeLists.txt new file mode 100644 index 0000000000..24a4c43b03 --- /dev/null +++ b/tests/manual/nodetypes/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from nodetypes.pro. + +##################################################################### +## nodetypes Binary: +##################################################################### + +add_qt_executable(nodetypes + GUI + SOURCES + nodetypes.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(nodetypes "nodetypes" + PREFIX + "/" + FILES + Animators.qml + Effects.qml + Images.qml + Layers.qml + LotsOfImages.qml + LotsOfRects.qml + Painter.qml + Rects.qml + Text.qml + face-smile.png + main.qml + ps_shadow1.cso + ps_shadow2.cso + ps_wobble.cso + qt.png + shadow.png + vs_wobble.cso +) + + +#### Keys ignored in scope 1:.:.:nodetypes.pro:: +# OTHER_FILES = "main.qml" "Rects.qml" "LotsOfRects.qml" "Images.qml" "LotsOfImages.qml" "Text.qml" "Animators.qml" "Layers.qml" "Effects.qml" "Painter.qml" "wobble.hlsl" "shadow1.hlsl" "shadow2.hlsl" diff --git a/tests/manual/nodetypes_ng/CMakeLists.txt b/tests/manual/nodetypes_ng/CMakeLists.txt new file mode 100644 index 0000000000..8666cd15bc --- /dev/null +++ b/tests/manual/nodetypes_ng/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from nodetypes_ng.pro. + +##################################################################### +## nodetypes_ng Binary: +##################################################################### + +add_qt_executable(nodetypes_ng + GUI + SOURCES + nodetypes_ng.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(nodetypes_ng "nodetypes_ng" + PREFIX + "/" + FILES + AtlasedImages.qml + CompressedImages.qml + DistanceFieldText.qml + Images.qml + Layers.qml + LotsOfNodes.qml + LotsOfRects.qml + MoreWindows.qml + MultiClipRects.qml + Painter.qml + Rects.qml + ShaderEffect.qml + ShaderEffectNoAnim.qml + ShaderEffectSource.qml + SimpleRect.qml + Text.qml + arrow-down.png + arrow-up.png + blacknwhite.png + car_etc2_nomips.ktx + face-smile.png + main.qml + minus-sign.png + plus-sign.png + qt.png + qt_bc1_10mips.ktx + shadow_pass1.frag.qsb + shadow_pass1_legacy_gl.frag + shadow_pass2.frag.qsb + shadow_pass2_legacy_gl.frag + wobble.frag.qsb + wobble.vert.qsb + wobble_legacy_gl.frag + wobble_legacy_gl.vert +) + + +#### Keys ignored in scope 1:.:.:nodetypes_ng.pro:: +# OTHER_FILES = "main.qml" "SimpleRect.qml" "Rects.qml" "LotsOfRects.qml" diff --git a/tests/manual/pointer/CMakeLists.txt b/tests/manual/pointer/CMakeLists.txt new file mode 100644 index 0000000000..64eae0e1bd --- /dev/null +++ b/tests/manual/pointer/CMakeLists.txt @@ -0,0 +1,124 @@ +# Generated from pointer.pro. + +##################################################################### +## pointer Binary: +##################################################################### + +add_qt_executable(pointer + GUI + SOURCES + inputinspector.cpp inputinspector.h + main.cpp + LIBRARIES + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Svg +) + +# Resources: +add_qt_resource(pointer "qml" + PREFIX + "/" + FILES + content/CheckBox.qml + content/FakeFlickable.qml + content/FlashAnimation.qml + content/MomentumAnimation.qml + content/MouseAreaButton.qml + content/MouseAreaSlider.qml + content/MouseFeedbackSprite.qml + content/MptaButton.qml + content/MultiButton.qml + content/ScrollBar.qml + content/Slider.qml + content/TapHandlerButton.qml + content/TextBox.qml + content/TouchpointFeedbackSprite.qml + fakeFlickable.qml + flickableWithHandlers.qml + flingAnimation.qml + joystick.qml + main.qml + map.qml + map2.qml + mixer.qml + multibuttons.qml + photosurface.qml + pinchHandler.qml + pointerDrag.qml + resources/arrowhead.png + resources/balloon.png + resources/fighter.png + resources/fingersprite.png + resources/grabbing-location.svg + resources/joystick-outer-case-pov.jpg + resources/map.svgz + resources/missile.png + resources/mixer-knob.png + resources/mouse.png + resources/mouse_left.png + resources/mouse_middle.png + resources/mouse_right.png + resources/redball.png + sidebar.qml + singlePointHandlerProperties.qml + tapHandler.qml +) +set_source_files_properties("../../../examples/quick/shared/Button.qml" + PROPERTIES alias "Button.qml" +) +set_source_files_properties("../../../examples/quick/shared/CheckBox.qml" + PROPERTIES alias "CheckBox.qml" +) +set_source_files_properties("../../../examples/quick/shared/Label.qml" + PROPERTIES alias "Label.qml" +) +set_source_files_properties("../../../examples/quick/shared/LauncherList.qml" + PROPERTIES alias "LauncherList.qml" +) +set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml" + PROPERTIES alias "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../../../examples/quick/shared/Slider.qml" + PROPERTIES alias "Slider.qml" +) +set_source_files_properties("../../../examples/quick/shared/TextField.qml" + PROPERTIES alias "TextField.qml" +) +set_source_files_properties("../../../examples/quick/shared/images/back.png" + PROPERTIES alias "images/back.png" +) +set_source_files_properties("../../../examples/quick/shared/images/checkmark.png" + PROPERTIES alias "images/checkmark.png" +) +set_source_files_properties("../../../examples/quick/shared/images/next.png" + PROPERTIES alias "images/next.png" +) +set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png" + PROPERTIES alias "images/slider_handle.png" +) +add_qt_resource(pointer "quick_shared" + PREFIX + "/quick/shared" + BASE + "../../../examples/quick/shared" + FILES + Button.qml + CheckBox.qml + Label.qml + LauncherList.qml + SimpleLauncherDelegate.qml + Slider.qml + TextField.qml + images/back.png + images/checkmark.png + images/next.png + images/slider_handle.png +) + + +#### Keys ignored in scope 1:.:.:pointer.pro:: +# TEMPLATE = "app" diff --git a/tests/manual/qmltypememory/CMakeLists.txt b/tests/manual/qmltypememory/CMakeLists.txt new file mode 100644 index 0000000000..4409e4e0e5 --- /dev/null +++ b/tests/manual/qmltypememory/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qmltypememory.pro. + +##################################################################### +## qmltypememory Binary: +##################################################################### + +add_qt_executable(qmltypememory + GUI + SOURCES + main.cpp + testdriver.cpp testdriver.h + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qmltypememory.pro:: +# TEMPLATE = "app" diff --git a/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt b/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt new file mode 100644 index 0000000000..f890e46c4e --- /dev/null +++ b/tests/manual/qmltypememory/TestPlugin/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from plugin.pro. + +##################################################################### +## testplugin Plugin: +##################################################################### + +add_qt_plugin(testplugin + SOURCES + plugin.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:plugin.pro:: +# CONFIG = "plugin" +# TEMPLATE = "lib" diff --git a/tests/manual/quickwidgetviewer/CMakeLists.txt b/tests/manual/quickwidgetviewer/CMakeLists.txt new file mode 100644 index 0000000000..19c71890cd --- /dev/null +++ b/tests/manual/quickwidgetviewer/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from quickwidgetviewer.pro. + +##################################################################### +## quickwidgetviewer Binary: +##################################################################### + +add_qt_executable(quickwidgetviewer + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::QuickWidgets +) + +#### Keys ignored in scope 1:.:.:quickwidgetviewer.pro:: +# CONFIG = "c++11" "console" +# TEMPLATE = "app" diff --git a/tests/manual/scalablepath/CMakeLists.txt b/tests/manual/scalablepath/CMakeLists.txt new file mode 100644 index 0000000000..9eb2d0cc53 --- /dev/null +++ b/tests/manual/scalablepath/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from scalablepath.pro. + +##################################################################### +## scalablepath Binary: +##################################################################### + +add_qt_executable(scalablepath + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(scalablepath "qml" + PREFIX + "/" + FILES + ShapeTestScale.qml + main.qml +) + + +#### Keys ignored in scope 1:.:.:scalablepath.pro:: +# CONFIG = "c++11" +# TEMPLATE = "app" diff --git a/tests/manual/scenegraph_lancelot/CMakeLists.txt b/tests/manual/scenegraph_lancelot/CMakeLists.txt new file mode 100644 index 0000000000..6f35f4e47b --- /dev/null +++ b/tests/manual/scenegraph_lancelot/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from scenegraph_lancelot.pro. + +add_subdirectory(scenegrabber) +add_subdirectory(scenegraph) diff --git a/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt b/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt new file mode 100644 index 0000000000..a237418657 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/scenegrabber/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from scenegrabber.pro. + +##################################################################### +## qmlscenegrabber Binary: +##################################################################### + +add_qt_executable(qmlscenegrabber + OUTPUT_DIRECTORY ".." + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:scenegrabber.pro:: +# CONFIG = "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:scenegrabber.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt b/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt new file mode 100644 index 0000000000..6f10497ace --- /dev/null +++ b/tests/manual/scenegraph_lancelot/scenegraph/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from scenegraph.pro. + +##################################################################### +## tst_scenegraph Test: +##################################################################### + +add_qt_test(tst_scenegraph + OUTPUT_DIRECTORY ".." + SOURCES + ../../../../../qtbase/tests/baselineserver/shared/baselineprotocol.cpp ../../../../../qtbase/tests/baselineserver/shared/baselineprotocol.h + ../../../../../qtbase/tests/baselineserver/shared/lookup3.cpp + ../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.cpp ../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.h + tst_scenegraph.cpp + DEFINES + QMAKESPEC=\\\"\\\" + INCLUDE_DIRECTORIES + ../../../../../qtbase/tests/baselineserver/shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network +) + +#### Keys ignored in scope 1:.:.:scenegraph.pro:: +# CONFIG = "testcase" "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:scenegraph.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +#### Keys ignored in scope 4:.:../../../../../qtbase/tests/baselineserver/shared:../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.pri:WIN32: +# MKSPEC = "$$replaceQMAKESPEC,\\\\,/" + +#### Keys ignored in scope 5:.:../../../../../qtbase/tests/baselineserver/shared:../../../../../qtbase/tests/baselineserver/shared/qbaselinetest.pri:else: +# MKSPEC = "$$QMAKESPEC" diff --git a/tests/manual/shapestest/CMakeLists.txt b/tests/manual/shapestest/CMakeLists.txt new file mode 100644 index 0000000000..587f1c596b --- /dev/null +++ b/tests/manual/shapestest/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from shapestest.pro. + +##################################################################### +## shapestest Binary: +##################################################################### + +add_qt_executable(shapestest + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(shapestest "shapestest" + PREFIX + "/shapestest" + FILES + shapestest.qml +) + + +#### Keys ignored in scope 1:.:.:shapestest.pro:: +# OTHER_FILES = "shapestest.qml" +# TEMPLATE = "app" diff --git a/tests/manual/tableview/CMakeLists.txt b/tests/manual/tableview/CMakeLists.txt new file mode 100644 index 0000000000..19f4807174 --- /dev/null +++ b/tests/manual/tableview/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from tableview.pro. + +add_subdirectory(abstracttablemodel) +add_subdirectory(listmodel) +add_subdirectory(storagemodel) diff --git a/tests/manual/tableview/abstracttablemodel/CMakeLists.txt b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt new file mode 100644 index 0000000000..2e0f5b2d1b --- /dev/null +++ b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from abstracttablemodel.pro. + +##################################################################### +## tableview_abstracttablemodel Binary: +##################################################################### + +add_qt_executable(tableview_abstracttablemodel + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_abstracttablemodel "qmake_immediate" + PREFIX + "/" + FILES + Button.qml + main.qml +) + + +#### Keys ignored in scope 1:.:.:abstracttablemodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:abstracttablemodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:abstracttablemodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:abstracttablemodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/listmodel/CMakeLists.txt b/tests/manual/tableview/listmodel/CMakeLists.txt new file mode 100644 index 0000000000..bca3bb06b5 --- /dev/null +++ b/tests/manual/tableview/listmodel/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from listmodel.pro. + +##################################################################### +## tableview_listmodel Binary: +##################################################################### + +add_qt_executable(tableview_listmodel + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_listmodel "qmake_immediate" + PREFIX + "/" + FILES + main.qml +) + + +#### Keys ignored in scope 1:.:.:listmodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:listmodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:listmodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:listmodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/storagemodel/CMakeLists.txt b/tests/manual/tableview/storagemodel/CMakeLists.txt new file mode 100644 index 0000000000..363c2cf8ba --- /dev/null +++ b/tests/manual/tableview/storagemodel/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from storagemodel.pro. + +##################################################################### +## tableview_storage Binary: +##################################################################### + +add_qt_executable(tableview_storage + GUI + SOURCES + main.cpp + storagemodel.cpp storagemodel.h + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_storage "qmake_immediate" + PREFIX + "/" + FILES + main.qml +) + + +#### Keys ignored in scope 1:.:.:storagemodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:storagemodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:storagemodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:storagemodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/tablemodel/CMakeLists.txt b/tests/manual/tableview/tablemodel/CMakeLists.txt new file mode 100644 index 0000000000..487e004af0 --- /dev/null +++ b/tests/manual/tableview/tablemodel/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from tablemodel.pro. + +add_subdirectory(form) diff --git a/tests/manual/tableview/tablemodel/form/CMakeLists.txt b/tests/manual/tableview/tablemodel/form/CMakeLists.txt new file mode 100644 index 0000000000..5de4ae68b7 --- /dev/null +++ b/tests/manual/tableview/tablemodel/form/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from form.pro. + +##################################################################### +## form Binary: +##################################################################### + +add_qt_executable(form + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(form "qmake_immediate" + PREFIX + "/" + FILES + RowForm.qml + main.qml +) + + +#### Keys ignored in scope 1:.:.:form.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:form.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:form.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:form.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/tablemodel/json/CMakeLists.txt b/tests/manual/tableview/tablemodel/json/CMakeLists.txt new file mode 100644 index 0000000000..eeff661a0c --- /dev/null +++ b/tests/manual/tableview/tablemodel/json/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from json.pro. + +##################################################################### +## json Binary: +##################################################################### + +add_qt_executable(json + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(json "qmake_immediate" + PREFIX + "/" + FILES + JsonData.js + main.qml +) + + +#### Keys ignored in scope 1:.:.:json.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:json.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:json.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:json.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/text/CMakeLists.txt b/tests/manual/text/CMakeLists.txt new file mode 100644 index 0000000000..d81e243799 --- /dev/null +++ b/tests/manual/text/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from text.pro. + +##################################################################### +## text Binary: +##################################################################### + +add_qt_executable(text + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(text "qml" + PREFIX + "/" + FILES + SignalIndicator.qml + main.qml + textInputPropertiesAndSignals.qml +) +set_source_files_properties("../../../examples/quick/shared/Button.qml" + PROPERTIES alias "Button.qml" +) +set_source_files_properties("../../../examples/quick/shared/CheckBox.qml" + PROPERTIES alias "CheckBox.qml" +) +set_source_files_properties("../../../examples/quick/shared/Label.qml" + PROPERTIES alias "Label.qml" +) +set_source_files_properties("../../../examples/quick/shared/LauncherList.qml" + PROPERTIES alias "LauncherList.qml" +) +set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml" + PROPERTIES alias "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../../../examples/quick/shared/Slider.qml" + PROPERTIES alias "Slider.qml" +) +set_source_files_properties("../../../examples/quick/shared/TextField.qml" + PROPERTIES alias "TextField.qml" +) +set_source_files_properties("../../../examples/quick/shared/images/back.png" + PROPERTIES alias "images/back.png" +) +set_source_files_properties("../../../examples/quick/shared/images/checkmark.png" + PROPERTIES alias "images/checkmark.png" +) +set_source_files_properties("../../../examples/quick/shared/images/next.png" + PROPERTIES alias "images/next.png" +) +set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png" + PROPERTIES alias "images/slider_handle.png" +) +add_qt_resource(text "quick_shared" + PREFIX + "/quick/shared" + BASE + "../../../examples/quick/shared" + FILES + Button.qml + CheckBox.qml + Label.qml + LauncherList.qml + SimpleLauncherDelegate.qml + Slider.qml + TextField.qml + images/back.png + images/checkmark.png + images/next.png + images/slider_handle.png +) + + +#### Keys ignored in scope 1:.:.:text.pro:: +# TEMPLATE = "app" diff --git a/tests/manual/touch/CMakeLists.txt b/tests/manual/touch/CMakeLists.txt new file mode 100644 index 0000000000..5d49a55486 --- /dev/null +++ b/tests/manual/touch/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from touch.pro. + +##################################################################### +## touch Binary: +##################################################################### + +add_qt_executable(touch + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(touch "qml" + PREFIX + "/" + FILES + flicktext.qml + main.qml + mpta-crosshairs.qml +) +set_source_files_properties("../../../examples/quick/shared/Button.qml" + PROPERTIES alias "Button.qml" +) +set_source_files_properties("../../../examples/quick/shared/CheckBox.qml" + PROPERTIES alias "CheckBox.qml" +) +set_source_files_properties("../../../examples/quick/shared/Label.qml" + PROPERTIES alias "Label.qml" +) +set_source_files_properties("../../../examples/quick/shared/LauncherList.qml" + PROPERTIES alias "LauncherList.qml" +) +set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml" + PROPERTIES alias "SimpleLauncherDelegate.qml" +) +set_source_files_properties("../../../examples/quick/shared/Slider.qml" + PROPERTIES alias "Slider.qml" +) +set_source_files_properties("../../../examples/quick/shared/TextField.qml" + PROPERTIES alias "TextField.qml" +) +set_source_files_properties("../../../examples/quick/shared/images/back.png" + PROPERTIES alias "images/back.png" +) +set_source_files_properties("../../../examples/quick/shared/images/checkmark.png" + PROPERTIES alias "images/checkmark.png" +) +set_source_files_properties("../../../examples/quick/shared/images/next.png" + PROPERTIES alias "images/next.png" +) +set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png" + PROPERTIES alias "images/slider_handle.png" +) +add_qt_resource(touch "quick_shared" + PREFIX + "/quick/shared" + BASE + "../../../examples/quick/shared" + FILES + Button.qml + CheckBox.qml + Label.qml + LauncherList.qml + SimpleLauncherDelegate.qml + Slider.qml + TextField.qml + images/back.png + images/checkmark.png + images/next.png + images/slider_handle.png +) + + +#### Keys ignored in scope 1:.:.:touch.pro:: +# TEMPLATE = "app" diff --git a/tests/manual/v4/auto/CMakeLists.txt b/tests/manual/v4/auto/CMakeLists.txt new file mode 100644 index 0000000000..02063ad4f8 --- /dev/null +++ b/tests/manual/v4/auto/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from auto.pro. + +add_subdirectory(executableallocator) diff --git a/tests/manual/v4/auto/executableallocator/CMakeLists.txt b/tests/manual/v4/auto/executableallocator/CMakeLists.txt new file mode 100644 index 0000000000..fd609bfeac --- /dev/null +++ b/tests/manual/v4/auto/executableallocator/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from executableallocator.pro. + +##################################################################### +## tst_executableallocator Binary: +##################################################################### + +add_qt_executable(tst_executableallocator + GUI + SOURCES + tst_executableallocator.cpp + LIBRARIES + v4Private + PUBLIC_LIBRARIES + Qt::Test + v4 +) + +#### Keys ignored in scope 1:.:.:executableallocator.pro:: +# TEMPLATE = "app" -- cgit v1.2.3