From a8431a406788908c7224c12873a1e9e61953d39b Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 26 Jul 2022 17:35:58 +0200 Subject: CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers Change-Id: I1cd769f85d5f82c43639d6787d98e536619249e6 Reviewed-by: Alexey Edelev --- tests/auto/core/CMakeLists.txt | 2 +- tests/auto/particles/qquickage/CMakeLists.txt | 2 +- tests/auto/particles/qquickangleddirection/CMakeLists.txt | 2 +- tests/auto/particles/qquickcumulativedirection/CMakeLists.txt | 2 +- tests/auto/particles/qquickcustomaffector/CMakeLists.txt | 2 +- tests/auto/particles/qquickellipseextruder/CMakeLists.txt | 2 +- tests/auto/particles/qquickfriction/CMakeLists.txt | 2 +- tests/auto/particles/qquickgravity/CMakeLists.txt | 2 +- tests/auto/particles/qquickgroupgoal/CMakeLists.txt | 2 +- tests/auto/particles/qquickimageparticle/CMakeLists.txt | 2 +- tests/auto/particles/qquickitemparticle/CMakeLists.txt | 2 +- tests/auto/particles/qquicklineextruder/CMakeLists.txt | 2 +- tests/auto/particles/qquickmaskextruder/CMakeLists.txt | 2 +- tests/auto/particles/qquickparticlegroup/CMakeLists.txt | 2 +- tests/auto/particles/qquickparticlesystem/CMakeLists.txt | 2 +- tests/auto/particles/qquickpointattractor/CMakeLists.txt | 2 +- tests/auto/particles/qquickpointdirection/CMakeLists.txt | 2 +- tests/auto/particles/qquickrectangleextruder/CMakeLists.txt | 2 +- tests/auto/particles/qquickspritegoal/CMakeLists.txt | 2 +- tests/auto/particles/qquicktargetdirection/CMakeLists.txt | 2 +- tests/auto/particles/qquicktrailemitter/CMakeLists.txt | 2 +- tests/auto/particles/qquickturbulence/CMakeLists.txt | 2 +- tests/auto/particles/qquickwander/CMakeLists.txt | 2 +- tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt | 2 +- tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt | 2 +- tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt | 2 +- tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt | 2 +- tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt | 2 +- tests/auto/qml/bindingdependencyapi/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt | 2 +- .../debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt | 2 +- .../qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugtranslationclient/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt | 2 +- .../debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt | 2 +- tests/auto/qml/debugger/qv4debugger/CMakeLists.txt | 2 +- tests/auto/qml/ecmascripttests/CMakeLists.txt | 2 +- tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt | 2 +- tests/auto/qml/parserstress/CMakeLists.txt | 2 +- tests/auto/qml/qjsengine/CMakeLists.txt | 2 +- tests/auto/qml/qjsmanagedvalue/CMakeLists.txt | 2 +- tests/auto/qml/qjsonbinding/CMakeLists.txt | 2 +- tests/auto/qml/qjsprimitivevalue/CMakeLists.txt | 2 +- tests/auto/qml/qjsvalue/CMakeLists.txt | 2 +- tests/auto/qml/qjsvalueiterator/CMakeLists.txt | 2 +- tests/auto/qml/qmlcachegen/CMakeLists.txt | 2 +- tests/auto/qml/qmldiskcache/CMakeLists.txt | 2 +- tests/auto/qml/qmlformat/CMakeLists.txt | 2 +- tests/auto/qml/qmlimportscanner/CMakeLists.txt | 2 +- tests/auto/qml/qmllint/CMakeLists.txt | 2 +- tests/auto/qml/qmlplugindump/CMakeLists.txt | 2 +- tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt | 2 +- tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt | 2 +- tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt | 2 +- tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt | 2 +- tests/auto/qml/qmltyperegistrar/CMakeLists.txt | 4 ++-- tests/auto/qml/qqmlanybinding/CMakeLists.txt | 2 +- tests/auto/qml/qqmlapplicationengine/CMakeLists.txt | 2 +- tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt | 2 +- tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt | 2 +- tests/auto/qml/qqmlbinding/CMakeLists.txt | 2 +- tests/auto/qml/qqmlchangeset/CMakeLists.txt | 2 +- tests/auto/qml/qqmlcomponent/CMakeLists.txt | 2 +- tests/auto/qml/qqmlconnections/CMakeLists.txt | 2 +- tests/auto/qml/qqmlconsole/CMakeLists.txt | 2 +- tests/auto/qml/qqmlcontext/CMakeLists.txt | 2 +- tests/auto/qml/qqmlcpputils/CMakeLists.txt | 2 +- tests/auto/qml/qqmldelegatemodel/CMakeLists.txt | 2 +- tests/auto/qml/qqmldirparser/CMakeLists.txt | 2 +- tests/auto/qml/qqmlecmascript/CMakeLists.txt | 4 ++-- tests/auto/qml/qqmlengine/CMakeLists.txt | 2 +- tests/auto/qml/qqmlenginecleanup/CMakeLists.txt | 2 +- tests/auto/qml/qqmlerror/CMakeLists.txt | 2 +- tests/auto/qml/qqmlexpression/CMakeLists.txt | 2 +- tests/auto/qml/qqmlextensionplugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlfile/CMakeLists.txt | 2 +- tests/auto/qml/qqmlfileselector/CMakeLists.txt | 2 +- tests/auto/qml/qqmlglobal/CMakeLists.txt | 2 +- tests/auto/qml/qqmlimport/CMakeLists.txt | 2 +- tests/auto/qml/qqmlincubator/CMakeLists.txt | 2 +- tests/auto/qml/qqmlinfo/CMakeLists.txt | 2 +- tests/auto/qml/qqmlinstantiator/CMakeLists.txt | 2 +- tests/auto/qml/qqmlitemmodels/CMakeLists.txt | 2 +- tests/auto/qml/qqmllanguage/CMakeLists.txt | 2 +- tests/auto/qml/qqmllistcompositor/CMakeLists.txt | 2 +- tests/auto/qml/qqmllistmodel/CMakeLists.txt | 2 +- tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt | 2 +- tests/auto/qml/qqmllistreference/CMakeLists.txt | 2 +- tests/auto/qml/qqmllocale/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmetaobject/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmetatype/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt | 2 +- .../qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/optionalPlugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt | 2 +- tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt | 2 +- tests/auto/qml/qqmlnotifier/CMakeLists.txt | 2 +- tests/auto/qml/qqmlobjectmodel/CMakeLists.txt | 2 +- tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt | 2 +- tests/auto/qml/qqmlparser/CMakeLists.txt | 2 +- tests/auto/qml/qqmlpromise/CMakeLists.txt | 2 +- tests/auto/qml/qqmlproperty/CMakeLists.txt | 2 +- tests/auto/qml/qqmlpropertycache/CMakeLists.txt | 2 +- tests/auto/qml/qqmlpropertymap/CMakeLists.txt | 2 +- tests/auto/qml/qqmlqt/CMakeLists.txt | 2 +- tests/auto/qml/qqmlsettings/CMakeLists.txt | 2 +- tests/auto/qml/qqmlsqldatabase/CMakeLists.txt | 2 +- tests/auto/qml/qqmltablemodel/CMakeLists.txt | 2 +- tests/auto/qml/qqmltimer/CMakeLists.txt | 2 +- tests/auto/qml/qqmltranslation/CMakeLists.txt | 2 +- tests/auto/qml/qqmltreemodeltotablemodel/CMakeLists.txt | 2 +- tests/auto/qml/qqmltypeloader/CMakeLists.txt | 2 +- tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt | 2 +- tests/auto/qml/qqmlvaluetypes/CMakeLists.txt | 2 +- tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt | 2 +- tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt | 2 +- tests/auto/qml/qquickworkerscript/CMakeLists.txt | 2 +- tests/auto/qml/qrcqml/CMakeLists.txt | 2 +- tests/auto/qml/qtqmlmodules/CMakeLists.txt | 2 +- tests/auto/qml/qv4assembler/CMakeLists.txt | 2 +- tests/auto/qml/qv4identifiertable/CMakeLists.txt | 2 +- tests/auto/qml/qv4mm/CMakeLists.txt | 2 +- tests/auto/qml/qv4regexp/CMakeLists.txt | 2 +- tests/auto/qml/qwidgetsinqml/CMakeLists.txt | 2 +- tests/auto/qml/registrationmacros/CMakeLists.txt | 2 +- tests/auto/qml/v4misc/CMakeLists.txt | 2 +- tests/auto/qmldom/combined/CMakeLists.txt | 2 +- tests/auto/qmldom/domitem/CMakeLists.txt | 2 +- tests/auto/qmldom/errormessage/CMakeLists.txt | 2 +- tests/auto/qmldom/merging/CMakeLists.txt | 2 +- tests/auto/qmldom/path/CMakeLists.txt | 2 +- tests/auto/qmldom/reformatter/CMakeLists.txt | 2 +- tests/auto/qmldom/standalone/CMakeLists.txt | 3 +-- tests/auto/qmldom/stringdumper/CMakeLists.txt | 2 +- tests/auto/qmlls/completions/CMakeLists.txt | 2 +- tests/auto/qmlls/lifecycle/CMakeLists.txt | 2 +- tests/auto/qmlls/qmlls/CMakeLists.txt | 2 +- tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt | 2 +- tests/auto/qmltest/animatedimage/CMakeLists.txt | 2 +- tests/auto/qmltest/animations/CMakeLists.txt | 2 +- tests/auto/qmltest/borderimage/CMakeLists.txt | 2 +- tests/auto/qmltest/buttonclick/CMakeLists.txt | 2 +- tests/auto/qmltest/createbenchmark/CMakeLists.txt | 2 +- tests/auto/qmltest/events/CMakeLists.txt | 2 +- tests/auto/qmltest/fontloader/CMakeLists.txt | 2 +- tests/auto/qmltest/fuzzycompare/CMakeLists.txt | 2 +- tests/auto/qmltest/gradient/CMakeLists.txt | 2 +- tests/auto/qmltest/image/CMakeLists.txt | 2 +- tests/auto/qmltest/itemgrabber/CMakeLists.txt | 2 +- tests/auto/qmltest/layout/CMakeLists.txt | 2 +- tests/auto/qmltest/listmodel/CMakeLists.txt | 2 +- tests/auto/qmltest/listview/CMakeLists.txt | 2 +- tests/auto/qmltest/objectmodel/CMakeLists.txt | 2 +- tests/auto/qmltest/pathview/CMakeLists.txt | 2 +- tests/auto/qmltest/positioners/CMakeLists.txt | 2 +- tests/auto/qmltest/qqmlbinding/CMakeLists.txt | 2 +- tests/auto/qmltest/qtbug46798/CMakeLists.txt | 2 +- tests/auto/qmltest/rectangle/CMakeLists.txt | 2 +- tests/auto/qmltest/selftests/CMakeLists.txt | 2 +- tests/auto/qmltest/shadersource/CMakeLists.txt | 2 +- tests/auto/qmltest/stability/CMakeLists.txt | 2 +- tests/auto/qmltest/text/CMakeLists.txt | 2 +- tests/auto/qmltest/textedit/CMakeLists.txt | 2 +- tests/auto/qmltest/textinput/CMakeLists.txt | 2 +- tests/auto/qmltest/window/CMakeLists.txt | 2 +- tests/auto/quick/drawingmodes/CMakeLists.txt | 2 +- tests/auto/quick/examples/CMakeLists.txt | 2 +- tests/auto/quick/geometry/CMakeLists.txt | 2 +- tests/auto/quick/nodes/CMakeLists.txt | 2 +- tests/auto/quick/nokeywords/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt | 2 +- .../quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt | 2 +- tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt | 2 +- tests/auto/quick/propertyrequirements/CMakeLists.txt | 2 +- tests/auto/quick/qquickaccessible/CMakeLists.txt | 2 +- tests/auto/quick/qquickanchors/CMakeLists.txt | 2 +- tests/auto/quick/qquickanimatedimage/CMakeLists.txt | 2 +- tests/auto/quick/qquickanimatedsprite/CMakeLists.txt | 2 +- tests/auto/quick/qquickanimationcontroller/CMakeLists.txt | 2 +- tests/auto/quick/qquickanimations/CMakeLists.txt | 2 +- tests/auto/quick/qquickanimators/CMakeLists.txt | 2 +- tests/auto/quick/qquickapplication/CMakeLists.txt | 2 +- tests/auto/quick/qquickbehaviors/CMakeLists.txt | 2 +- tests/auto/quick/qquickborderimage/CMakeLists.txt | 2 +- tests/auto/quick/qquickboundaryrule/CMakeLists.txt | 2 +- tests/auto/quick/qquickcanvasitem/CMakeLists.txt | 2 +- tests/auto/quick/qquickcolorgroup/CMakeLists.txt | 2 +- tests/auto/quick/qquickdeliveryagent/CMakeLists.txt | 2 +- tests/auto/quick/qquickdesignersupport/CMakeLists.txt | 2 +- tests/auto/quick/qquickdrag/CMakeLists.txt | 2 +- tests/auto/quick/qquickdroparea/CMakeLists.txt | 2 +- tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt | 2 +- tests/auto/quick/qquickflickable/CMakeLists.txt | 2 +- tests/auto/quick/qquickflipable/CMakeLists.txt | 2 +- tests/auto/quick/qquickfocusscope/CMakeLists.txt | 2 +- tests/auto/quick/qquickfontloader/CMakeLists.txt | 2 +- tests/auto/quick/qquickfontloader_static/CMakeLists.txt | 2 +- tests/auto/quick/qquickfontmetrics/CMakeLists.txt | 2 +- tests/auto/quick/qquickframebufferobject/CMakeLists.txt | 2 +- tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt | 2 +- tests/auto/quick/qquickgridview/CMakeLists.txt | 2 +- tests/auto/quick/qquickimage/CMakeLists.txt | 2 +- tests/auto/quick/qquickimageprovider/CMakeLists.txt | 2 +- tests/auto/quick/qquickitem/CMakeLists.txt | 4 ++-- tests/auto/quick/qquickitem2/CMakeLists.txt | 2 +- tests/auto/quick/qquickitemlayer/CMakeLists.txt | 2 +- tests/auto/quick/qquickitemrhiintegration/CMakeLists.txt | 2 +- tests/auto/quick/qquicklayouts/CMakeLists.txt | 2 +- tests/auto/quick/qquicklistview/CMakeLists.txt | 2 +- tests/auto/quick/qquicklistview2/CMakeLists.txt | 2 +- tests/auto/quick/qquickloader/CMakeLists.txt | 2 +- tests/auto/quick/qquickmousearea/CMakeLists.txt | 2 +- tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt | 2 +- tests/auto/quick/qquickpainteditem/CMakeLists.txt | 2 +- tests/auto/quick/qquickpalette/CMakeLists.txt | 2 +- tests/auto/quick/qquickpath/CMakeLists.txt | 2 +- tests/auto/quick/qquickpathview/CMakeLists.txt | 4 ++-- tests/auto/quick/qquickpincharea/CMakeLists.txt | 2 +- tests/auto/quick/qquickpixmapcache/CMakeLists.txt | 2 +- tests/auto/quick/qquickpositioners/CMakeLists.txt | 2 +- tests/auto/quick/qquickrectangle/CMakeLists.txt | 2 +- tests/auto/quick/qquickrendercontrol/CMakeLists.txt | 2 +- tests/auto/quick/qquickrepeater/CMakeLists.txt | 2 +- tests/auto/quick/qquickscreen/CMakeLists.txt | 2 +- tests/auto/quick/qquickshadereffect/CMakeLists.txt | 2 +- tests/auto/quick/qquickshape/CMakeLists.txt | 4 ++-- tests/auto/quick/qquickshortcut/CMakeLists.txt | 4 ++-- tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt | 2 +- tests/auto/quick/qquickspringanimation/CMakeLists.txt | 2 +- tests/auto/quick/qquickspritesequence/CMakeLists.txt | 2 +- tests/auto/quick/qquickstates/CMakeLists.txt | 2 +- tests/auto/quick/qquickstyledtext/CMakeLists.txt | 2 +- tests/auto/quick/qquicksystempalette/CMakeLists.txt | 4 ++-- tests/auto/quick/qquicktableview/CMakeLists.txt | 2 +- tests/auto/quick/qquicktext/CMakeLists.txt | 2 +- tests/auto/quick/qquicktextdocument/CMakeLists.txt | 2 +- tests/auto/quick/qquicktextedit/CMakeLists.txt | 4 ++-- tests/auto/quick/qquicktextinput/CMakeLists.txt | 4 ++-- tests/auto/quick/qquicktextmetrics/CMakeLists.txt | 2 +- tests/auto/quick/qquicktimeline/CMakeLists.txt | 2 +- tests/auto/quick/qquicktreeview/CMakeLists.txt | 2 +- tests/auto/quick/qquickview/CMakeLists.txt | 2 +- tests/auto/quick/qquickview_extra/CMakeLists.txt | 2 +- tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt | 4 ++-- tests/auto/quick/qquickwindow/CMakeLists.txt | 2 +- tests/auto/quick/rendernode/CMakeLists.txt | 2 +- tests/auto/quick/scenegraph/CMakeLists.txt | 2 +- tests/auto/quick/sharedimage/CMakeLists.txt | 2 +- tests/auto/quick/softwarerenderer/CMakeLists.txt | 2 +- tests/auto/quick/touchmouse/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/accessibility/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/basic/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/fusion/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/imagine/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/ios/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/macos/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/material/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/universal/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/controls/windows/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/cursor/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/customization/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/designer/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/focus/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/font/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/palette/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/platform/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/pointerhandlers/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/pressandhold/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickcolor/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt | 4 ++-- tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickimaginestyle/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickmaterialstyle/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquicktreeviewdelegate/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickuniversalstyle/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/revisions/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/sanity/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/snippets/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/styleimports/CMakeLists.txt | 2 +- .../quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt | 2 +- .../auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt | 2 +- tests/auto/quickcontrols2/translation/CMakeLists.txt | 2 +- tests/auto/quickdialogs/qquickcolordialogimpl/CMakeLists.txt | 2 +- tests/auto/quickdialogs/qquickfiledialogimpl/CMakeLists.txt | 2 +- tests/auto/quickdialogs/qquickfolderdialogimpl/CMakeLists.txt | 2 +- tests/auto/quickdialogs/qquickfontdialogimpl/CMakeLists.txt | 2 +- tests/auto/quickdialogs/qquickmessagedialogimpl/CMakeLists.txt | 2 +- tests/auto/quicktest/polish-qml/CMakeLists.txt | 2 +- tests/auto/quicktest/polish/CMakeLists.txt | 2 +- tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt | 2 +- tests/auto/quicktest/signalspy/CMakeLists.txt | 2 +- tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt | 2 +- tests/auto/quicktest/testfiltering/test/CMakeLists.txt | 2 +- tests/auto/quicktest/testswithcomponents/CMakeLists.txt | 2 +- tests/auto/quickwidgets/qquickwidget/CMakeLists.txt | 2 +- tests/auto/toolsupport/CMakeLists.txt | 2 +- 344 files changed, 355 insertions(+), 356 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/core/CMakeLists.txt b/tests/auto/core/CMakeLists.txt index e8fa3f701a..f94600b200 100644 --- a/tests/auto/core/CMakeLists.txt +++ b/tests/auto/core/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_core QMLTEST SOURCES tst_core.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::QmlPrivate Qt::QuickTestUtilsPrivate diff --git a/tests/auto/particles/qquickage/CMakeLists.txt b/tests/auto/particles/qquickage/CMakeLists.txt index c5f22ad838..05b01795b7 100644 --- a/tests/auto/particles/qquickage/CMakeLists.txt +++ b/tests/auto/particles/qquickage/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickage SOURCES tst_qquickage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickangleddirection/CMakeLists.txt b/tests/auto/particles/qquickangleddirection/CMakeLists.txt index 7d35a695dc..5b835aaf85 100644 --- a/tests/auto/particles/qquickangleddirection/CMakeLists.txt +++ b/tests/auto/particles/qquickangleddirection/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickangleddirection SOURCES tst_qquickangleddirection.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt index 65c65aaf7d..bfc2ed9779 100644 --- a/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt +++ b/tests/auto/particles/qquickcumulativedirection/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickcumulativedirection SOURCES tst_qquickcumulativedirection.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickcustomaffector/CMakeLists.txt b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt index 391e8f0f6d..e9f25fa497 100644 --- a/tests/auto/particles/qquickcustomaffector/CMakeLists.txt +++ b/tests/auto/particles/qquickcustomaffector/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickcustomaffector SOURCES tst_qquickcustomaffector.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickellipseextruder/CMakeLists.txt b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt index b710281fb0..f113149e87 100644 --- a/tests/auto/particles/qquickellipseextruder/CMakeLists.txt +++ b/tests/auto/particles/qquickellipseextruder/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickellipseextruder SOURCES tst_qquickellipseextruder.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickfriction/CMakeLists.txt b/tests/auto/particles/qquickfriction/CMakeLists.txt index 4cca718e19..62db756aa0 100644 --- a/tests/auto/particles/qquickfriction/CMakeLists.txt +++ b/tests/auto/particles/qquickfriction/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickfriction SOURCES tst_qquickfriction.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickgravity/CMakeLists.txt b/tests/auto/particles/qquickgravity/CMakeLists.txt index 2dc24e2e65..c0e901390b 100644 --- a/tests/auto/particles/qquickgravity/CMakeLists.txt +++ b/tests/auto/particles/qquickgravity/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickgravity SOURCES tst_qquickgravity.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickgroupgoal/CMakeLists.txt b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt index b590950b5a..6376d6f997 100644 --- a/tests/auto/particles/qquickgroupgoal/CMakeLists.txt +++ b/tests/auto/particles/qquickgroupgoal/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickgroupgoal SOURCES tst_qquickgroupgoal.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickimageparticle/CMakeLists.txt b/tests/auto/particles/qquickimageparticle/CMakeLists.txt index cc405a31ba..5f72d45106 100644 --- a/tests/auto/particles/qquickimageparticle/CMakeLists.txt +++ b/tests/auto/particles/qquickimageparticle/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickimageparticle SOURCES tst_qquickimageparticle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickitemparticle/CMakeLists.txt b/tests/auto/particles/qquickitemparticle/CMakeLists.txt index 4e22f48858..f9f2c27c03 100644 --- a/tests/auto/particles/qquickitemparticle/CMakeLists.txt +++ b/tests/auto/particles/qquickitemparticle/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickitemparticle SOURCES tst_qquickitemparticle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquicklineextruder/CMakeLists.txt b/tests/auto/particles/qquicklineextruder/CMakeLists.txt index c1240fc7b1..0c5c5ec4e9 100644 --- a/tests/auto/particles/qquicklineextruder/CMakeLists.txt +++ b/tests/auto/particles/qquicklineextruder/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicklineextruder SOURCES tst_qquicklineextruder.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickmaskextruder/CMakeLists.txt b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt index 63a1e4882f..b7ccc7ce95 100644 --- a/tests/auto/particles/qquickmaskextruder/CMakeLists.txt +++ b/tests/auto/particles/qquickmaskextruder/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickmaskextruder SOURCES tst_qquickmaskextruder.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickparticlegroup/CMakeLists.txt b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt index 7f95e42290..15b67541a9 100644 --- a/tests/auto/particles/qquickparticlegroup/CMakeLists.txt +++ b/tests/auto/particles/qquickparticlegroup/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickparticlegroup SOURCES tst_qquickparticlegroup.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickparticlesystem/CMakeLists.txt b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt index 638945024f..b49f6a8fd8 100644 --- a/tests/auto/particles/qquickparticlesystem/CMakeLists.txt +++ b/tests/auto/particles/qquickparticlesystem/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickparticlesystem SOURCES tst_qquickparticlesystem.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickpointattractor/CMakeLists.txt b/tests/auto/particles/qquickpointattractor/CMakeLists.txt index b6c3f197cc..6c6a3a7029 100644 --- a/tests/auto/particles/qquickpointattractor/CMakeLists.txt +++ b/tests/auto/particles/qquickpointattractor/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpointattractor SOURCES tst_qquickpointattractor.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickpointdirection/CMakeLists.txt b/tests/auto/particles/qquickpointdirection/CMakeLists.txt index d9539c40fe..c975222ef6 100644 --- a/tests/auto/particles/qquickpointdirection/CMakeLists.txt +++ b/tests/auto/particles/qquickpointdirection/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpointdirection SOURCES tst_qquickpointdirection.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt index ee2f689097..2b34348d45 100644 --- a/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt +++ b/tests/auto/particles/qquickrectangleextruder/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickrectangleextruder SOURCES tst_qquickrectangleextruder.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickspritegoal/CMakeLists.txt b/tests/auto/particles/qquickspritegoal/CMakeLists.txt index d5114a8ea0..917ff9a2b3 100644 --- a/tests/auto/particles/qquickspritegoal/CMakeLists.txt +++ b/tests/auto/particles/qquickspritegoal/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickspritegoal SOURCES tst_qquickspritegoal.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquicktargetdirection/CMakeLists.txt b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt index 469e52b309..9844240d30 100644 --- a/tests/auto/particles/qquicktargetdirection/CMakeLists.txt +++ b/tests/auto/particles/qquicktargetdirection/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktargetdirection SOURCES tst_qquicktargetdirection.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquicktrailemitter/CMakeLists.txt b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt index 2fa7e4c70b..f992f020f6 100644 --- a/tests/auto/particles/qquicktrailemitter/CMakeLists.txt +++ b/tests/auto/particles/qquicktrailemitter/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktrailemitter SOURCES tst_qquicktrailemitter.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickturbulence/CMakeLists.txt b/tests/auto/particles/qquickturbulence/CMakeLists.txt index 6af64ff3f5..3a6aaa0165 100644 --- a/tests/auto/particles/qquickturbulence/CMakeLists.txt +++ b/tests/auto/particles/qquickturbulence/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickturbulence SOURCES tst_qquickturbulence.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/particles/qquickwander/CMakeLists.txt b/tests/auto/particles/qquickwander/CMakeLists.txt index b4de12a1d5..b00490895a 100644 --- a/tests/auto/particles/qquickwander/CMakeLists.txt +++ b/tests/auto/particles/qquickwander/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickwander SOURCES tst_qquickwander.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt index 2bc6b9b985..ccad5b9b23 100644 --- a/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt +++ b/tests/auto/qml/animation/qabstractanimationjob/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qabstractanimationjob SOURCES tst_qabstractanimationjob.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::QmlPrivate ) diff --git a/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt index 8d9a813112..ed4e69f9c8 100644 --- a/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt +++ b/tests/auto/qml/animation/qanimationgroupjob/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qanimationgroupjob SOURCES tst_qanimationgroupjob.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::QmlPrivate ) diff --git a/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt index 44e220da80..44946e6644 100644 --- a/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt +++ b/tests/auto/qml/animation/qparallelanimationgroupjob/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qparallelanimationgroupjob SOURCES tst_qparallelanimationgroupjob.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt index e7e5b67d47..37b2a75a04 100644 --- a/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt +++ b/tests/auto/qml/animation/qpauseanimationjob/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qpauseanimationjob SOURCES tst_qpauseanimationjob.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::GuiPrivate Qt::QmlPrivate diff --git a/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt index c6839eb387..ac9add2a66 100644 --- a/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt +++ b/tests/auto/qml/animation/qsequentialanimationgroupjob/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qsequentialanimationgroupjob SOURCES tst_qsequentialanimationgroupjob.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::QmlPrivate ) diff --git a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt index a22e2f7e2f..72b00e0edb 100644 --- a/tests/auto/qml/bindingdependencyapi/CMakeLists.txt +++ b/tests/auto/qml/bindingdependencyapi/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_bindingdependencyapi SOURCES tst_bindingdependencyapi.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt index 03b83a80d8..ad67fc8120 100644 --- a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt +++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qdebugmessageservice ../shared/debugutil.cpp ../shared/debugutil_p.h ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h tst_qdebugmessageservice.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt index ebbff54b44..1f6afec230 100644 --- a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt +++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_qpacketprotocol tst_qpacketprotocol.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt index 36f9c6ea18..a4ba539a4a 100644 --- a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qqmldebugclient QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt index 25bca89aa9..dfcf1829fe 100644 --- a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_qqmldebuggingenabler tst_qqmldebuggingenabler.cpp INCLUDE_DIRECTORIES ../../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt index b2c21e5b0b..38aa592927 100644 --- a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_executable(qqmldebuggingenablerserver QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Test diff --git a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt index 6d5702d004..ed791eea8d 100644 --- a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qqmldebugjs tst_qqmldebugjs.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt index 8c0ae537f5..088e204507 100644 --- a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_executable(qqmldebugjsserver QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Test diff --git a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt index cfa57d33af..6868d2c95f 100644 --- a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmldebuglocal QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt index 752ae0db48..15f7f04a1c 100644 --- a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt @@ -23,7 +23,7 @@ qt_internal_add_test(tst_qqmldebugservice QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmldebugtranslationclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugtranslationclient/CMakeLists.txt index 7a27e64ae3..1e7be785a0 100644 --- a/tests/auto/qml/debugger/qqmldebugtranslationclient/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugtranslationclient/CMakeLists.txt @@ -19,7 +19,7 @@ qt_internal_add_test(tst_qqmldebugtranslationclient INCLUDE_DIRECTORIES ../../../../../src/plugins/qmltooling/qmldbg_preview ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::QuickPrivate Qt::CorePrivate Qt::Gui diff --git a/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt index 78adf9b807..3a86d6b58a 100644 --- a/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmldebugtranslationservice/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_qqmldebugtranslationservice INCLUDE_DIRECTORIES ../../../../../src/plugins/qmltooling/qmldbg_preview ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Quick Qt::QuickPrivate Qt::CorePrivate diff --git a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt index 18cc339f54..a584bb3a70 100644 --- a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qqmlenginecontrol tst_qqmlenginecontrol.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt index 8358f373e6..92216e58a8 100644 --- a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qqmlenginedebuginspectorintegration tst_qqmlenginedebuginspectorintegration.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt index 1622a4d7a0..3529550a1e 100644 --- a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt @@ -22,7 +22,7 @@ qt_internal_add_test(tst_qqmlenginedebugservice QT_QML_DEBUG_NO_WARNING INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QmlDebugPrivate Qt::QmlPrivate diff --git a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt index b08d8a1146..4984a23807 100644 --- a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qqmlinspector tst_qqmlinspector.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt index 0fbd4cac9d..e14065adcc 100644 --- a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qqmlnativeconnector tst_qqmlnativeconnector.cpp DEFINES QT_QML_DEBUG - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt index 3d7260ad8a..725ac237c6 100644 --- a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt @@ -24,7 +24,7 @@ qt_internal_add_test(tst_qqmlpreview INCLUDE_DIRECTORIES ../../../../../src/plugins/qmltooling/qmldbg_preview ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlDebugPrivate diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt index a057bbd879..f7d181bfe2 100644 --- a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt +++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qqmlprofilerservice tst_qqmlprofilerservice.cpp INCLUDE_DIRECTORIES ../shared - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::QmlDebugPrivate diff --git a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt index da97b5ecf5..8de15b9158 100644 --- a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt +++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_qv4debugger tst_qv4debugger.cpp INCLUDE_DIRECTORIES ../../../../../src/plugins/qmltooling/qmldbg_debugger - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/ecmascripttests/CMakeLists.txt b/tests/auto/qml/ecmascripttests/CMakeLists.txt index 3fd6d3bc9c..8f979056c1 100644 --- a/tests/auto/qml/ecmascripttests/CMakeLists.txt +++ b/tests/auto/qml/ecmascripttests/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_test(tst_ecmascripttests tst_ecmascripttests.cpp DEFINES SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::QmlPrivate ) diff --git a/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt index 2a230710e2..ab99ae9729 100644 --- a/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt +++ b/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_tool(${target_name} QT_DEPRECATED_WARNINGS INCLUDE_DIRECTORIES . - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QmlPrivate ) diff --git a/tests/auto/qml/parserstress/CMakeLists.txt b/tests/auto/qml/parserstress/CMakeLists.txt index f141d6be78..2ab19280d1 100644 --- a/tests/auto/qml/parserstress/CMakeLists.txt +++ b/tests/auto/qml/parserstress/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_parserstress SOURCES tst_parserstress.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qjsengine/CMakeLists.txt b/tests/auto/qml/qjsengine/CMakeLists.txt index cf2a72bce1..5a90033861 100644 --- a/tests/auto/qml/qjsengine/CMakeLists.txt +++ b/tests/auto/qml/qjsengine/CMakeLists.txt @@ -23,7 +23,7 @@ endif() qt_internal_add_test(tst_qjsengine SOURCES tst_qjsengine.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qjsmanagedvalue/CMakeLists.txt b/tests/auto/qml/qjsmanagedvalue/CMakeLists.txt index d3fbbf048b..2c04235a83 100644 --- a/tests/auto/qml/qjsmanagedvalue/CMakeLists.txt +++ b/tests/auto/qml/qjsmanagedvalue/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qjsmanagedvalue SOURCES tst_qjsmanagedvalue.cpp tst_qjsmanagedvalue.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Qml Qt::QmlPrivate TESTDATA "dummy_imports.qml" diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt index 6c5257c00e..9da7f2f947 100644 --- a/tests/auto/qml/qjsonbinding/CMakeLists.txt +++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qjsonbinding SOURCES tst_qjsonbinding.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qjsprimitivevalue/CMakeLists.txt b/tests/auto/qml/qjsprimitivevalue/CMakeLists.txt index 2f24e80b8e..43b4777010 100644 --- a/tests/auto/qml/qjsprimitivevalue/CMakeLists.txt +++ b/tests/auto/qml/qjsprimitivevalue/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qjsprimitivevalue SOURCES tst_qjsprimitivevalue.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Qml ) diff --git a/tests/auto/qml/qjsvalue/CMakeLists.txt b/tests/auto/qml/qjsvalue/CMakeLists.txt index 50383b1b2a..2f26686db0 100644 --- a/tests/auto/qml/qjsvalue/CMakeLists.txt +++ b/tests/auto/qml/qjsvalue/CMakeLists.txt @@ -17,7 +17,7 @@ endif() qt_internal_add_test(tst_qjsvalue SOURCES tst_qjsvalue.cpp tst_qjsvalue.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt index a29f5f3194..5bfd88dd82 100644 --- a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt +++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qjsvalueiterator SOURCES tst_qjsvalueiterator.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Qml ) diff --git a/tests/auto/qml/qmlcachegen/CMakeLists.txt b/tests/auto/qml/qmlcachegen/CMakeLists.txt index b3d385c983..12f0352764 100644 --- a/tests/auto/qml/qmlcachegen/CMakeLists.txt +++ b/tests/auto/qml/qmlcachegen/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qmlcachegen SOURCES tst_qmlcachegen.cpp scriptstringprops.h - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/qml/qmldiskcache/CMakeLists.txt b/tests/auto/qml/qmldiskcache/CMakeLists.txt index a7a11fa8ec..98cf064789 100644 --- a/tests/auto/qml/qmldiskcache/CMakeLists.txt +++ b/tests/auto/qml/qmldiskcache/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qmldiskcache SOURCES tst_qmldiskcache.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/qml/qmlformat/CMakeLists.txt b/tests/auto/qml/qmlformat/CMakeLists.txt index bc5fd37e88..d94c2f4645 100644 --- a/tests/auto/qml/qmlformat/CMakeLists.txt +++ b/tests/auto/qml/qmlformat/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qmlformat tst_qmlformat.cpp DEFINES SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::TestPrivate diff --git a/tests/auto/qml/qmlimportscanner/CMakeLists.txt b/tests/auto/qml/qmlimportscanner/CMakeLists.txt index 7d2f80dc0b..739e2a0118 100644 --- a/tests/auto/qml/qmlimportscanner/CMakeLists.txt +++ b/tests/auto/qml/qmlimportscanner/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qmlimportscanner SOURCES tst_qmlimportscanner.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickTestUtilsPrivate TESTDATA ${test_data} diff --git a/tests/auto/qml/qmllint/CMakeLists.txt b/tests/auto/qml/qmllint/CMakeLists.txt index 39b323e37c..314526054b 100644 --- a/tests/auto/qml/qmllint/CMakeLists.txt +++ b/tests/auto/qml/qmllint/CMakeLists.txt @@ -21,7 +21,7 @@ target_compile_definitions(LintPlugin PRIVATE QT_STATICPLUGIN) qt_internal_add_test(tst_qmllint SOURCES tst_qmllint.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickTestUtilsPrivate Qt::QmlCompilerPrivate diff --git a/tests/auto/qml/qmlplugindump/CMakeLists.txt b/tests/auto/qml/qmlplugindump/CMakeLists.txt index fb11d841bd..da54d9eb3e 100644 --- a/tests/auto/qml/qmlplugindump/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qmlplugindump tst_qmlplugindump.cpp DEFINES QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::GuiPrivate Qt::Qml Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt index 3daeaf9f4f..bbba7dab6e 100644 --- a/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/data/dumper/Dummy/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_cmake_library(Dummy SOURCES dummy.cpp dummy.h dummy_plugin.cpp dummy_plugin.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt index 841495873f..9f682ac4bf 100644 --- a/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/data/dumper/ExtendedType/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_cmake_library(ExtendedType SOURCES plugin.cpp plugin.h types.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt index 27f527064e..a0e46da27b 100644 --- a/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/data/dumper/Imports/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_cmake_library(Imports SOURCES imports.cpp imports.h imports_plugin.cpp imports_plugin.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt index 6c649578d8..9105913fd9 100644 --- a/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/data/dumper/Versions/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_cmake_library(Versions SOURCES versions.cpp versions.h versions_plugin.cpp versions_plugin.h - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt index f05c3c66ed..45358074d9 100644 --- a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt +++ b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt @@ -29,7 +29,7 @@ qt_internal_add_test(tst_qmltyperegistrar ${moc_files} INCLUDE_DIRECTORIES foreign - PUBLIC_LIBRARIES + LIBRARIES # Remove: Lforeign Qt::Qml foreign @@ -37,7 +37,7 @@ qt_internal_add_test(tst_qmltyperegistrar ) qt_internal_extend_target(tst_qmltyperegistrar CONDITION TARGET Qt::Quick - PUBLIC_LIBRARIES + LIBRARIES Qt::Quick ) diff --git a/tests/auto/qml/qqmlanybinding/CMakeLists.txt b/tests/auto/qml/qqmlanybinding/CMakeLists.txt index 6339debf33..2da59e670f 100644 --- a/tests/auto/qml/qqmlanybinding/CMakeLists.txt +++ b/tests/auto/qml/qqmlanybinding/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_test(tst_qqmlanybinding SOURCES withbindable.h tst_qqmlanybinding.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt index c641ec6079..1eb4b0847f 100644 --- a/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlapplicationengine SOURCES tst_qqmlapplicationengine.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::GuiPrivate Qt::Network diff --git a/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt index 871539cfc4..187f6e758f 100644 --- a/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/androidassets/CMakeLists.txt @@ -4,7 +4,7 @@ qt_internal_add_test(tst_androidassets SOURCES tst_androidassets.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Quick diff --git a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt index 4a2834521b..5f8e8a95bc 100644 --- a/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt +++ b/tests/auto/qml/qqmlapplicationengine/testapp/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_executable(testapp OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" SOURCES main.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qqmlbinding/CMakeLists.txt b/tests/auto/qml/qqmlbinding/CMakeLists.txt index f976e93cc3..1536e032fd 100644 --- a/tests/auto/qml/qqmlbinding/CMakeLists.txt +++ b/tests/auto/qml/qqmlbinding/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlbinding SOURCES tst_qqmlbinding.cpp WithBindableProperties.h - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlchangeset/CMakeLists.txt b/tests/auto/qml/qqmlchangeset/CMakeLists.txt index 3bcab80e36..4c8afbdab2 100644 --- a/tests/auto/qml/qqmlchangeset/CMakeLists.txt +++ b/tests/auto/qml/qqmlchangeset/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlhangeset SOURCES tst_qqmlchangeset.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlcomponent/CMakeLists.txt b/tests/auto/qml/qqmlcomponent/CMakeLists.txt index a14d8cf9cb..e2b2832987 100644 --- a/tests/auto/qml/qqmlcomponent/CMakeLists.txt +++ b/tests/auto/qml/qqmlcomponent/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlcomponent SOURCES tst_qqmlcomponent.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlconnections/CMakeLists.txt b/tests/auto/qml/qqmlconnections/CMakeLists.txt index 737794d9be..ea9791aa5f 100644 --- a/tests/auto/qml/qqmlconnections/CMakeLists.txt +++ b/tests/auto/qml/qqmlconnections/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlconnections SOURCES tst_qqmlconnections.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlconsole/CMakeLists.txt b/tests/auto/qml/qqmlconsole/CMakeLists.txt index b26938f607..0932a7bbf7 100644 --- a/tests/auto/qml/qqmlconsole/CMakeLists.txt +++ b/tests/auto/qml/qqmlconsole/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlconsole SOURCES tst_qqmlconsole.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qqmlcontext/CMakeLists.txt b/tests/auto/qml/qqmlcontext/CMakeLists.txt index 6a6a27cc18..7f70becbba 100644 --- a/tests/auto/qml/qqmlcontext/CMakeLists.txt +++ b/tests/auto/qml/qqmlcontext/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlcontext SOURCES tst_qqmlcontext.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlcpputils/CMakeLists.txt b/tests/auto/qml/qqmlcpputils/CMakeLists.txt index 6845e44fe5..6bb32999a8 100644 --- a/tests/auto/qml/qqmlcpputils/CMakeLists.txt +++ b/tests/auto/qml/qqmlcpputils/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlcpputils SOURCES tst_qqmlcpputils.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmldelegatemodel/CMakeLists.txt b/tests/auto/qml/qqmldelegatemodel/CMakeLists.txt index 746001865a..9e8efab3e1 100644 --- a/tests/auto/qml/qqmldelegatemodel/CMakeLists.txt +++ b/tests/auto/qml/qqmldelegatemodel/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmldelegatemodel SOURCES tst_qqmldelegatemodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qqmldirparser/CMakeLists.txt b/tests/auto/qml/qqmldirparser/CMakeLists.txt index 5d4c81296d..9ea5db2910 100644 --- a/tests/auto/qml/qqmldirparser/CMakeLists.txt +++ b/tests/auto/qml/qqmldirparser/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmldirparser SOURCES tst_qqmldirparser.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qqmlecmascript/CMakeLists.txt b/tests/auto/qml/qqmlecmascript/CMakeLists.txt index 94c5bd2ef0..774558fe77 100644 --- a/tests/auto/qml/qqmlecmascript/CMakeLists.txt +++ b/tests/auto/qml/qqmlecmascript/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlecmascript SOURCES testtypes.cpp testtypes.h tst_qqmlecmascript.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -54,7 +54,7 @@ qt_internal_add_resource(tst_qqmlecmascript "qqmlecmascript" ##################################################################### qt_internal_extend_target(tst_qqmlecmascript CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/qml/qqmlengine/CMakeLists.txt b/tests/auto/qml/qqmlengine/CMakeLists.txt index 2723d32110..f87c2106f8 100644 --- a/tests/auto/qml/qqmlengine/CMakeLists.txt +++ b/tests/auto/qml/qqmlengine/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlengine SOURCES tst_qqmlengine.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt index 3b4bab2d78..67e0876fa8 100644 --- a/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt +++ b/tests/auto/qml/qqmlenginecleanup/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlenginecleanup SOURCES tst_qqmlenginecleanup.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Qml Qt::QmlPrivate Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qqmlerror/CMakeLists.txt b/tests/auto/qml/qqmlerror/CMakeLists.txt index 39b9623646..e837aa04ac 100644 --- a/tests/auto/qml/qqmlerror/CMakeLists.txt +++ b/tests/auto/qml/qqmlerror/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlerror SOURCES tst_qqmlerror.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlexpression/CMakeLists.txt b/tests/auto/qml/qqmlexpression/CMakeLists.txt index 2e8d8eb596..194d8854fb 100644 --- a/tests/auto/qml/qqmlexpression/CMakeLists.txt +++ b/tests/auto/qml/qqmlexpression/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlexpression SOURCES tst_qqmlexpression.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt index 9cb9aa7225..fef7b198fc 100644 --- a/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlextensionplugin/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlextensionplugin SOURCES tst_qqmlextensionplugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt index 0b22848af9..52d3a37b63 100644 --- a/tests/auto/qml/qqmlfile/CMakeLists.txt +++ b/tests/auto/qml/qqmlfile/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlfile SOURCES tst_qqmlfile.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt index 30248f53b6..34299cd113 100644 --- a/tests/auto/qml/qqmlfileselector/CMakeLists.txt +++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlfileselector SOURCES tst_qqmlfileselector.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlglobal/CMakeLists.txt b/tests/auto/qml/qqmlglobal/CMakeLists.txt index 5b394279b6..00be732b2f 100644 --- a/tests/auto/qml/qqmlglobal/CMakeLists.txt +++ b/tests/auto/qml/qqmlglobal/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlglobal SOURCES tst_qqmlglobal.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlimport/CMakeLists.txt b/tests/auto/qml/qqmlimport/CMakeLists.txt index d7d3a8360c..83c210c843 100644 --- a/tests/auto/qml/qqmlimport/CMakeLists.txt +++ b/tests/auto/qml/qqmlimport/CMakeLists.txt @@ -28,7 +28,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlimport SOURCES tst_qqmlimport.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qqmlincubator/CMakeLists.txt b/tests/auto/qml/qqmlincubator/CMakeLists.txt index ee2216f0fd..3a6f52822d 100644 --- a/tests/auto/qml/qqmlincubator/CMakeLists.txt +++ b/tests/auto/qml/qqmlincubator/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlincubator SOURCES testtypes.cpp testtypes.h tst_qqmlincubator.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlinfo/CMakeLists.txt b/tests/auto/qml/qqmlinfo/CMakeLists.txt index bf9bb046ef..dea955773e 100644 --- a/tests/auto/qml/qqmlinfo/CMakeLists.txt +++ b/tests/auto/qml/qqmlinfo/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlinfo SOURCES attached.cpp attached.h tst_qqmlinfo.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlinstantiator/CMakeLists.txt b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt index 41621f2a17..8b1fe20af9 100644 --- a/tests/auto/qml/qqmlinstantiator/CMakeLists.txt +++ b/tests/auto/qml/qqmlinstantiator/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlinstantiator SOURCES stringmodel.h tst_qqmlinstantiator.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlitemmodels/CMakeLists.txt b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt index d6fe2ae05b..d9e60b6c36 100644 --- a/tests/auto/qml/qqmlitemmodels/CMakeLists.txt +++ b/tests/auto/qml/qqmlitemmodels/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qqmlitemmodels qtestmodel.h testtypes.h tst_qqmlitemmodels.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qqmllanguage/CMakeLists.txt b/tests/auto/qml/qqmllanguage/CMakeLists.txt index eff539be7f..9aa3d37f8c 100644 --- a/tests/auto/qml/qqmllanguage/CMakeLists.txt +++ b/tests/auto/qml/qqmllanguage/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmllanguage SOURCES testtypes.cpp testtypes.h tst_qqmllanguage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmllistcompositor/CMakeLists.txt b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt index c5ebf32dff..845086a944 100644 --- a/tests/auto/qml/qqmllistcompositor/CMakeLists.txt +++ b/tests/auto/qml/qqmllistcompositor/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmllistcompositor SOURCES tst_qqmllistcompositor.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt index 84853eabbe..d1dcdb5775 100644 --- a/tests/auto/qml/qqmllistmodel/CMakeLists.txt +++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmllistmodel SOURCES tst_qqmllistmodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt index 458679576e..489192ad09 100644 --- a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt +++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmllistmodelworkerscript SOURCES tst_qqmllistmodelworkerscript.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmllistreference/CMakeLists.txt b/tests/auto/qml/qqmllistreference/CMakeLists.txt index 7eeed3d370..c0dfd9101b 100644 --- a/tests/auto/qml/qqmllistreference/CMakeLists.txt +++ b/tests/auto/qml/qqmllistreference/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmllistreference SOURCES tst_qqmllistreference.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmllocale/CMakeLists.txt b/tests/auto/qml/qqmllocale/CMakeLists.txt index b8358f12ab..471ad004ca 100644 --- a/tests/auto/qml/qqmllocale/CMakeLists.txt +++ b/tests/auto/qml/qqmllocale/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmllocale SOURCES tst_qqmllocale.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qqmlmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt index d69c821991..31b1a6ec7d 100644 --- a/tests/auto/qml/qqmlmetaobject/CMakeLists.txt +++ b/tests/auto/qml/qqmlmetaobject/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlmetaobject SOURCES tst_qqmlmetaobject.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/qqmlmetatype/CMakeLists.txt b/tests/auto/qml/qqmlmetatype/CMakeLists.txt index 6dc4461f1c..ea5dfb7a3d 100644 --- a/tests/auto/qml/qqmlmetatype/CMakeLists.txt +++ b/tests/auto/qml/qqmlmetatype/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlmetatype SOURCES tst_qqmlmetatype.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt index 593d6f0588..2e9307ce3e 100644 --- a/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/CMakeLists.txt @@ -24,7 +24,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlmoduleplugin SOURCES tst_qqmlmoduleplugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::GuiPrivate Qt::Network diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt index 9bfa440037..397247852b 100644 --- a/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/invalidFirstCommandModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(invalidFirstCommandModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidFirstCommandModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt index 7ed151bb7f..9773391c81 100644 --- a/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/invalidNamespaceModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(invalidNamespaceModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/InvalidNamespaceModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt index c4ffe71169..60229cfb52 100644 --- a/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/moduleWithQmlSingleton/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(moduleWithQmlSingleton OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ModuleWithQmlSingleton" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt index 6b51cdb0e3..2471cbef5f 100644 --- a/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/nestedPlugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(nestedPlugin OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlNestedPluginType" SOURCES nestedPlugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt index b6f886e328..7c5044f67d 100644 --- a/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/nonstrictModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(nonstrictModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/NonstrictModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/optionalPlugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/optionalPlugin/CMakeLists.txt index 865d2e1e30..009adb84c0 100644 --- a/tests/auto/qml/qqmlmoduleplugin/optionalPlugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/optionalPlugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(optionalPlugin OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/QtQuick/Shapes" SOURCES optionalPlugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::Qml ) diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt index 4dcf6b28db..38ef6f4cc3 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(plugin.2.1 OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.1" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt index 9b9be8efff..ae31426ae6 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.1/childplugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(childplugin.2.1 # special case OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2.1/ChildPlugin" SOURCES childplugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt index 6e53136f5c..4effa03993 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2.2/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(plugin.2.2 OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2.2" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt index bda031d6f9..10ab14b129 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(plugin.2 OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType.2" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt index 856a384e19..5617eadb05 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin.2/childplugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(childplugin.2 # special case OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType.2/ChildPlugin" SOURCES childplugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt index 4f0907801c..4c4b855756 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(plugin OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlPluginType" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt index 221e1069e8..10cdd21b40 100644 --- a/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/plugin/childplugin/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(childplugin OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../../imports/org/qtproject/AutoTestQmlPluginType/ChildPlugin" SOURCES childplugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt index 39ade49698..43a2178649 100644 --- a/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/pluginMixed/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(pluginMixed OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlMixedPluginType" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt index 3a4c4d222c..a0da134a07 100644 --- a/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/pluginVersion/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(pluginVersion OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestQmlVersionPluginType" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt index a8e4ba31f7..a50536c55f 100644 --- a/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWithQmlFile/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(pluginWithQmlFile OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/AutoTestPluginWithQmlFile" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt index d852b9c15d..58cfc3b907 100644 --- a/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/pluginWrongCase/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(Plugin OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/WrongCase" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt index 77e974658a..dcee531500 100644 --- a/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/preemptedStrictModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(preemptedStrictModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptedStrictModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt index 20f87b3034..c0f5061e7f 100644 --- a/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/preemptiveModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(preemptiveModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/PreemptiveModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt index 3d65ab7333..08b46fd390 100644 --- a/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/protectedModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(protectedModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/ProtectedModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt index 75701c20c1..49a0db0138 100644 --- a/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule.2/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(strictModule.2 OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule.2" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt index 809930947a..065b980e3d 100644 --- a/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt +++ b/tests/auto/qml/qqmlmoduleplugin/strictModule/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_cmake_library(strictModule OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/org/qtproject/StrictModule" SOURCES plugin.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::CorePrivate Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlnotifier/CMakeLists.txt b/tests/auto/qml/qqmlnotifier/CMakeLists.txt index 946ca59b9a..e6bbc491d1 100644 --- a/tests/auto/qml/qqmlnotifier/CMakeLists.txt +++ b/tests/auto/qml/qqmlnotifier/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlnotifier SOURCES tst_qqmlnotifier.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt index a40c3097ed..988d1eb021 100644 --- a/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt +++ b/tests/auto/qml/qqmlobjectmodel/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlobjectmodel SOURCES tst_qqmlobjectmodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::Qml diff --git a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt index c8cd12e034..d812d65e07 100644 --- a/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt +++ b/tests/auto/qml/qqmlopenmetaobject/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmlopenmetaobject SOURCES tst_qqmlopenmetaobject.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlparser/CMakeLists.txt b/tests/auto/qml/qqmlparser/CMakeLists.txt index 6146c88f81..f10b05ccbf 100644 --- a/tests/auto/qml/qqmlparser/CMakeLists.txt +++ b/tests/auto/qml/qqmlparser/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qqmlparser tst_qqmlparser.cpp DEFINES SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QmlPrivate Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qqmlpromise/CMakeLists.txt b/tests/auto/qml/qqmlpromise/CMakeLists.txt index 8dbfe70c55..18bbc43341 100644 --- a/tests/auto/qml/qqmlpromise/CMakeLists.txt +++ b/tests/auto/qml/qqmlpromise/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qqmlpromise tst_qqmlpromise.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlproperty/CMakeLists.txt b/tests/auto/qml/qqmlproperty/CMakeLists.txt index 81f4d2b2c1..0412bab908 100644 --- a/tests/auto/qml/qqmlproperty/CMakeLists.txt +++ b/tests/auto/qml/qqmlproperty/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlproperty SOURCES interfaces.h tst_qqmlproperty.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlpropertycache/CMakeLists.txt b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt index 234872a792..c49e6195bb 100644 --- a/tests/auto/qml/qqmlpropertycache/CMakeLists.txt +++ b/tests/auto/qml/qqmlpropertycache/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlpropertycache SOURCES tst_qqmlpropertycache.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlpropertymap/CMakeLists.txt b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt index acd2af20ba..248cbaac08 100644 --- a/tests/auto/qml/qqmlpropertymap/CMakeLists.txt +++ b/tests/auto/qml/qqmlpropertymap/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlpropertymap SOURCES tst_qqmlpropertymap.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlqt/CMakeLists.txt b/tests/auto/qml/qqmlqt/CMakeLists.txt index 05e2b04b8f..f581b2141d 100644 --- a/tests/auto/qml/qqmlqt/CMakeLists.txt +++ b/tests/auto/qml/qqmlqt/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlqt SOURCES tst_qqmlqt.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlsettings/CMakeLists.txt b/tests/auto/qml/qqmlsettings/CMakeLists.txt index 7bc37a1b65..9975174dab 100644 --- a/tests/auto/qml/qqmlsettings/CMakeLists.txt +++ b/tests/auto/qml/qqmlsettings/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlsettings SOURCES tst_qqmlsettings.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt index 99f69d2f1d..9ea9384b8d 100644 --- a/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt +++ b/tests/auto/qml/qqmlsqldatabase/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlsqldatabase SOURCES tst_qqmlsqldatabase.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmltablemodel/CMakeLists.txt b/tests/auto/qml/qqmltablemodel/CMakeLists.txt index 8167bfaf05..1d84bcdd1d 100644 --- a/tests/auto/qml/qqmltablemodel/CMakeLists.txt +++ b/tests/auto/qml/qqmltablemodel/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmltablemodel SOURCES tst_qqmltablemodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qqmltimer/CMakeLists.txt b/tests/auto/qml/qqmltimer/CMakeLists.txt index 937952ac0c..ec4524108f 100644 --- a/tests/auto/qml/qqmltimer/CMakeLists.txt +++ b/tests/auto/qml/qqmltimer/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qqmltimer SOURCES tst_qqmltimer.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmltranslation/CMakeLists.txt b/tests/auto/qml/qqmltranslation/CMakeLists.txt index 8db4e6a4c0..f7057d3b08 100644 --- a/tests/auto/qml/qqmltranslation/CMakeLists.txt +++ b/tests/auto/qml/qqmltranslation/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmltranslation SOURCES tst_qqmltranslation.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmltreemodeltotablemodel/CMakeLists.txt b/tests/auto/qml/qqmltreemodeltotablemodel/CMakeLists.txt index f8a1397c5e..11e5134323 100644 --- a/tests/auto/qml/qqmltreemodeltotablemodel/CMakeLists.txt +++ b/tests/auto/qml/qqmltreemodeltotablemodel/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_test(tst_qqmltreemodeltotablemodel SOURCES tst_qqmltreemodeltotablemodel.cpp testmodel.h testmodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qqmltypeloader/CMakeLists.txt b/tests/auto/qml/qqmltypeloader/CMakeLists.txt index 356f5e8d7e..8c9971963a 100644 --- a/tests/auto/qml/qqmltypeloader/CMakeLists.txt +++ b/tests/auto/qml/qqmltypeloader/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmltypeloader SOURCES declarativetesttype.h tst_qqmltypeloader.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Qml Qt::QmlPrivate Qt::Quick diff --git a/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt index 5f5976ab04..e92e306897 100644 --- a/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt +++ b/tests/auto/qml/qqmlvaluetypeproviders/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlvaluetypeproviders SOURCES testtypes.cpp testtypes.h tst_qqmlvaluetypeproviders.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt index 4980be25f3..927c1a4168 100644 --- a/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt +++ b/tests/auto/qml/qqmlvaluetypes/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qqmlvaluetypes SOURCES testtypes.cpp testtypes.h tst_qqmlvaluetypes.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt index 1fc8cc29a0..0a9d2c0c23 100644 --- a/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt +++ b/tests/auto/qml/qqmlxmlhttprequest/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qqmlxmlhttprequest SOURCES tst_qqmlxmlhttprequest.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt index 4bd336e319..ba115d7a69 100644 --- a/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt +++ b/tests/auto/qml/qquickfolderlistmodel/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickfolderlistmodel SOURCES tst_qquickfolderlistmodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qquickworkerscript/CMakeLists.txt b/tests/auto/qml/qquickworkerscript/CMakeLists.txt index ba0063ed54..3aefcef32a 100644 --- a/tests/auto/qml/qquickworkerscript/CMakeLists.txt +++ b/tests/auto/qml/qquickworkerscript/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickworkerscript SOURCES tst_qquickworkerscript.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qrcqml/CMakeLists.txt b/tests/auto/qml/qrcqml/CMakeLists.txt index 4ff9fc8d9e..dfbdc50376 100644 --- a/tests/auto/qml/qrcqml/CMakeLists.txt +++ b/tests/auto/qml/qrcqml/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qrcqml SOURCES tst_qrcqml.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml ) diff --git a/tests/auto/qml/qtqmlmodules/CMakeLists.txt b/tests/auto/qml/qtqmlmodules/CMakeLists.txt index 1e15b7828b..6bb4db09be 100644 --- a/tests/auto/qml/qtqmlmodules/CMakeLists.txt +++ b/tests/auto/qml/qtqmlmodules/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qtqmlmodules SOURCES tst_qtqmlmodules.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/qml/qv4assembler/CMakeLists.txt b/tests/auto/qml/qv4assembler/CMakeLists.txt index ac03bfe59c..bb8491316c 100644 --- a/tests/auto/qml/qv4assembler/CMakeLists.txt +++ b/tests/auto/qml/qv4assembler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qv4assembler SOURCES tst_qv4assembler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QmlPrivate Qt::QuickTestUtilsPrivate diff --git a/tests/auto/qml/qv4identifiertable/CMakeLists.txt b/tests/auto/qml/qv4identifiertable/CMakeLists.txt index 1d563b2585..061f821e1b 100644 --- a/tests/auto/qml/qv4identifiertable/CMakeLists.txt +++ b/tests/auto/qml/qv4identifiertable/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qv4identifiertable SOURCES tst_qv4identifiertable.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qv4mm/CMakeLists.txt b/tests/auto/qml/qv4mm/CMakeLists.txt index 0a35725874..3bb11120a9 100644 --- a/tests/auto/qml/qv4mm/CMakeLists.txt +++ b/tests/auto/qml/qv4mm/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qv4mm SOURCES tst_qv4mm.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qv4regexp/CMakeLists.txt b/tests/auto/qml/qv4regexp/CMakeLists.txt index d1460559bf..07ba5be79c 100644 --- a/tests/auto/qml/qv4regexp/CMakeLists.txt +++ b/tests/auto/qml/qv4regexp/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qv4regexp SOURCES tst_qv4regexp.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QmlPrivate diff --git a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt index bc18d8aaf3..78d6ac8d2d 100644 --- a/tests/auto/qml/qwidgetsinqml/CMakeLists.txt +++ b/tests/auto/qml/qwidgetsinqml/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qwidgetsinqml tst_qwidgetsinqml.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::GuiPrivate Qt::Qml diff --git a/tests/auto/qml/registrationmacros/CMakeLists.txt b/tests/auto/qml/registrationmacros/CMakeLists.txt index 933995ec9a..533858599e 100644 --- a/tests/auto/qml/registrationmacros/CMakeLists.txt +++ b/tests/auto/qml/registrationmacros/CMakeLists.txt @@ -6,7 +6,7 @@ qt_internal_add_test(tst_registrationmacros tst_registrationmacros.cpp types.h types.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/qml/v4misc/CMakeLists.txt b/tests/auto/qml/v4misc/CMakeLists.txt index 6e1074b376..591ac130ea 100644 --- a/tests/auto/qml/v4misc/CMakeLists.txt +++ b/tests/auto/qml/v4misc/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_v4misc SOURCES tst_v4misc.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/qmldom/combined/CMakeLists.txt b/tests/auto/qmldom/combined/CMakeLists.txt index b7936683b8..7952ee33cb 100644 --- a/tests/auto/qmldom/combined/CMakeLists.txt +++ b/tests/auto/qmldom/combined/CMakeLists.txt @@ -27,7 +27,7 @@ qt_internal_add_test(tst_dom_all NO_QTEST_MAIN QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../domdata\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::Test diff --git a/tests/auto/qmldom/domitem/CMakeLists.txt b/tests/auto/qmldom/domitem/CMakeLists.txt index 8d86bbea70..ef8db3b116 100644 --- a/tests/auto/qmldom/domitem/CMakeLists.txt +++ b/tests/auto/qmldom/domitem/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qmldomitem DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../domdata\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::QmlDomPrivate Qt::Test TESTDATA ${test_data} diff --git a/tests/auto/qmldom/errormessage/CMakeLists.txt b/tests/auto/qmldom/errormessage/CMakeLists.txt index 37975ab540..ac773f9b23 100644 --- a/tests/auto/qmldom/errormessage/CMakeLists.txt +++ b/tests/auto/qmldom/errormessage/CMakeLists.txt @@ -12,6 +12,6 @@ qt_internal_add_test(tst_qmldomerrormessage tst_qmldomerrormessage.cpp tst_qmldomerrormessage.h DEFINES QT_DEPRECATED_WARNINGS - PUBLIC_LIBRARIES + LIBRARIES Qt::QmlDomPrivate ) diff --git a/tests/auto/qmldom/merging/CMakeLists.txt b/tests/auto/qmldom/merging/CMakeLists.txt index e84635dccc..57d3d8fa20 100644 --- a/tests/auto/qmldom/merging/CMakeLists.txt +++ b/tests/auto/qmldom/merging/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_dommerging DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../domdata\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::Test diff --git a/tests/auto/qmldom/path/CMakeLists.txt b/tests/auto/qmldom/path/CMakeLists.txt index 49ad62e03d..ea43ba5867 100644 --- a/tests/auto/qmldom/path/CMakeLists.txt +++ b/tests/auto/qmldom/path/CMakeLists.txt @@ -12,6 +12,6 @@ qt_internal_add_test(tst_qmldompath tst_qmldompath.cpp tst_qmldompath.h DEFINES QT_DEPRECATED_WARNINGS - PUBLIC_LIBRARIES + LIBRARIES Qt::QmlDomPrivate ) diff --git a/tests/auto/qmldom/reformatter/CMakeLists.txt b/tests/auto/qmldom/reformatter/CMakeLists.txt index 2e2c7c5273..89ef6ceec3 100644 --- a/tests/auto/qmldom/reformatter/CMakeLists.txt +++ b/tests/auto/qmldom/reformatter/CMakeLists.txt @@ -16,7 +16,7 @@ qt_internal_add_test(tst_reformatter DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../domdata\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::Test diff --git a/tests/auto/qmldom/standalone/CMakeLists.txt b/tests/auto/qmldom/standalone/CMakeLists.txt index a34b3175d1..1608e29bc9 100644 --- a/tests/auto/qmldom/standalone/CMakeLists.txt +++ b/tests/auto/qmldom/standalone/CMakeLists.txt @@ -26,10 +26,9 @@ qt_internal_add_test(tst_standalone DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../domdata\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlPrivate - LIBRARIES qmldomlib TESTDATA ${test_data} ) diff --git a/tests/auto/qmldom/stringdumper/CMakeLists.txt b/tests/auto/qmldom/stringdumper/CMakeLists.txt index 94899b5be8..6aa57c6770 100644 --- a/tests/auto/qmldom/stringdumper/CMakeLists.txt +++ b/tests/auto/qmldom/stringdumper/CMakeLists.txt @@ -14,6 +14,6 @@ qt_internal_add_test(tst_qmldomstringdumper QT_DEPRECATED_WARNINGS INCLUDE_DIRECTORIES ../../../../src/qmldom - PUBLIC_LIBRARIES + LIBRARIES Qt::QmlDomPrivate ) diff --git a/tests/auto/qmlls/completions/CMakeLists.txt b/tests/auto/qmlls/completions/CMakeLists.txt index 1fc90103bc..42d61dcc44 100644 --- a/tests/auto/qmlls/completions/CMakeLists.txt +++ b/tests/auto/qmlls/completions/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qmllscompletions DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::LanguageServerPrivate diff --git a/tests/auto/qmlls/lifecycle/CMakeLists.txt b/tests/auto/qmlls/lifecycle/CMakeLists.txt index fa8cf4531d..198e0bc6bc 100644 --- a/tests/auto/qmlls/lifecycle/CMakeLists.txt +++ b/tests/auto/qmlls/lifecycle/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_lifecycle ../../../../tools/qmlls DEFINES QT_DEPRECATED_WARNINGS - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::LanguageServerPrivate Qt::Test diff --git a/tests/auto/qmlls/qmlls/CMakeLists.txt b/tests/auto/qmlls/qmlls/CMakeLists.txt index 0a0f191364..1aa36212c6 100644 --- a/tests/auto/qmlls/qmlls/CMakeLists.txt +++ b/tests/auto/qmlls/qmlls/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qmlls DEFINES QT_DEPRECATED_WARNINGS QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlDomPrivate Qt::LanguageServerPrivate diff --git a/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt index 05fc44d6d3..d10480cc61 100644 --- a/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt +++ b/tests/auto/qmltest-blacklist/shortcut/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(shortcut GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/animatedimage/CMakeLists.txt b/tests/auto/qmltest/animatedimage/CMakeLists.txt index 046e2e37c6..13720519a7 100644 --- a/tests/auto/qmltest/animatedimage/CMakeLists.txt +++ b/tests/auto/qmltest/animatedimage/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(animatedimage GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/animations/CMakeLists.txt b/tests/auto/qmltest/animations/CMakeLists.txt index 76bdbeaf2e..0ee6929d24 100644 --- a/tests/auto/qmltest/animations/CMakeLists.txt +++ b/tests/auto/qmltest/animations/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(animations GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/borderimage/CMakeLists.txt b/tests/auto/qmltest/borderimage/CMakeLists.txt index 8fdc5b5169..692d2b197e 100644 --- a/tests/auto/qmltest/borderimage/CMakeLists.txt +++ b/tests/auto/qmltest/borderimage/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(borderimage GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/buttonclick/CMakeLists.txt b/tests/auto/qmltest/buttonclick/CMakeLists.txt index 52f2e60ce4..adfbe26efa 100644 --- a/tests/auto/qmltest/buttonclick/CMakeLists.txt +++ b/tests/auto/qmltest/buttonclick/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(buttonclick GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/createbenchmark/CMakeLists.txt b/tests/auto/qmltest/createbenchmark/CMakeLists.txt index e1627325b8..cfe84ef67e 100644 --- a/tests/auto/qmltest/createbenchmark/CMakeLists.txt +++ b/tests/auto/qmltest/createbenchmark/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(createbenchmark GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/events/CMakeLists.txt b/tests/auto/qmltest/events/CMakeLists.txt index 91af946706..669e64097e 100644 --- a/tests/auto/qmltest/events/CMakeLists.txt +++ b/tests/auto/qmltest/events/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(events GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/fontloader/CMakeLists.txt b/tests/auto/qmltest/fontloader/CMakeLists.txt index 7036d60639..d004ba0beb 100644 --- a/tests/auto/qmltest/fontloader/CMakeLists.txt +++ b/tests/auto/qmltest/fontloader/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(fontloader GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/fuzzycompare/CMakeLists.txt b/tests/auto/qmltest/fuzzycompare/CMakeLists.txt index 336a6b9d2b..af09fcbccd 100644 --- a/tests/auto/qmltest/fuzzycompare/CMakeLists.txt +++ b/tests/auto/qmltest/fuzzycompare/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(fuzzycompare GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/gradient/CMakeLists.txt b/tests/auto/qmltest/gradient/CMakeLists.txt index e50077649f..14b0944d5d 100644 --- a/tests/auto/qmltest/gradient/CMakeLists.txt +++ b/tests/auto/qmltest/gradient/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(gradient GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/image/CMakeLists.txt b/tests/auto/qmltest/image/CMakeLists.txt index 6e6767376d..69aeb80bca 100644 --- a/tests/auto/qmltest/image/CMakeLists.txt +++ b/tests/auto/qmltest/image/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(image GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/itemgrabber/CMakeLists.txt b/tests/auto/qmltest/itemgrabber/CMakeLists.txt index 22b911438c..f3474a73c2 100644 --- a/tests/auto/qmltest/itemgrabber/CMakeLists.txt +++ b/tests/auto/qmltest/itemgrabber/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(itemgrabber GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/layout/CMakeLists.txt b/tests/auto/qmltest/layout/CMakeLists.txt index eef2da0900..6b8deb2e01 100644 --- a/tests/auto/qmltest/layout/CMakeLists.txt +++ b/tests/auto/qmltest/layout/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(layout GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/listmodel/CMakeLists.txt b/tests/auto/qmltest/listmodel/CMakeLists.txt index 7f453d856e..6aa2ec93d0 100644 --- a/tests/auto/qmltest/listmodel/CMakeLists.txt +++ b/tests/auto/qmltest/listmodel/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(listmodel GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/listview/CMakeLists.txt b/tests/auto/qmltest/listview/CMakeLists.txt index 27be6bbc07..5043f23cc7 100644 --- a/tests/auto/qmltest/listview/CMakeLists.txt +++ b/tests/auto/qmltest/listview/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(listview GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/objectmodel/CMakeLists.txt b/tests/auto/qmltest/objectmodel/CMakeLists.txt index 760c7b8a0a..ef20c3c3a2 100644 --- a/tests/auto/qmltest/objectmodel/CMakeLists.txt +++ b/tests/auto/qmltest/objectmodel/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(objectmodel GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/pathview/CMakeLists.txt b/tests/auto/qmltest/pathview/CMakeLists.txt index 4072078083..3798d416ad 100644 --- a/tests/auto/qmltest/pathview/CMakeLists.txt +++ b/tests/auto/qmltest/pathview/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(pathview GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/positioners/CMakeLists.txt b/tests/auto/qmltest/positioners/CMakeLists.txt index 5bc80e64dc..24094acc85 100644 --- a/tests/auto/qmltest/positioners/CMakeLists.txt +++ b/tests/auto/qmltest/positioners/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(positioners GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/qqmlbinding/CMakeLists.txt b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt index e60c9803db..fb8ec8e0eb 100644 --- a/tests/auto/qmltest/qqmlbinding/CMakeLists.txt +++ b/tests/auto/qmltest/qqmlbinding/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(qqmlbinding GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/qtbug46798/CMakeLists.txt b/tests/auto/qmltest/qtbug46798/CMakeLists.txt index c23d3f0ad3..a01b50d8ff 100644 --- a/tests/auto/qmltest/qtbug46798/CMakeLists.txt +++ b/tests/auto/qmltest/qtbug46798/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(qtbug46798 GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/rectangle/CMakeLists.txt b/tests/auto/qmltest/rectangle/CMakeLists.txt index c1906f7016..f071747a81 100644 --- a/tests/auto/qmltest/rectangle/CMakeLists.txt +++ b/tests/auto/qmltest/rectangle/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(rectangle GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/selftests/CMakeLists.txt b/tests/auto/qmltest/selftests/CMakeLists.txt index e2da36285a..91f813e690 100644 --- a/tests/auto/qmltest/selftests/CMakeLists.txt +++ b/tests/auto/qmltest/selftests/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(selftests GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/shadersource/CMakeLists.txt b/tests/auto/qmltest/shadersource/CMakeLists.txt index 5b60646b54..b572a2dcdd 100644 --- a/tests/auto/qmltest/shadersource/CMakeLists.txt +++ b/tests/auto/qmltest/shadersource/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(shadersource GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/stability/CMakeLists.txt b/tests/auto/qmltest/stability/CMakeLists.txt index d1bab636ca..bc19eaf14e 100644 --- a/tests/auto/qmltest/stability/CMakeLists.txt +++ b/tests/auto/qmltest/stability/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(stability GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/text/CMakeLists.txt b/tests/auto/qmltest/text/CMakeLists.txt index 721fe23e5b..cc8d37a599 100644 --- a/tests/auto/qmltest/text/CMakeLists.txt +++ b/tests/auto/qmltest/text/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(text GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/textedit/CMakeLists.txt b/tests/auto/qmltest/textedit/CMakeLists.txt index 15581e49ce..8132b4d38d 100644 --- a/tests/auto/qmltest/textedit/CMakeLists.txt +++ b/tests/auto/qmltest/textedit/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(textedit GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/textinput/CMakeLists.txt b/tests/auto/qmltest/textinput/CMakeLists.txt index 406f23aa6e..eb3f35a9c7 100644 --- a/tests/auto/qmltest/textinput/CMakeLists.txt +++ b/tests/auto/qmltest/textinput/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(textinput GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/qmltest/window/CMakeLists.txt b/tests/auto/qmltest/window/CMakeLists.txt index eaa4da1159..b7c8b92382 100644 --- a/tests/auto/qmltest/window/CMakeLists.txt +++ b/tests/auto/qmltest/window/CMakeLists.txt @@ -10,6 +10,6 @@ qt_internal_add_test(window GUI QMLTEST - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/quick/drawingmodes/CMakeLists.txt b/tests/auto/quick/drawingmodes/CMakeLists.txt index 724bec36b0..9fd7be017e 100644 --- a/tests/auto/quick/drawingmodes/CMakeLists.txt +++ b/tests/auto/quick/drawingmodes/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_drawingmodes tst_drawingmodes.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Quick diff --git a/tests/auto/quick/examples/CMakeLists.txt b/tests/auto/quick/examples/CMakeLists.txt index 17c7161877..79bc28dca4 100644 --- a/tests/auto/quick/examples/CMakeLists.txt +++ b/tests/auto/quick/examples/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_quick_examples tst_examples.cpp DEFINES SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/geometry/CMakeLists.txt b/tests/auto/quick/geometry/CMakeLists.txt index 4028972c48..c4fc09d61a 100644 --- a/tests/auto/quick/geometry/CMakeLists.txt +++ b/tests/auto/quick/geometry/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_geometry SOURCES tst_geometry.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/nodes/CMakeLists.txt b/tests/auto/quick/nodes/CMakeLists.txt index 18ac053337..d4c6953423 100644 --- a/tests/auto/quick/nodes/CMakeLists.txt +++ b/tests/auto/quick/nodes/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_nodestest SOURCES tst_nodestest.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/nokeywords/CMakeLists.txt b/tests/auto/quick/nokeywords/CMakeLists.txt index 48beabba94..065c6a13d8 100644 --- a/tests/auto/quick/nokeywords/CMakeLists.txt +++ b/tests/auto/quick/nokeywords/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_nokeywords SOURCES tst_nokeywords.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt index 81456a33af..4074db4845 100644 --- a/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/flickableinterop/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_flickableinterop SOURCES tst_flickableinterop.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt index 482a2613ba..37100f960f 100644 --- a/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/mousearea_interop/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_mousearea_interop SOURCES tst_mousearea_interop.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt index 7411d96e78..e73ded19b8 100644 --- a/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/multipointtoucharea_interop/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_multipointtoucharea_interop SOURCES tst_multipointtoucharea_interop.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt index 95a610c4e9..5ce4b25999 100644 --- a/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickdraghandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickdraghandler SOURCES tst_qquickdraghandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt index c97eed67d3..81db5b4b9a 100644 --- a/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickhoverhandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickhoverhandler SOURCES tst_qquickhoverhandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt index 135a27899e..cb6233fa1c 100644 --- a/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickpinchhandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpinchhandler SOURCES tst_qquickpinchhandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt index 4e08fc130a..1a4a9bb737 100644 --- a/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickpointerhandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpointerhandler SOURCES tst_qquickpointerhandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt index db96bb1c30..2d2ad88499 100644 --- a/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickpointhandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpointhandler SOURCES tst_qquickpointhandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt index cc39747aea..0bc418f424 100644 --- a/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquicktaphandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktaphandler SOURCES tst_qquicktaphandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt index fd75553142..507a06a66c 100644 --- a/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt +++ b/tests/auto/quick/pointerhandlers/qquickwheelhandler/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickwheelhandler SOURCES tst_qquickwheelhandler.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/propertyrequirements/CMakeLists.txt b/tests/auto/quick/propertyrequirements/CMakeLists.txt index 47e0811fb2..ac4058317b 100644 --- a/tests/auto/quick/propertyrequirements/CMakeLists.txt +++ b/tests/auto/quick/propertyrequirements/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_propertyrequirements SOURCES tst_propertyrequirements.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QmlPrivate ) diff --git a/tests/auto/quick/qquickaccessible/CMakeLists.txt b/tests/auto/quick/qquickaccessible/CMakeLists.txt index 51c983f7cb..0237333136 100644 --- a/tests/auto/quick/qquickaccessible/CMakeLists.txt +++ b/tests/auto/quick/qquickaccessible/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickaccessible SOURCES tst_qquickaccessible.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanchors/CMakeLists.txt b/tests/auto/quick/qquickanchors/CMakeLists.txt index 8c118aa6a6..c13571a27d 100644 --- a/tests/auto/quick/qquickanchors/CMakeLists.txt +++ b/tests/auto/quick/qquickanchors/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickanchors SOURCES tst_qquickanchors.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanimatedimage/CMakeLists.txt b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt index f9baa098eb..f542da64e0 100644 --- a/tests/auto/quick/qquickanimatedimage/CMakeLists.txt +++ b/tests/auto/quick/qquickanimatedimage/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickanimatedimage SOURCES tst_qquickanimatedimage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt index 60d8b2e9b1..16b15a3b2e 100644 --- a/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt +++ b/tests/auto/quick/qquickanimatedsprite/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickanimatedsprite SOURCES tst_qquickanimatedsprite.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt index c07f1c7bb1..9aff4e1b36 100644 --- a/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt +++ b/tests/auto/quick/qquickanimationcontroller/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickanimationcontroller QMLTEST SOURCES tst_qquickanimationcontroller.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanimations/CMakeLists.txt b/tests/auto/quick/qquickanimations/CMakeLists.txt index 85732965ab..2775823fc9 100644 --- a/tests/auto/quick/qquickanimations/CMakeLists.txt +++ b/tests/auto/quick/qquickanimations/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickanimations tst_qquickanimations.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickanimators/CMakeLists.txt b/tests/auto/quick/qquickanimators/CMakeLists.txt index 2aea1a88d6..5b4026e906 100644 --- a/tests/auto/quick/qquickanimators/CMakeLists.txt +++ b/tests/auto/quick/qquickanimators/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickanimators tst_qquickanimators.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickapplication/CMakeLists.txt b/tests/auto/quick/qquickapplication/CMakeLists.txt index 0dbb747595..779e1e64e3 100644 --- a/tests/auto/quick/qquickapplication/CMakeLists.txt +++ b/tests/auto/quick/qquickapplication/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickapplication SOURCES tst_qquickapplication.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickbehaviors/CMakeLists.txt b/tests/auto/quick/qquickbehaviors/CMakeLists.txt index d94a0904f0..00ce53596a 100644 --- a/tests/auto/quick/qquickbehaviors/CMakeLists.txt +++ b/tests/auto/quick/qquickbehaviors/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquickbehaviors SOURCES tst_qquickbehaviors.cpp bindable.h - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickborderimage/CMakeLists.txt b/tests/auto/quick/qquickborderimage/CMakeLists.txt index 5da994f1c2..cf302f6fa1 100644 --- a/tests/auto/quick/qquickborderimage/CMakeLists.txt +++ b/tests/auto/quick/qquickborderimage/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickborderimage SOURCES tst_qquickborderimage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickboundaryrule/CMakeLists.txt b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt index 4244c49853..8dacee595e 100644 --- a/tests/auto/quick/qquickboundaryrule/CMakeLists.txt +++ b/tests/auto/quick/qquickboundaryrule/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickboundaryrule SOURCES tst_qquickboundaryrule.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickcanvasitem/CMakeLists.txt b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt index 95c2583312..d5c31dd29f 100644 --- a/tests/auto/quick/qquickcanvasitem/CMakeLists.txt +++ b/tests/auto/quick/qquickcanvasitem/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickcanvasitem QMLTEST SOURCES tst_qquickcanvasitem.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickcolorgroup/CMakeLists.txt b/tests/auto/quick/qquickcolorgroup/CMakeLists.txt index 3bcf363a63..e4ea3a902a 100644 --- a/tests/auto/quick/qquickcolorgroup/CMakeLists.txt +++ b/tests/auto/quick/qquickcolorgroup/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquickcolorgroup SOURCES tst_qquickcolorgroup.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/quick/qquickdeliveryagent/CMakeLists.txt b/tests/auto/quick/qquickdeliveryagent/CMakeLists.txt index 615aaec74b..d4a2ad9d1b 100644 --- a/tests/auto/quick/qquickdeliveryagent/CMakeLists.txt +++ b/tests/auto/quick/qquickdeliveryagent/CMakeLists.txt @@ -14,7 +14,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickdeliveryagent SOURCES tst_qquickdeliveryagent.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt index 4be985e0ca..5cec93a946 100644 --- a/tests/auto/quick/qquickdesignersupport/CMakeLists.txt +++ b/tests/auto/quick/qquickdesignersupport/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickdesignersupport SOURCES tst_qquickdesignersupport.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickdrag/CMakeLists.txt b/tests/auto/quick/qquickdrag/CMakeLists.txt index b94e6159c2..55c9ac98ab 100644 --- a/tests/auto/quick/qquickdrag/CMakeLists.txt +++ b/tests/auto/quick/qquickdrag/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquickdrag SOURCES tst_qquickdrag.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickdroparea/CMakeLists.txt b/tests/auto/quick/qquickdroparea/CMakeLists.txt index 82e7f9d0e6..6f1d0d6b36 100644 --- a/tests/auto/quick/qquickdroparea/CMakeLists.txt +++ b/tests/auto/quick/qquickdroparea/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickdroparea SOURCES tst_qquickdroparea.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt index c3b829ab2a..5d89dedf4c 100644 --- a/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt +++ b/tests/auto/quick/qquickdynamicpropertyanimation/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickdynamicpropertyanimation SOURCES tst_qquickdynamicpropertyanimation.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Quick diff --git a/tests/auto/quick/qquickflickable/CMakeLists.txt b/tests/auto/quick/qquickflickable/CMakeLists.txt index 08286db077..e4ec14fd38 100644 --- a/tests/auto/quick/qquickflickable/CMakeLists.txt +++ b/tests/auto/quick/qquickflickable/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickflickable SOURCES tst_qquickflickable.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickflipable/CMakeLists.txt b/tests/auto/quick/qquickflipable/CMakeLists.txt index d07e2f3560..eea991a5bb 100644 --- a/tests/auto/quick/qquickflipable/CMakeLists.txt +++ b/tests/auto/quick/qquickflipable/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickflipable SOURCES tst_qquickflipable.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickfocusscope/CMakeLists.txt b/tests/auto/quick/qquickfocusscope/CMakeLists.txt index fa4bc61a72..63d90d1757 100644 --- a/tests/auto/quick/qquickfocusscope/CMakeLists.txt +++ b/tests/auto/quick/qquickfocusscope/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickfocusscope SOURCES tst_qquickfocusscope.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickfontloader/CMakeLists.txt b/tests/auto/quick/qquickfontloader/CMakeLists.txt index a0aa0f7d86..dc551d94d7 100644 --- a/tests/auto/quick/qquickfontloader/CMakeLists.txt +++ b/tests/auto/quick/qquickfontloader/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickfontloader SOURCES tst_qquickfontloader.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickfontloader_static/CMakeLists.txt b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt index 472fcca2db..10feed3d57 100644 --- a/tests/auto/quick/qquickfontloader_static/CMakeLists.txt +++ b/tests/auto/quick/qquickfontloader_static/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickfontloader_static tst_qquickfontloader_static.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickfontmetrics/CMakeLists.txt b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt index 8905735982..e54c44b3fa 100644 --- a/tests/auto/quick/qquickfontmetrics/CMakeLists.txt +++ b/tests/auto/quick/qquickfontmetrics/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_quickfontmetrics SOURCES tst_quickfontmetrics.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickPrivate diff --git a/tests/auto/quick/qquickframebufferobject/CMakeLists.txt b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt index b0a32f8165..7f523852a5 100644 --- a/tests/auto/quick/qquickframebufferobject/CMakeLists.txt +++ b/tests/auto/quick/qquickframebufferobject/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickframebufferobject SOURCES tst_qquickframebufferobject.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickTestUtilsPrivate diff --git a/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt index b491ba8196..c8201d4473 100644 --- a/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt +++ b/tests/auto/quick/qquickgraphicsinfo/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickgraphicsinfo SOURCES tst_qquickgraphicsinfo.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickTestUtilsPrivate diff --git a/tests/auto/quick/qquickgridview/CMakeLists.txt b/tests/auto/quick/qquickgridview/CMakeLists.txt index f8a2584de8..9c8ae3e8be 100644 --- a/tests/auto/quick/qquickgridview/CMakeLists.txt +++ b/tests/auto/quick/qquickgridview/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickgridview SOURCES tst_qquickgridview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickimage/CMakeLists.txt b/tests/auto/quick/qquickimage/CMakeLists.txt index fe5e70e981..0abcf79103 100644 --- a/tests/auto/quick/qquickimage/CMakeLists.txt +++ b/tests/auto/quick/qquickimage/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickimage SOURCES tst_qquickimage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickimageprovider/CMakeLists.txt b/tests/auto/quick/qquickimageprovider/CMakeLists.txt index 4f70af52ca..dfbb735f07 100644 --- a/tests/auto/quick/qquickimageprovider/CMakeLists.txt +++ b/tests/auto/quick/qquickimageprovider/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickimageprovider SOURCES tst_qquickimageprovider.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickitem/CMakeLists.txt b/tests/auto/quick/qquickitem/CMakeLists.txt index df59b71825..f7277d7a7d 100644 --- a/tests/auto/quick/qquickitem/CMakeLists.txt +++ b/tests/auto/quick/qquickitem/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickitem SOURCES tst_qquickitem.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -32,7 +32,7 @@ qt_internal_add_test(tst_qquickitem qt_internal_extend_target(tst_qquickitem CONDITION TARGET Qt::Widgets DEFINES TEST_QTBUG_60123 - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/quick/qquickitem2/CMakeLists.txt b/tests/auto/quick/qquickitem2/CMakeLists.txt index 812d280c18..44aab4a413 100644 --- a/tests/auto/quick/qquickitem2/CMakeLists.txt +++ b/tests/auto/quick/qquickitem2/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickitem2 SOURCES tst_qquickitem.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickitemlayer/CMakeLists.txt b/tests/auto/quick/qquickitemlayer/CMakeLists.txt index 9f76d15379..0e4b90fecf 100644 --- a/tests/auto/quick/qquickitemlayer/CMakeLists.txt +++ b/tests/auto/quick/qquickitemlayer/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickitemlayer SOURCES tst_qquickitemlayer.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickitemrhiintegration/CMakeLists.txt b/tests/auto/quick/qquickitemrhiintegration/CMakeLists.txt index 5ba009496e..07bde700ec 100644 --- a/tests/auto/quick/qquickitemrhiintegration/CMakeLists.txt +++ b/tests/auto/quick/qquickitemrhiintegration/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickitemrhiintegration tst_qquickitemrhiintegration.cpp rhiitem.cpp rhiitem.h rhiitem_p.h testrhiitem.cpp testrhiitem.h - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicklayouts/CMakeLists.txt b/tests/auto/quick/qquicklayouts/CMakeLists.txt index 56bac54e24..3639a0ce90 100644 --- a/tests/auto/quick/qquicklayouts/CMakeLists.txt +++ b/tests/auto/quick/qquicklayouts/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquicklayouts QMLTEST SOURCES tst_qquicklayouts.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicklistview/CMakeLists.txt b/tests/auto/quick/qquicklistview/CMakeLists.txt index fe5d57e1dd..0e627dcd00 100644 --- a/tests/auto/quick/qquicklistview/CMakeLists.txt +++ b/tests/auto/quick/qquicklistview/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_qquicklistview randomsortmodel.cpp randomsortmodel.h reusemodel.h tst_qquicklistview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicklistview2/CMakeLists.txt b/tests/auto/quick/qquicklistview2/CMakeLists.txt index b2050dacb2..b24a76ec7b 100644 --- a/tests/auto/quick/qquicklistview2/CMakeLists.txt +++ b/tests/auto/quick/qquicklistview2/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_test(tst_qquicklistview2 SOURCES typerolemodel.h typerolemodel.cpp tst_qquicklistview2.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickloader/CMakeLists.txt b/tests/auto/quick/qquickloader/CMakeLists.txt index 4d9b428008..e19d97d812 100644 --- a/tests/auto/quick/qquickloader/CMakeLists.txt +++ b/tests/auto/quick/qquickloader/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickloader SOURCES tst_qquickloader.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickmousearea/CMakeLists.txt b/tests/auto/quick/qquickmousearea/CMakeLists.txt index 72403024b1..2ea18087cb 100644 --- a/tests/auto/quick/qquickmousearea/CMakeLists.txt +++ b/tests/auto/quick/qquickmousearea/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickmousearea SOURCES tst_qquickmousearea.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt index 3c65af6af0..8adf611e72 100644 --- a/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt +++ b/tests/auto/quick/qquickmultipointtoucharea/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickmultipointtoucharea SOURCES tst_qquickmultipointtoucharea.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickpainteditem/CMakeLists.txt b/tests/auto/quick/qquickpainteditem/CMakeLists.txt index 7ba2cb14b7..844634376b 100644 --- a/tests/auto/quick/qquickpainteditem/CMakeLists.txt +++ b/tests/auto/quick/qquickpainteditem/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquickpainteditem SOURCES tst_qquickpainteditem.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickpalette/CMakeLists.txt b/tests/auto/quick/qquickpalette/CMakeLists.txt index 4b45fa02a4..56c54e4f0b 100644 --- a/tests/auto/quick/qquickpalette/CMakeLists.txt +++ b/tests/auto/quick/qquickpalette/CMakeLists.txt @@ -10,7 +10,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpalette SOURCES tst_qquickpalette.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::QmlPrivate diff --git a/tests/auto/quick/qquickpath/CMakeLists.txt b/tests/auto/quick/qquickpath/CMakeLists.txt index d8179443a9..6df1382f89 100644 --- a/tests/auto/quick/qquickpath/CMakeLists.txt +++ b/tests/auto/quick/qquickpath/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpath SOURCES tst_qquickpath.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickpathview/CMakeLists.txt b/tests/auto/quick/qquickpathview/CMakeLists.txt index f48d353724..d371447090 100644 --- a/tests/auto/quick/qquickpathview/CMakeLists.txt +++ b/tests/auto/quick/qquickpathview/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpathview SOURCES tst_qquickpathview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -32,7 +32,7 @@ qt_internal_add_test(tst_qquickpathview ##################################################################### qt_internal_extend_target(tst_qquickpathview CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/quick/qquickpincharea/CMakeLists.txt b/tests/auto/quick/qquickpincharea/CMakeLists.txt index de34820d40..ebef9783e1 100644 --- a/tests/auto/quick/qquickpincharea/CMakeLists.txt +++ b/tests/auto/quick/qquickpincharea/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpincharea SOURCES tst_qquickpincharea.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt index 2ecc46dc8f..5982987888 100644 --- a/tests/auto/quick/qquickpixmapcache/CMakeLists.txt +++ b/tests/auto/quick/qquickpixmapcache/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpixmapcache SOURCES tst_qquickpixmapcache.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Concurrent Qt::CorePrivate Qt::Gui diff --git a/tests/auto/quick/qquickpositioners/CMakeLists.txt b/tests/auto/quick/qquickpositioners/CMakeLists.txt index ba9c942ca7..bf4d5bdc77 100644 --- a/tests/auto/quick/qquickpositioners/CMakeLists.txt +++ b/tests/auto/quick/qquickpositioners/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickpositioners SOURCES tst_qquickpositioners.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickrectangle/CMakeLists.txt b/tests/auto/quick/qquickrectangle/CMakeLists.txt index 49a28ae75d..e191376f0b 100644 --- a/tests/auto/quick/qquickrectangle/CMakeLists.txt +++ b/tests/auto/quick/qquickrectangle/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickrectangle SOURCES tst_qquickrectangle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickrendercontrol/CMakeLists.txt b/tests/auto/quick/qquickrendercontrol/CMakeLists.txt index f28fc7b5f7..9a9b85b70f 100644 --- a/tests/auto/quick/qquickrendercontrol/CMakeLists.txt +++ b/tests/auto/quick/qquickrendercontrol/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickrendercontrol SOURCES tst_qquickrendercontrol.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickrepeater/CMakeLists.txt b/tests/auto/quick/qquickrepeater/CMakeLists.txt index e5fb2fb536..e52d9bfa02 100644 --- a/tests/auto/quick/qquickrepeater/CMakeLists.txt +++ b/tests/auto/quick/qquickrepeater/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickrepeater SOURCES tst_qquickrepeater.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickscreen/CMakeLists.txt b/tests/auto/quick/qquickscreen/CMakeLists.txt index b8237c983a..0574e856a3 100644 --- a/tests/auto/quick/qquickscreen/CMakeLists.txt +++ b/tests/auto/quick/qquickscreen/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickscreen SOURCES tst_qquickscreen.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickshadereffect/CMakeLists.txt b/tests/auto/quick/qquickshadereffect/CMakeLists.txt index a510aa3a40..dfbd00d915 100644 --- a/tests/auto/quick/qquickshadereffect/CMakeLists.txt +++ b/tests/auto/quick/qquickshadereffect/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquickshadereffect SOURCES tst_qquickshadereffect.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickshape/CMakeLists.txt b/tests/auto/quick/qquickshape/CMakeLists.txt index 3321cf0fcc..eb5ffa9d7f 100644 --- a/tests/auto/quick/qquickshape/CMakeLists.txt +++ b/tests/auto/quick/qquickshape/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickshape SOURCES tst_qquickshape.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -34,7 +34,7 @@ qt_internal_add_test(tst_qquickshape ##################################################################### qt_internal_extend_target(tst_qquickshape CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/quick/qquickshortcut/CMakeLists.txt b/tests/auto/quick/qquickshortcut/CMakeLists.txt index 22cc641f4c..c935265670 100644 --- a/tests/auto/quick/qquickshortcut/CMakeLists.txt +++ b/tests/auto/quick/qquickshortcut/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickshortcut SOURCES tst_qquickshortcut.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::Quick @@ -28,7 +28,7 @@ qt_internal_add_test(tst_qquickshortcut ##################################################################### qt_internal_extend_target(tst_qquickshortcut CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::QuickWidgets ) diff --git a/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt index b33defb993..7b21c02a73 100644 --- a/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt +++ b/tests/auto/quick/qquicksmoothedanimation/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicksmoothedanimation SOURCES tst_qquicksmoothedanimation.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickspringanimation/CMakeLists.txt b/tests/auto/quick/qquickspringanimation/CMakeLists.txt index e7b4ebf82f..574d9484ae 100644 --- a/tests/auto/quick/qquickspringanimation/CMakeLists.txt +++ b/tests/auto/quick/qquickspringanimation/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickspringanimation SOURCES tst_qquickspringanimation.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickspritesequence/CMakeLists.txt b/tests/auto/quick/qquickspritesequence/CMakeLists.txt index f03e8d1d11..48d15373ea 100644 --- a/tests/auto/quick/qquickspritesequence/CMakeLists.txt +++ b/tests/auto/quick/qquickspritesequence/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickspritesequence SOURCES tst_qquickspritesequence.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickstates/CMakeLists.txt b/tests/auto/quick/qquickstates/CMakeLists.txt index 5b2aa88314..36368a85aa 100644 --- a/tests/auto/quick/qquickstates/CMakeLists.txt +++ b/tests/auto/quick/qquickstates/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickstates SOURCES tst_qquickstates.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickstyledtext/CMakeLists.txt b/tests/auto/quick/qquickstyledtext/CMakeLists.txt index 7480a6873a..8fe9a4a669 100644 --- a/tests/auto/quick/qquickstyledtext/CMakeLists.txt +++ b/tests/auto/quick/qquickstyledtext/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquickstyledtext SOURCES tst_qquickstyledtext.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicksystempalette/CMakeLists.txt b/tests/auto/quick/qquicksystempalette/CMakeLists.txt index 510a75be32..dd34f1f152 100644 --- a/tests/auto/quick/qquicksystempalette/CMakeLists.txt +++ b/tests/auto/quick/qquicksystempalette/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicksystempalette SOURCES tst_qquicksystempalette.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -30,7 +30,7 @@ qt_internal_add_test(tst_qquicksystempalette ##################################################################### qt_internal_extend_target(tst_qquicksystempalette CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/quick/qquicktableview/CMakeLists.txt b/tests/auto/quick/qquicktableview/CMakeLists.txt index 700fcb5cf8..a4e4cef2dc 100644 --- a/tests/auto/quick/qquicktableview/CMakeLists.txt +++ b/tests/auto/quick/qquicktableview/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_qquicktableview SOURCES testmodel.h tst_qquicktableview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicktext/CMakeLists.txt b/tests/auto/quick/qquicktext/CMakeLists.txt index 6ae9d2f57d..630589e966 100644 --- a/tests/auto/quick/qquicktext/CMakeLists.txt +++ b/tests/auto/quick/qquicktext/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktext SOURCES tst_qquicktext.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicktextdocument/CMakeLists.txt b/tests/auto/quick/qquicktextdocument/CMakeLists.txt index 23da562b4c..b4dc2d2752 100644 --- a/tests/auto/quick/qquicktextdocument/CMakeLists.txt +++ b/tests/auto/quick/qquicktextdocument/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktextdocument SOURCES tst_qquicktextdocument.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicktextedit/CMakeLists.txt b/tests/auto/quick/qquicktextedit/CMakeLists.txt index e7f3c5ee85..c3f4a8660a 100644 --- a/tests/auto/quick/qquicktextedit/CMakeLists.txt +++ b/tests/auto/quick/qquicktextedit/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktextedit SOURCES tst_qquicktextedit.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -31,7 +31,7 @@ qt_internal_add_test(tst_qquicktextedit ##################################################################### qt_internal_extend_target(tst_qquicktextedit CONDITION MACOS - PUBLIC_LIBRARIES + LIBRARIES ${FWAppKit} ) diff --git a/tests/auto/quick/qquicktextinput/CMakeLists.txt b/tests/auto/quick/qquicktextinput/CMakeLists.txt index 42dc91d7d1..bef269bd6e 100644 --- a/tests/auto/quick/qquicktextinput/CMakeLists.txt +++ b/tests/auto/quick/qquicktextinput/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquicktextinput SOURCES tst_qquicktextinput.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -30,7 +30,7 @@ qt_internal_add_test(tst_qquicktextinput ##################################################################### qt_internal_extend_target(tst_qquicktextinput CONDITION MACOS - PUBLIC_LIBRARIES + LIBRARIES ${FWAppKit} ) diff --git a/tests/auto/quick/qquicktextmetrics/CMakeLists.txt b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt index 7e8bc64b8e..d7a740cfd5 100644 --- a/tests/auto/quick/qquicktextmetrics/CMakeLists.txt +++ b/tests/auto/quick/qquicktextmetrics/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquicktextmetrics SOURCES tst_qquicktextmetrics.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickPrivate diff --git a/tests/auto/quick/qquicktimeline/CMakeLists.txt b/tests/auto/quick/qquicktimeline/CMakeLists.txt index d2b7a5ae95..e92a0f076d 100644 --- a/tests/auto/quick/qquicktimeline/CMakeLists.txt +++ b/tests/auto/quick/qquicktimeline/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_qquicktimeline SOURCES tst_qquicktimeline.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquicktreeview/CMakeLists.txt b/tests/auto/quick/qquicktreeview/CMakeLists.txt index c62563c6c2..2c76662470 100644 --- a/tests/auto/quick/qquicktreeview/CMakeLists.txt +++ b/tests/auto/quick/qquicktreeview/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_test(tst_qquicktreeview SOURCES testmodel.h testmodel.cpp tst_qquicktreeview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickview/CMakeLists.txt b/tests/auto/quick/qquickview/CMakeLists.txt index 2f17f1173a..2597852ad1 100644 --- a/tests/auto/quick/qquickview/CMakeLists.txt +++ b/tests/auto/quick/qquickview/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickview SOURCES tst_qquickview.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickview_extra/CMakeLists.txt b/tests/auto/quick/qquickview_extra/CMakeLists.txt index a8e4f59162..a40f0ee114 100644 --- a/tests/auto/quick/qquickview_extra/CMakeLists.txt +++ b/tests/auto/quick/qquickview_extra/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickview_extra SOURCES tst_qquickview_extra.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt index 4341a7a1e9..bbf3ab6ae8 100644 --- a/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt +++ b/tests/auto/quick/qquickvisualdatamodel/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickvisualdatamodel SOURCES tst_qquickvisualdatamodel.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -31,7 +31,7 @@ qt_internal_add_test(tst_qquickvisualdatamodel ##################################################################### qt_internal_extend_target(tst_qquickvisualdatamodel CONDITION TARGET Qt::Widgets - PUBLIC_LIBRARIES + LIBRARIES Qt::Widgets ) diff --git a/tests/auto/quick/qquickwindow/CMakeLists.txt b/tests/auto/quick/qquickwindow/CMakeLists.txt index d4af6c614e..3dec691877 100644 --- a/tests/auto/quick/qquickwindow/CMakeLists.txt +++ b/tests/auto/quick/qquickwindow/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickwindow SOURCES tst_qquickwindow.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/rendernode/CMakeLists.txt b/tests/auto/quick/rendernode/CMakeLists.txt index b89bd0ce84..09c0c0979e 100644 --- a/tests/auto/quick/rendernode/CMakeLists.txt +++ b/tests/auto/quick/rendernode/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_rendernode SOURCES tst_rendernode.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/scenegraph/CMakeLists.txt b/tests/auto/quick/scenegraph/CMakeLists.txt index 6bd3385b21..584d94b280 100644 --- a/tests/auto/quick/scenegraph/CMakeLists.txt +++ b/tests/auto/quick/scenegraph/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_scenegraph SOURCES tst_scenegraph.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quick/sharedimage/CMakeLists.txt b/tests/auto/quick/sharedimage/CMakeLists.txt index 8cc3aa7a34..259865c4ac 100644 --- a/tests/auto/quick/sharedimage/CMakeLists.txt +++ b/tests/auto/quick/sharedimage/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_sharedimage SOURCES tst_sharedimage.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickPrivate TESTDATA ${test_data} diff --git a/tests/auto/quick/softwarerenderer/CMakeLists.txt b/tests/auto/quick/softwarerenderer/CMakeLists.txt index e94c81f9a4..ba6cd1b173 100644 --- a/tests/auto/quick/softwarerenderer/CMakeLists.txt +++ b/tests/auto/quick/softwarerenderer/CMakeLists.txt @@ -8,7 +8,7 @@ qt_internal_add_test(tst_softwarerenderer SOURCES tst_softwarerenderer.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickPrivate diff --git a/tests/auto/quick/touchmouse/CMakeLists.txt b/tests/auto/quick/touchmouse/CMakeLists.txt index aead1fbcc4..aea618c66f 100644 --- a/tests/auto/quick/touchmouse/CMakeLists.txt +++ b/tests/auto/quick/touchmouse/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_touchmouse SOURCES tst_touchmouse.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/accessibility/CMakeLists.txt b/tests/auto/quickcontrols2/accessibility/CMakeLists.txt index 350b4f287c..ce8d2c2231 100644 --- a/tests/auto/quickcontrols2/accessibility/CMakeLists.txt +++ b/tests/auto/quickcontrols2/accessibility/CMakeLists.txt @@ -22,7 +22,7 @@ qt_internal_add_test(tst_accessibility tst_accessibility.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/controls/basic/CMakeLists.txt b/tests/auto/quickcontrols2/controls/basic/CMakeLists.txt index 861aa32442..5d2d232f8b 100644 --- a/tests/auto/quickcontrols2/controls/basic/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/basic/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_basic tst_basic.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/fusion/CMakeLists.txt b/tests/auto/quickcontrols2/controls/fusion/CMakeLists.txt index 32c940cbb7..9779f4d33a 100644 --- a/tests/auto/quickcontrols2/controls/fusion/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/fusion/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_fusion tst_fusion.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/imagine/CMakeLists.txt b/tests/auto/quickcontrols2/controls/imagine/CMakeLists.txt index 5c7563304f..dcdf8ea60f 100644 --- a/tests/auto/quickcontrols2/controls/imagine/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/imagine/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_imagine tst_imagine.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/ios/CMakeLists.txt b/tests/auto/quickcontrols2/controls/ios/CMakeLists.txt index 2696a0964c..62e2ce60af 100644 --- a/tests/auto/quickcontrols2/controls/ios/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/ios/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_ios tst_ios.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/macos/CMakeLists.txt b/tests/auto/quickcontrols2/controls/macos/CMakeLists.txt index e1bee43435..4cdc8cef6a 100644 --- a/tests/auto/quickcontrols2/controls/macos/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/macos/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_macos tst_macos.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/material/CMakeLists.txt b/tests/auto/quickcontrols2/controls/material/CMakeLists.txt index 7265d08d2b..1662e23bcc 100644 --- a/tests/auto/quickcontrols2/controls/material/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/material/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_material tst_material.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/universal/CMakeLists.txt b/tests/auto/quickcontrols2/controls/universal/CMakeLists.txt index ab145cf549..0b3cb0e0c9 100644 --- a/tests/auto/quickcontrols2/controls/universal/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/universal/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_test(tst_universal tst_universal.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt b/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt index 7140be6377..bd21fa316c 100644 --- a/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_windows tst_windows.cpp DEFINES TST_CONTROLS_DATA=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../data\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::QuickControls2 TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/cursor/CMakeLists.txt b/tests/auto/quickcontrols2/cursor/CMakeLists.txt index 7933e54ced..9d0b967a32 100644 --- a/tests/auto/quickcontrols2/cursor/CMakeLists.txt +++ b/tests/auto/quickcontrols2/cursor/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_cursor tst_cursor.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/customization/CMakeLists.txt b/tests/auto/quickcontrols2/customization/CMakeLists.txt index 91e4a1b8d7..af74ccfef8 100644 --- a/tests/auto/quickcontrols2/customization/CMakeLists.txt +++ b/tests/auto/quickcontrols2/customization/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_customization tst_customization.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/designer/CMakeLists.txt b/tests/auto/quickcontrols2/designer/CMakeLists.txt index bfbd51391d..59114f0283 100644 --- a/tests/auto/quickcontrols2/designer/CMakeLists.txt +++ b/tests/auto/quickcontrols2/designer/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_designer SOURCES tst_designer.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickControls2 diff --git a/tests/auto/quickcontrols2/focus/CMakeLists.txt b/tests/auto/quickcontrols2/focus/CMakeLists.txt index d464f22990..b371ba226a 100644 --- a/tests/auto/quickcontrols2/focus/CMakeLists.txt +++ b/tests/auto/quickcontrols2/focus/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_focus tst_focus.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/font/CMakeLists.txt b/tests/auto/quickcontrols2/font/CMakeLists.txt index f5e1f1153c..01c7b223a0 100644 --- a/tests/auto/quickcontrols2/font/CMakeLists.txt +++ b/tests/auto/quickcontrols2/font/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_font tst_font.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/palette/CMakeLists.txt b/tests/auto/quickcontrols2/palette/CMakeLists.txt index 9a91870d41..61d30b84f9 100644 --- a/tests/auto/quickcontrols2/palette/CMakeLists.txt +++ b/tests/auto/quickcontrols2/palette/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_palette tst_palette.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/platform/CMakeLists.txt b/tests/auto/quickcontrols2/platform/CMakeLists.txt index 45e89262bd..a8d48e81f9 100644 --- a/tests/auto/quickcontrols2/platform/CMakeLists.txt +++ b/tests/auto/quickcontrols2/platform/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_platform QMLTEST SOURCES tst_platform.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) diff --git a/tests/auto/quickcontrols2/pointerhandlers/CMakeLists.txt b/tests/auto/quickcontrols2/pointerhandlers/CMakeLists.txt index 6abd4fe807..0f76d44848 100644 --- a/tests/auto/quickcontrols2/pointerhandlers/CMakeLists.txt +++ b/tests/auto/quickcontrols2/pointerhandlers/CMakeLists.txt @@ -14,7 +14,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_pointerhandlers SOURCES tst_pointerhandlers.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/pressandhold/CMakeLists.txt b/tests/auto/quickcontrols2/pressandhold/CMakeLists.txt index 606a9ab60b..d253108e4f 100644 --- a/tests/auto/quickcontrols2/pressandhold/CMakeLists.txt +++ b/tests/auto/quickcontrols2/pressandhold/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_pressandhold SOURCES tst_pressandhold.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickControls2 diff --git a/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt b/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt index bb3b4cac3b..5b34c5dda6 100644 --- a/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickapplicationwindow/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickapplicationwindow tst_qquickapplicationwindow.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickcolor/CMakeLists.txt b/tests/auto/quickcontrols2/qquickcolor/CMakeLists.txt index c221271130..86529d0428 100644 --- a/tests/auto/quickcontrols2/qquickcolor/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickcolor/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickcolor QMLTEST SOURCES tst_qquickcolor.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) diff --git a/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt b/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt index 68b35a2abf..c215262fcf 100644 --- a/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickcontrol/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickcontrol tst_qquickcontrol.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt b/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt index 1775956fa8..263cb87ada 100644 --- a/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickdrawer/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickdrawer tst_qquickdrawer.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt b/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt index d4e01fd9dd..98d98f2bd8 100644 --- a/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickheaderview/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickheaderview tst_qquickheaderview.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt b/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt index d3afc8f718..95bc98ece8 100644 --- a/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickiconimage/CMakeLists.txt @@ -25,7 +25,7 @@ qt_internal_add_test(tst_qquickiconimage LIBRARIES Qt::QuickControls2ImplPrivate Qt::QuickPrivate - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate @@ -72,7 +72,7 @@ qt_internal_add_resource(tst_qquickiconimage "resources" ##################################################################### qt_internal_extend_target(tst_qquickiconimage CONDITION TARGET Qt::Svg - PUBLIC_LIBRARIES + LIBRARIES Qt::Svg ) diff --git a/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt b/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt index a0abf2620c..29ad29699a 100644 --- a/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickiconlabel/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(tst_qquickiconlabel LIBRARIES Qt::QuickControls2ImplPrivate Qt::QuickPrivate - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickimaginestyle/CMakeLists.txt b/tests/auto/quickcontrols2/qquickimaginestyle/CMakeLists.txt index 2a70b8f32a..a77b1a0d1a 100644 --- a/tests/auto/quickcontrols2/qquickimaginestyle/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickimaginestyle/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickimaginestyle QMLTEST SOURCES tst_qquickimaginestyle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) diff --git a/tests/auto/quickcontrols2/qquickmaterialstyle/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmaterialstyle/CMakeLists.txt index d079f46692..4a8ba12e20 100644 --- a/tests/auto/quickcontrols2/qquickmaterialstyle/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmaterialstyle/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickmaterialstyle QMLTEST SOURCES tst_qquickmaterialstyle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml TESTDATA ${test_data} diff --git a/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt index 1737aab253..568025ce6c 100644 --- a/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmaterialstyleconf/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickmaterialstyleconf tst_qquickmaterialstyleconf.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt index 5853630d5b..ecf5c75556 100644 --- a/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmenu/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickmenu tst_qquickmenu.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt b/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt index e06970e11c..7321352e0a 100644 --- a/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickmenubar/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickmenubar tst_qquickmenubar.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt b/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt index 6511b91056..8c70a21ee5 100644 --- a/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickninepatchimage/CMakeLists.txt @@ -22,7 +22,7 @@ qt_internal_add_test(tst_qquickninepatchimage tst_qquickninepatchimage.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt b/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt index f21d555896..8fc7802f41 100644 --- a/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickpopup/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickpopup tst_qquickpopup.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt b/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt index 6b2fdbfad5..d32e09758d 100644 --- a/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickstyle/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickstyle tst_qquickstyle.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquicktreeviewdelegate/CMakeLists.txt b/tests/auto/quickcontrols2/qquicktreeviewdelegate/CMakeLists.txt index b0ddaa9482..da3011a948 100644 --- a/tests/auto/quickcontrols2/qquicktreeviewdelegate/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquicktreeviewdelegate/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_test(tst_qquicktreeviewdelegate SOURCES testmodel.h testmodel.cpp tst_qquicktreeviewdelegate.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/qquickuniversalstyle/CMakeLists.txt b/tests/auto/quickcontrols2/qquickuniversalstyle/CMakeLists.txt index 8faddc8af6..f097ca1993 100644 --- a/tests/auto/quickcontrols2/qquickuniversalstyle/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickuniversalstyle/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickuniversalstyle QMLTEST SOURCES tst_qquickuniversalstyle.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) diff --git a/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt b/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt index a63226c6ac..bd48e724e7 100644 --- a/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt +++ b/tests/auto/quickcontrols2/qquickuniversalstyleconf/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_qquickuniversalstyleconf tst_qquickuniversalstyleconf.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/revisions/CMakeLists.txt b/tests/auto/quickcontrols2/revisions/CMakeLists.txt index ed85120f27..ef957f5698 100644 --- a/tests/auto/quickcontrols2/revisions/CMakeLists.txt +++ b/tests/auto/quickcontrols2/revisions/CMakeLists.txt @@ -10,7 +10,7 @@ qt_internal_add_test(tst_revisions SOURCES tst_revisions.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Qml Qt::QuickControls2 diff --git a/tests/auto/quickcontrols2/sanity/CMakeLists.txt b/tests/auto/quickcontrols2/sanity/CMakeLists.txt index 974312e76e..cdc4382e56 100644 --- a/tests/auto/quickcontrols2/sanity/CMakeLists.txt +++ b/tests/auto/quickcontrols2/sanity/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_sanity tst_sanity.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/snippets/CMakeLists.txt b/tests/auto/quickcontrols2/snippets/CMakeLists.txt index 6ba0f85071..ea5dc4f3fc 100644 --- a/tests/auto/quickcontrols2/snippets/CMakeLists.txt +++ b/tests/auto/quickcontrols2/snippets/CMakeLists.txt @@ -34,7 +34,7 @@ qt_internal_add_test(tst_snippets tst_snippets.cpp DEFINES QQC2_SNIPPETS_PATH=${SNIPPETS_PATH} - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::Quick diff --git a/tests/auto/quickcontrols2/styleimports/CMakeLists.txt b/tests/auto/quickcontrols2/styleimports/CMakeLists.txt index 1cc8a9c99e..a2a48e6694 100644 --- a/tests/auto/quickcontrols2/styleimports/CMakeLists.txt +++ b/tests/auto/quickcontrols2/styleimports/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_styleimports tst_styleimports.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt b/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt index 43b9ebc5d9..cf063cab2a 100644 --- a/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt +++ b/tests/auto/quickcontrols2/styleimportscompiletimematerial/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_styleimportscompiletimematerial tst_styleimportscompiletimematerial.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt b/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt index 32461ee258..542ac6af63 100644 --- a/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt +++ b/tests/auto/quickcontrols2/styleimportscompiletimeqmlonly/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_styleimportscompiletimeqmlonly tst_styleimportscompiletimeqmlonly.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickcontrols2/translation/CMakeLists.txt b/tests/auto/quickcontrols2/translation/CMakeLists.txt index 4a71ea8b1c..ba5827340d 100644 --- a/tests/auto/quickcontrols2/translation/CMakeLists.txt +++ b/tests/auto/quickcontrols2/translation/CMakeLists.txt @@ -18,7 +18,7 @@ qt_internal_add_test(tst_translation tst_translation.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickdialogs/qquickcolordialogimpl/CMakeLists.txt b/tests/auto/quickdialogs/qquickcolordialogimpl/CMakeLists.txt index c9ca367323..a40b0201de 100644 --- a/tests/auto/quickdialogs/qquickcolordialogimpl/CMakeLists.txt +++ b/tests/auto/quickdialogs/qquickcolordialogimpl/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickcolordialogimpl tst_qquickcolordialogimpl.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickdialogs/qquickfiledialogimpl/CMakeLists.txt b/tests/auto/quickdialogs/qquickfiledialogimpl/CMakeLists.txt index a9fb71598b..c42ebd9380 100644 --- a/tests/auto/quickdialogs/qquickfiledialogimpl/CMakeLists.txt +++ b/tests/auto/quickdialogs/qquickfiledialogimpl/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickfiledialogimpl tst_qquickfiledialogimpl.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickdialogs/qquickfolderdialogimpl/CMakeLists.txt b/tests/auto/quickdialogs/qquickfolderdialogimpl/CMakeLists.txt index 3089f61ee1..91d2f5871d 100644 --- a/tests/auto/quickdialogs/qquickfolderdialogimpl/CMakeLists.txt +++ b/tests/auto/quickdialogs/qquickfolderdialogimpl/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickfolderdialogimpl tst_qquickfolderdialogimpl.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickdialogs/qquickfontdialogimpl/CMakeLists.txt b/tests/auto/quickdialogs/qquickfontdialogimpl/CMakeLists.txt index 8162213765..a9acbc2c9c 100644 --- a/tests/auto/quickdialogs/qquickfontdialogimpl/CMakeLists.txt +++ b/tests/auto/quickdialogs/qquickfontdialogimpl/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickfontdialogimpl tst_qquickfontdialogimpl.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quickdialogs/qquickmessagedialogimpl/CMakeLists.txt b/tests/auto/quickdialogs/qquickmessagedialogimpl/CMakeLists.txt index ed78c21ec4..7027a769c9 100644 --- a/tests/auto/quickdialogs/qquickmessagedialogimpl/CMakeLists.txt +++ b/tests/auto/quickdialogs/qquickmessagedialogimpl/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qquickmessagedialogimpl tst_qquickmessagedialogimpl.cpp DEFINES QQC2_IMPORT_PATH=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/quickcontrols2\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/quicktest/polish-qml/CMakeLists.txt b/tests/auto/quicktest/polish-qml/CMakeLists.txt index dc248b497b..762d390b4f 100644 --- a/tests/auto/quicktest/polish-qml/CMakeLists.txt +++ b/tests/auto/quicktest/polish-qml/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_polish-qml QMLTEST SOURCES tst_polish-qml.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickPrivate diff --git a/tests/auto/quicktest/polish/CMakeLists.txt b/tests/auto/quicktest/polish/CMakeLists.txt index eee82f8d4d..538871dcf5 100644 --- a/tests/auto/quicktest/polish/CMakeLists.txt +++ b/tests/auto/quicktest/polish/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_polish QMLTEST SOURCES tst_polish.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickPrivate diff --git a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt index a86d63e80a..34236a2955 100644 --- a/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt +++ b/tests/auto/quicktest/quicktestmainwithsetup/CMakeLists.txt @@ -22,7 +22,7 @@ qt_internal_add_test(tst_quicktestmainwithsetup QMLTEST SOURCES tst_quicktestmainwithsetup.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickTestUtilsPrivate diff --git a/tests/auto/quicktest/signalspy/CMakeLists.txt b/tests/auto/quicktest/signalspy/CMakeLists.txt index 6eba9c1e52..9e2fe03209 100644 --- a/tests/auto/quicktest/signalspy/CMakeLists.txt +++ b/tests/auto/quicktest/signalspy/CMakeLists.txt @@ -16,7 +16,7 @@ qt_internal_add_test(tst_signalspy SOURCES mypropertymap.cpp mypropertymap.h tst_signalspy.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick Qt::QuickTestUtilsPrivate diff --git a/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt index 6ac6a87413..3146b33d0e 100644 --- a/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt +++ b/tests/auto/quicktest/testfiltering/quicktestmain/CMakeLists.txt @@ -21,7 +21,7 @@ qt_internal_add_test(quicktestmain quicktestmain.cpp DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui TESTDATA ${test_data} ) diff --git a/tests/auto/quicktest/testfiltering/test/CMakeLists.txt b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt index e72a890422..53f2fbec2c 100644 --- a/tests/auto/quicktest/testfiltering/test/CMakeLists.txt +++ b/tests/auto/quicktest/testfiltering/test/CMakeLists.txt @@ -12,6 +12,6 @@ qt_internal_add_test(tst_testfiltering WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case SOURCES ../tst_testfiltering.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui ) diff --git a/tests/auto/quicktest/testswithcomponents/CMakeLists.txt b/tests/auto/quicktest/testswithcomponents/CMakeLists.txt index c84885fbef..d38715a5b6 100644 --- a/tests/auto/quicktest/testswithcomponents/CMakeLists.txt +++ b/tests/auto/quicktest/testswithcomponents/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_test(tst_quicktestswithcomponents QMLTEST SOURCES tst_quicktestswithcomponents.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::Quick TESTDATA ${test_data} diff --git a/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt index 6bfb0c33fb..d56512f6bd 100644 --- a/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt +++ b/tests/auto/quickwidgets/qquickwidget/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data ${test_data_glob}) qt_internal_add_test(tst_qquickwidget SOURCES tst_qquickwidget.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::Gui Qt::GuiPrivate diff --git a/tests/auto/toolsupport/CMakeLists.txt b/tests/auto/toolsupport/CMakeLists.txt index f9ad859d4d..d2fed0401a 100644 --- a/tests/auto/toolsupport/CMakeLists.txt +++ b/tests/auto/toolsupport/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qml_toolsupport # special case end SOURCES tst_toolsupport.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::QmlPrivate ) -- cgit v1.2.3