From bf58a1cc043c72c6df97b4c00ce7f90c83237f69 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Thu, 19 Sep 2019 12:11:21 +0200 Subject: Update Examples with lowercase qt6_add_resources() Re-run pro2cmake on all exampls. Change-Id: Iafd1092beff023b407a8f29c2a5b651f2e534b75 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann --- examples/qml/networkaccessmanagerfactory/CMakeLists.txt | 2 +- examples/qml/referenceexamples/adding/CMakeLists.txt | 2 +- examples/qml/referenceexamples/attached/CMakeLists.txt | 2 +- examples/qml/referenceexamples/binding/CMakeLists.txt | 2 +- examples/qml/referenceexamples/coercion/CMakeLists.txt | 2 +- examples/qml/referenceexamples/default/CMakeLists.txt | 2 +- examples/qml/referenceexamples/extended/CMakeLists.txt | 2 +- examples/qml/referenceexamples/grouped/CMakeLists.txt | 2 +- examples/qml/referenceexamples/methods/CMakeLists.txt | 2 +- examples/qml/referenceexamples/properties/CMakeLists.txt | 2 +- examples/qml/referenceexamples/signal/CMakeLists.txt | 2 +- examples/qml/referenceexamples/valuesource/CMakeLists.txt | 2 +- examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt | 2 +- .../qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt | 2 +- .../qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt | 2 +- .../extending-qml/chapter4-customPropertyTypes/CMakeLists.txt | 2 +- .../tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt | 2 +- .../tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt | 2 +- .../qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt | 2 +- examples/qml/xmlhttprequest/CMakeLists.txt | 4 ++-- examples/quick/animation/CMakeLists.txt | 4 ++-- examples/quick/canvas/CMakeLists.txt | 4 ++-- examples/quick/customitems/dialcontrol/CMakeLists.txt | 2 +- examples/quick/customitems/maskedmousearea/CMakeLists.txt | 2 +- examples/quick/customitems/painteditem/CMakeLists.txt | 2 +- examples/quick/delegatechooser/CMakeLists.txt | 4 ++-- examples/quick/draganddrop/CMakeLists.txt | 4 ++-- examples/quick/embeddedinwidgets/CMakeLists.txt | 2 +- examples/quick/externaldraganddrop/CMakeLists.txt | 4 ++-- examples/quick/imageelements/CMakeLists.txt | 4 ++-- examples/quick/keyinteraction/CMakeLists.txt | 2 +- examples/quick/layouts/CMakeLists.txt | 2 +- examples/quick/localstorage/localstorage/CMakeLists.txt | 4 ++-- examples/quick/models/abstractitemmodel/CMakeLists.txt | 2 +- examples/quick/models/objectlistmodel/CMakeLists.txt | 2 +- examples/quick/models/stringlistmodel/CMakeLists.txt | 2 +- examples/quick/mousearea/CMakeLists.txt | 2 +- examples/quick/particles/affectors/CMakeLists.txt | 6 +++--- examples/quick/particles/customparticle/CMakeLists.txt | 6 +++--- examples/quick/particles/emitters/CMakeLists.txt | 6 +++--- examples/quick/particles/imageparticle/CMakeLists.txt | 6 +++--- examples/quick/particles/itemparticle/CMakeLists.txt | 4 ++-- examples/quick/particles/system/CMakeLists.txt | 6 +++--- examples/quick/positioners/CMakeLists.txt | 4 ++-- examples/quick/quick-accessibility/CMakeLists.txt | 2 +- examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt | 2 +- examples/quick/quickwidgets/quickwidget/CMakeLists.txt | 2 +- examples/quick/rendercontrol/CMakeLists.txt | 2 +- examples/quick/righttoleft/CMakeLists.txt | 4 ++-- examples/quick/scenegraph/customgeometry/CMakeLists.txt | 2 +- examples/quick/scenegraph/d3d11underqml/CMakeLists.txt | 2 +- examples/quick/scenegraph/graph/CMakeLists.txt | 2 +- examples/quick/scenegraph/metalunderqml/CMakeLists.txt | 2 +- examples/quick/scenegraph/openglunderqml/CMakeLists.txt | 2 +- examples/quick/scenegraph/rendernode/CMakeLists.txt | 2 +- examples/quick/scenegraph/sgengine/CMakeLists.txt | 4 ++-- examples/quick/scenegraph/simplematerial/CMakeLists.txt | 2 +- examples/quick/scenegraph/textureinsgnode/CMakeLists.txt | 2 +- examples/quick/scenegraph/textureinthread/CMakeLists.txt | 2 +- examples/quick/scenegraph/threadedanimation/CMakeLists.txt | 2 +- examples/quick/scenegraph/twotextureproviders/CMakeLists.txt | 2 +- examples/quick/shadereffects/CMakeLists.txt | 2 +- examples/quick/shapes/CMakeLists.txt | 2 +- examples/quick/tableview/gameoflife/CMakeLists.txt | 2 +- examples/quick/tableview/pixelator/CMakeLists.txt | 2 +- examples/quick/text/CMakeLists.txt | 4 ++-- examples/quick/textureprovider/CMakeLists.txt | 2 +- examples/quick/threading/CMakeLists.txt | 4 ++-- examples/quick/touchinteraction/CMakeLists.txt | 4 ++-- examples/quick/views/CMakeLists.txt | 4 ++-- examples/quick/window/CMakeLists.txt | 4 ++-- 71 files changed, 98 insertions(+), 98 deletions(-) (limited to 'examples') diff --git a/examples/qml/networkaccessmanagerfactory/CMakeLists.txt b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt index f1871ea9be..640d28a8e9 100644 --- a/examples/qml/networkaccessmanagerfactory/CMakeLists.txt +++ b/examples/qml/networkaccessmanagerfactory/CMakeLists.txt @@ -33,7 +33,7 @@ set(networkaccessmanagerfactory_resource_files "view.qml" ) -QT6_ADD_RESOURCES(networkaccessmanagerfactory "networkaccessmanagerfactory" +qt6_add_resources(networkaccessmanagerfactory "networkaccessmanagerfactory" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/adding/CMakeLists.txt b/examples/qml/referenceexamples/adding/CMakeLists.txt index 4febb6fb06..01f3fc2f15 100644 --- a/examples/qml/referenceexamples/adding/CMakeLists.txt +++ b/examples/qml/referenceexamples/adding/CMakeLists.txt @@ -28,7 +28,7 @@ set(adding_resource_files "example.qml" ) -QT6_ADD_RESOURCES(adding "adding" +qt6_add_resources(adding "adding" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/attached/CMakeLists.txt b/examples/qml/referenceexamples/attached/CMakeLists.txt index 4d17701aac..dc1556c36a 100644 --- a/examples/qml/referenceexamples/attached/CMakeLists.txt +++ b/examples/qml/referenceexamples/attached/CMakeLists.txt @@ -31,7 +31,7 @@ set(attached_resource_files "example.qml" ) -QT6_ADD_RESOURCES(attached "attached" +qt6_add_resources(attached "attached" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/binding/CMakeLists.txt b/examples/qml/referenceexamples/binding/CMakeLists.txt index e117e71b01..97cf022958 100644 --- a/examples/qml/referenceexamples/binding/CMakeLists.txt +++ b/examples/qml/referenceexamples/binding/CMakeLists.txt @@ -32,7 +32,7 @@ set(binding_resource_files "example.qml" ) -QT6_ADD_RESOURCES(binding "binding" +qt6_add_resources(binding "binding" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/coercion/CMakeLists.txt b/examples/qml/referenceexamples/coercion/CMakeLists.txt index 57307576a1..0e7d7d0add 100644 --- a/examples/qml/referenceexamples/coercion/CMakeLists.txt +++ b/examples/qml/referenceexamples/coercion/CMakeLists.txt @@ -29,7 +29,7 @@ set(coercion_resource_files "example.qml" ) -QT6_ADD_RESOURCES(coercion "coercion" +qt6_add_resources(coercion "coercion" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/default/CMakeLists.txt b/examples/qml/referenceexamples/default/CMakeLists.txt index 2ed8122110..5b88155416 100644 --- a/examples/qml/referenceexamples/default/CMakeLists.txt +++ b/examples/qml/referenceexamples/default/CMakeLists.txt @@ -29,7 +29,7 @@ set(default_resource_files "example.qml" ) -QT6_ADD_RESOURCES(default "default" +qt6_add_resources(default "default" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/extended/CMakeLists.txt b/examples/qml/referenceexamples/extended/CMakeLists.txt index e44df6ed1f..f049a3780c 100644 --- a/examples/qml/referenceexamples/extended/CMakeLists.txt +++ b/examples/qml/referenceexamples/extended/CMakeLists.txt @@ -32,7 +32,7 @@ set(extended_resource_files "example.qml" ) -QT6_ADD_RESOURCES(extended "extended" +qt6_add_resources(extended "extended" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/grouped/CMakeLists.txt b/examples/qml/referenceexamples/grouped/CMakeLists.txt index 425c04c89c..65d9d457a7 100644 --- a/examples/qml/referenceexamples/grouped/CMakeLists.txt +++ b/examples/qml/referenceexamples/grouped/CMakeLists.txt @@ -31,7 +31,7 @@ set(grouped_resource_files "example.qml" ) -QT6_ADD_RESOURCES(grouped "grouped" +qt6_add_resources(grouped "grouped" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/methods/CMakeLists.txt b/examples/qml/referenceexamples/methods/CMakeLists.txt index 91b26a8726..b48094d7e5 100644 --- a/examples/qml/referenceexamples/methods/CMakeLists.txt +++ b/examples/qml/referenceexamples/methods/CMakeLists.txt @@ -29,7 +29,7 @@ set(methods_resource_files "example.qml" ) -QT6_ADD_RESOURCES(methods "methods" +qt6_add_resources(methods "methods" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/properties/CMakeLists.txt b/examples/qml/referenceexamples/properties/CMakeLists.txt index 2fd2e346b7..4dd994aeca 100644 --- a/examples/qml/referenceexamples/properties/CMakeLists.txt +++ b/examples/qml/referenceexamples/properties/CMakeLists.txt @@ -29,7 +29,7 @@ set(properties_resource_files "example.qml" ) -QT6_ADD_RESOURCES(properties "properties" +qt6_add_resources(properties "properties" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/signal/CMakeLists.txt b/examples/qml/referenceexamples/signal/CMakeLists.txt index b619a922de..e37010fb2b 100644 --- a/examples/qml/referenceexamples/signal/CMakeLists.txt +++ b/examples/qml/referenceexamples/signal/CMakeLists.txt @@ -31,7 +31,7 @@ set(signal_resource_files "example.qml" ) -QT6_ADD_RESOURCES(signal "signal" +qt6_add_resources(signal "signal" PREFIX "/" FILES diff --git a/examples/qml/referenceexamples/valuesource/CMakeLists.txt b/examples/qml/referenceexamples/valuesource/CMakeLists.txt index dfe31f8e3e..bca17e4dbc 100644 --- a/examples/qml/referenceexamples/valuesource/CMakeLists.txt +++ b/examples/qml/referenceexamples/valuesource/CMakeLists.txt @@ -32,7 +32,7 @@ set(valuesource_resource_files "example.qml" ) -QT6_ADD_RESOURCES(valuesource "valuesource" +qt6_add_resources(valuesource "valuesource" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt index f015666898..de8a5d98b3 100644 --- a/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter1-basics/CMakeLists.txt @@ -32,7 +32,7 @@ set(chapter1-basics_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter1-basics "chapter1-basics" +qt6_add_resources(chapter1-basics "chapter1-basics" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt index 7b3a241db5..c3cd23ea6f 100644 --- a/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter2-methods/CMakeLists.txt @@ -32,7 +32,7 @@ set(chapter2-methods_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter2-methods "chapter2-methods" +qt6_add_resources(chapter2-methods "chapter2-methods" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt index 7321e4adbc..0b00081c93 100644 --- a/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter3-bindings/CMakeLists.txt @@ -32,7 +32,7 @@ set(chapter3-bindings_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter3-bindings "chapter3-bindings" +qt6_add_resources(chapter3-bindings "chapter3-bindings" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt index 5aea87d6e1..cd7d2d679a 100644 --- a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/CMakeLists.txt @@ -33,7 +33,7 @@ set(chapter4-customPropertyTypes_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter4-customPropertyTypes "chapter4-customPropertyTypes" +qt6_add_resources(chapter4-customPropertyTypes "chapter4-customPropertyTypes" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt index 38b7f4b52c..22fbf5ec98 100644 --- a/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/CMakeLists.txt @@ -33,7 +33,7 @@ set(chapter5-listproperties_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter5-listproperties "chapter5-listproperties" +qt6_add_resources(chapter5-listproperties "chapter5-listproperties" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt index 33f79b03f5..eea602f6f8 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt @@ -27,7 +27,7 @@ set(app_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter6-plugins "app" +qt6_add_resources(chapter6-plugins "app" PREFIX "/" FILES diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt index 6a2b487009..b83e160c82 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt @@ -27,7 +27,7 @@ set(app_resource_files "app.qml" ) -QT6_ADD_RESOURCES(chapter6-plugins "app" +qt6_add_resources(chapter6-plugins "app" PREFIX "/" FILES diff --git a/examples/qml/xmlhttprequest/CMakeLists.txt b/examples/qml/xmlhttprequest/CMakeLists.txt index aa2fc5fc11..52cf5c6f16 100644 --- a/examples/qml/xmlhttprequest/CMakeLists.txt +++ b/examples/qml/xmlhttprequest/CMakeLists.txt @@ -35,7 +35,7 @@ set(xmlhttprequest_resource_files "xmlhttprequest.qml" ) -QT6_ADD_RESOURCES(xmlhttprequest "xmlhttprequest" +qt6_add_resources(xmlhttprequest "xmlhttprequest" PREFIX "/qml/xmlhttprequest" FILES @@ -88,7 +88,7 @@ set(quick_shared_resource_files "images/slider_handle.png" ) -QT6_ADD_RESOURCES(xmlhttprequest "quick_shared" +qt6_add_resources(xmlhttprequest "quick_shared" PREFIX "/quick/shared" BASE diff --git a/examples/quick/animation/CMakeLists.txt b/examples/quick/animation/CMakeLists.txt index c4e6d4a3d0..f734d25e65 100644 --- a/examples/quick/animation/CMakeLists.txt +++ b/examples/quick/animation/CMakeLists.txt @@ -90,7 +90,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(animation "shared" +qt6_add_resources(animation "shared" PREFIX "/shared" BASE @@ -120,7 +120,7 @@ set(animation_resource_files "states/transitions.qml" ) -QT6_ADD_RESOURCES(animation "animation" +qt6_add_resources(animation "animation" PREFIX "/animation" FILES diff --git a/examples/quick/canvas/CMakeLists.txt b/examples/quick/canvas/CMakeLists.txt index cdfb4d3af6..49d9e11f6a 100644 --- a/examples/quick/canvas/CMakeLists.txt +++ b/examples/quick/canvas/CMakeLists.txt @@ -41,7 +41,7 @@ set(canvas_resource_files "tiger/tiger.qml" ) -QT6_ADD_RESOURCES(canvas "canvas" +qt6_add_resources(canvas "canvas" PREFIX "/canvas" FILES @@ -110,7 +110,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(canvas "shared" +qt6_add_resources(canvas "shared" PREFIX "/shared" BASE diff --git a/examples/quick/customitems/dialcontrol/CMakeLists.txt b/examples/quick/customitems/dialcontrol/CMakeLists.txt index b1a9d3c365..3c14b7c68b 100644 --- a/examples/quick/customitems/dialcontrol/CMakeLists.txt +++ b/examples/quick/customitems/dialcontrol/CMakeLists.txt @@ -38,7 +38,7 @@ set(dialcontrol_resource_files "dialcontrol.qml" ) -QT6_ADD_RESOURCES(dialcontrol "dialcontrol" +qt6_add_resources(dialcontrol "dialcontrol" PREFIX "/" FILES diff --git a/examples/quick/customitems/maskedmousearea/CMakeLists.txt b/examples/quick/customitems/maskedmousearea/CMakeLists.txt index ac8e5058f9..dfff154d33 100644 --- a/examples/quick/customitems/maskedmousearea/CMakeLists.txt +++ b/examples/quick/customitems/maskedmousearea/CMakeLists.txt @@ -35,7 +35,7 @@ set(maskedmousearea_resource_files "maskedmousearea.qml" ) -QT6_ADD_RESOURCES(maskedmousearea "maskedmousearea" +qt6_add_resources(maskedmousearea "maskedmousearea" PREFIX "/customitems/maskedmousearea" FILES diff --git a/examples/quick/customitems/painteditem/CMakeLists.txt b/examples/quick/customitems/painteditem/CMakeLists.txt index 48fb6bc3ea..accf857d20 100644 --- a/examples/quick/customitems/painteditem/CMakeLists.txt +++ b/examples/quick/customitems/painteditem/CMakeLists.txt @@ -40,7 +40,7 @@ set(painteditem_resource_files "textballoons.qml" ) -QT6_ADD_RESOURCES(qmltextballoonplugin "painteditem" +qt6_add_resources(qmltextballoonplugin "painteditem" PREFIX "/painteditem" FILES diff --git a/examples/quick/delegatechooser/CMakeLists.txt b/examples/quick/delegatechooser/CMakeLists.txt index 8e18ff68e4..1fecd44940 100644 --- a/examples/quick/delegatechooser/CMakeLists.txt +++ b/examples/quick/delegatechooser/CMakeLists.txt @@ -31,7 +31,7 @@ set(qml_resource_files "delegatechooser.qml" ) -QT6_ADD_RESOURCES(delegatechooser "qml" +qt6_add_resources(delegatechooser "qml" PREFIX "/" FILES @@ -100,7 +100,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(delegatechooser "shared" +qt6_add_resources(delegatechooser "shared" PREFIX "/shared" BASE diff --git a/examples/quick/draganddrop/CMakeLists.txt b/examples/quick/draganddrop/CMakeLists.txt index 71ec51fc05..e48f3504a0 100644 --- a/examples/quick/draganddrop/CMakeLists.txt +++ b/examples/quick/draganddrop/CMakeLists.txt @@ -35,7 +35,7 @@ set(draganddrop_resource_files "views/gridview.qml" ) -QT6_ADD_RESOURCES(draganddrop "draganddrop" +qt6_add_resources(draganddrop "draganddrop" PREFIX "/draganddrop" FILES @@ -104,7 +104,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(draganddrop "shared" +qt6_add_resources(draganddrop "shared" PREFIX "/shared" BASE diff --git a/examples/quick/embeddedinwidgets/CMakeLists.txt b/examples/quick/embeddedinwidgets/CMakeLists.txt index a4c26faf9a..021f940c80 100644 --- a/examples/quick/embeddedinwidgets/CMakeLists.txt +++ b/examples/quick/embeddedinwidgets/CMakeLists.txt @@ -32,7 +32,7 @@ set(embeddedinwidgets_resource_files "main.qml" ) -QT6_ADD_RESOURCES(embeddedinwidgets "embeddedinwidgets" +qt6_add_resources(embeddedinwidgets "embeddedinwidgets" PREFIX "/embeddedinwidgets" FILES diff --git a/examples/quick/externaldraganddrop/CMakeLists.txt b/examples/quick/externaldraganddrop/CMakeLists.txt index 63fb9b4a94..bdd340e83c 100644 --- a/examples/quick/externaldraganddrop/CMakeLists.txt +++ b/examples/quick/externaldraganddrop/CMakeLists.txt @@ -32,7 +32,7 @@ set(externaldraganddrop_resource_files "externaldraganddrop.qml" ) -QT6_ADD_RESOURCES(externaldraganddrop "externaldraganddrop" +qt6_add_resources(externaldraganddrop "externaldraganddrop" PREFIX "/externaldraganddrop" FILES @@ -101,7 +101,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(externaldraganddrop "shared" +qt6_add_resources(externaldraganddrop "shared" PREFIX "/shared" BASE diff --git a/examples/quick/imageelements/CMakeLists.txt b/examples/quick/imageelements/CMakeLists.txt index af5eb28fcf..5e233983aa 100644 --- a/examples/quick/imageelements/CMakeLists.txt +++ b/examples/quick/imageelements/CMakeLists.txt @@ -51,7 +51,7 @@ set(imageelements_resource_files "spritesequence.qml" ) -QT6_ADD_RESOURCES(imageelements "imageelements" +qt6_add_resources(imageelements "imageelements" PREFIX "/imageelements" FILES @@ -120,7 +120,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(imageelements "shared" +qt6_add_resources(imageelements "shared" PREFIX "/shared" BASE diff --git a/examples/quick/keyinteraction/CMakeLists.txt b/examples/quick/keyinteraction/CMakeLists.txt index 4bb3d05a14..5e7d7b5549 100644 --- a/examples/quick/keyinteraction/CMakeLists.txt +++ b/examples/quick/keyinteraction/CMakeLists.txt @@ -39,7 +39,7 @@ set(keyinteraction_resource_files "keyinteraction.qml" ) -QT6_ADD_RESOURCES(keyinteraction "keyinteraction" +qt6_add_resources(keyinteraction "keyinteraction" PREFIX "/keyinteraction" FILES diff --git a/examples/quick/layouts/CMakeLists.txt b/examples/quick/layouts/CMakeLists.txt index 304c515a3e..8835395fac 100644 --- a/examples/quick/layouts/CMakeLists.txt +++ b/examples/quick/layouts/CMakeLists.txt @@ -31,7 +31,7 @@ set(layouts_resource_files "layouts.qml" ) -QT6_ADD_RESOURCES(layouts "layouts" +qt6_add_resources(layouts "layouts" PREFIX "/layouts" FILES diff --git a/examples/quick/localstorage/localstorage/CMakeLists.txt b/examples/quick/localstorage/localstorage/CMakeLists.txt index 378cc46dee..b449f3450a 100644 --- a/examples/quick/localstorage/localstorage/CMakeLists.txt +++ b/examples/quick/localstorage/localstorage/CMakeLists.txt @@ -36,7 +36,7 @@ set(localstorage_resource_files "localstorage.qml" ) -QT6_ADD_RESOURCES(localstorage "localstorage" +qt6_add_resources(localstorage "localstorage" PREFIX "/" FILES @@ -105,7 +105,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(localstorage "shared" +qt6_add_resources(localstorage "shared" PREFIX "/shared" BASE diff --git a/examples/quick/models/abstractitemmodel/CMakeLists.txt b/examples/quick/models/abstractitemmodel/CMakeLists.txt index 772974d578..89afe06cff 100644 --- a/examples/quick/models/abstractitemmodel/CMakeLists.txt +++ b/examples/quick/models/abstractitemmodel/CMakeLists.txt @@ -32,7 +32,7 @@ set(abstractitemmodel_resource_files "view.qml" ) -QT6_ADD_RESOURCES(abstractitemmodel "abstractitemmodel" +qt6_add_resources(abstractitemmodel "abstractitemmodel" PREFIX "/" FILES diff --git a/examples/quick/models/objectlistmodel/CMakeLists.txt b/examples/quick/models/objectlistmodel/CMakeLists.txt index b8be29ee4a..742e60c523 100644 --- a/examples/quick/models/objectlistmodel/CMakeLists.txt +++ b/examples/quick/models/objectlistmodel/CMakeLists.txt @@ -32,7 +32,7 @@ set(objectlistmodel_resource_files "view.qml" ) -QT6_ADD_RESOURCES(objectlistmodel "objectlistmodel" +qt6_add_resources(objectlistmodel "objectlistmodel" PREFIX "/" FILES diff --git a/examples/quick/models/stringlistmodel/CMakeLists.txt b/examples/quick/models/stringlistmodel/CMakeLists.txt index 6021c70991..f0cd3f7239 100644 --- a/examples/quick/models/stringlistmodel/CMakeLists.txt +++ b/examples/quick/models/stringlistmodel/CMakeLists.txt @@ -31,7 +31,7 @@ set(stringlistmodel_resource_files "view.qml" ) -QT6_ADD_RESOURCES(stringlistmodel "stringlistmodel" +qt6_add_resources(stringlistmodel "stringlistmodel" PREFIX "/" FILES diff --git a/examples/quick/mousearea/CMakeLists.txt b/examples/quick/mousearea/CMakeLists.txt index 5957a73051..7cb9cb9dc3 100644 --- a/examples/quick/mousearea/CMakeLists.txt +++ b/examples/quick/mousearea/CMakeLists.txt @@ -32,7 +32,7 @@ set(mousearea_resource_files "mousearea.qml" ) -QT6_ADD_RESOURCES(mousearea "mousearea" +qt6_add_resources(mousearea "mousearea" PREFIX "/mousearea" FILES diff --git a/examples/quick/particles/affectors/CMakeLists.txt b/examples/quick/particles/affectors/CMakeLists.txt index 19a5d6652c..85a4cebdd5 100644 --- a/examples/quick/particles/affectors/CMakeLists.txt +++ b/examples/quick/particles/affectors/CMakeLists.txt @@ -42,7 +42,7 @@ set(affectors_resource_files "content/wander.qml" ) -QT6_ADD_RESOURCES(affectors "affectors" +qt6_add_resources(affectors "affectors" PREFIX "/particles/affectors" FILES @@ -175,7 +175,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(affectors "images" +qt6_add_resources(affectors "images" PREFIX "/particles" BASE @@ -246,7 +246,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(affectors "shared" +qt6_add_resources(affectors "shared" PREFIX "/shared" BASE diff --git a/examples/quick/particles/customparticle/CMakeLists.txt b/examples/quick/particles/customparticle/CMakeLists.txt index efa6595866..533b8e1547 100644 --- a/examples/quick/particles/customparticle/CMakeLists.txt +++ b/examples/quick/particles/customparticle/CMakeLists.txt @@ -34,7 +34,7 @@ set(customparticle_resource_files "customparticle.qml" ) -QT6_ADD_RESOURCES(customparticle "customparticle" +qt6_add_resources(customparticle "customparticle" PREFIX "/particles/customparticle" FILES @@ -167,7 +167,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(customparticle "images" +qt6_add_resources(customparticle "images" PREFIX "/particles" BASE @@ -238,7 +238,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(customparticle "shared" +qt6_add_resources(customparticle "shared" PREFIX "/shared" BASE diff --git a/examples/quick/particles/emitters/CMakeLists.txt b/examples/quick/particles/emitters/CMakeLists.txt index 61ce008fcb..6102476837 100644 --- a/examples/quick/particles/emitters/CMakeLists.txt +++ b/examples/quick/particles/emitters/CMakeLists.txt @@ -38,7 +38,7 @@ set(emitters_resource_files "emitters.qml" ) -QT6_ADD_RESOURCES(emitters "emitters" +qt6_add_resources(emitters "emitters" PREFIX "/particles/emitters" FILES @@ -171,7 +171,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(emitters "images" +qt6_add_resources(emitters "images" PREFIX "/particles" BASE @@ -242,7 +242,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(emitters "shared" +qt6_add_resources(emitters "shared" PREFIX "/shared" BASE diff --git a/examples/quick/particles/imageparticle/CMakeLists.txt b/examples/quick/particles/imageparticle/CMakeLists.txt index 44f985d238..51eea97879 100644 --- a/examples/quick/particles/imageparticle/CMakeLists.txt +++ b/examples/quick/particles/imageparticle/CMakeLists.txt @@ -38,7 +38,7 @@ set(imageparticle_resource_files "imageparticle.qml" ) -QT6_ADD_RESOURCES(imageparticle "imageparticle" +qt6_add_resources(imageparticle "imageparticle" PREFIX "/particles/imageparticle" FILES @@ -171,7 +171,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(imageparticle "images" +qt6_add_resources(imageparticle "images" PREFIX "/particles" BASE @@ -242,7 +242,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(imageparticle "shared" +qt6_add_resources(imageparticle "shared" PREFIX "/shared" BASE diff --git a/examples/quick/particles/itemparticle/CMakeLists.txt b/examples/quick/particles/itemparticle/CMakeLists.txt index a8ed9515e4..c0bb8b7ccc 100644 --- a/examples/quick/particles/itemparticle/CMakeLists.txt +++ b/examples/quick/particles/itemparticle/CMakeLists.txt @@ -154,7 +154,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(itemparticle "images" +qt6_add_resources(itemparticle "images" PREFIX "/particles" BASE @@ -225,7 +225,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(itemparticle "shared" +qt6_add_resources(itemparticle "shared" PREFIX "/shared" BASE diff --git a/examples/quick/particles/system/CMakeLists.txt b/examples/quick/particles/system/CMakeLists.txt index 12f4694f41..ec94674d58 100644 --- a/examples/quick/particles/system/CMakeLists.txt +++ b/examples/quick/particles/system/CMakeLists.txt @@ -36,7 +36,7 @@ set(system_resource_files "system.qml" ) -QT6_ADD_RESOURCES(system "system" +qt6_add_resources(system "system" PREFIX "/particles/system" FILES @@ -169,7 +169,7 @@ set(images_resource_files "images/starfish_mask.png" ) -QT6_ADD_RESOURCES(system "images" +qt6_add_resources(system "images" PREFIX "/particles" BASE @@ -240,7 +240,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(system "shared" +qt6_add_resources(system "shared" PREFIX "/shared" BASE diff --git a/examples/quick/positioners/CMakeLists.txt b/examples/quick/positioners/CMakeLists.txt index 69ff04c7ad..8f128ca5c9 100644 --- a/examples/quick/positioners/CMakeLists.txt +++ b/examples/quick/positioners/CMakeLists.txt @@ -33,7 +33,7 @@ set(positioners_resource_files "positioners.qml" ) -QT6_ADD_RESOURCES(positioners "positioners" +qt6_add_resources(positioners "positioners" PREFIX "/positioners" FILES @@ -102,7 +102,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(positioners "shared" +qt6_add_resources(positioners "shared" PREFIX "/shared" BASE diff --git a/examples/quick/quick-accessibility/CMakeLists.txt b/examples/quick/quick-accessibility/CMakeLists.txt index c5256fa093..0ad266aaf5 100644 --- a/examples/quick/quick-accessibility/CMakeLists.txt +++ b/examples/quick/quick-accessibility/CMakeLists.txt @@ -34,7 +34,7 @@ set(accessibility_resource_files "content/Slider.qml" ) -QT6_ADD_RESOURCES(quick-accessibility "accessibility" +qt6_add_resources(quick-accessibility "accessibility" PREFIX "/accessibility" FILES diff --git a/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt index b4028e6be8..2cd422b762 100644 --- a/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt +++ b/examples/quick/quickwidgets/qquickviewcomparison/CMakeLists.txt @@ -36,7 +36,7 @@ set(qquickviewcomparison_resource_files "test.qml" ) -QT6_ADD_RESOURCES(qquickviewcomparison "qquickviewcomparison" +qt6_add_resources(qquickviewcomparison "qquickviewcomparison" PREFIX "/qquickviewcomparison" FILES diff --git a/examples/quick/quickwidgets/quickwidget/CMakeLists.txt b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt index 34e7381207..87bed430fc 100644 --- a/examples/quick/quickwidgets/quickwidget/CMakeLists.txt +++ b/examples/quick/quickwidgets/quickwidget/CMakeLists.txt @@ -36,7 +36,7 @@ set(quickwidget_resource_files "rotatingsquaretab.qml" ) -QT6_ADD_RESOURCES(quickwidget "quickwidget" +qt6_add_resources(quickwidget "quickwidget" PREFIX "/quickwidget" FILES diff --git a/examples/quick/rendercontrol/CMakeLists.txt b/examples/quick/rendercontrol/CMakeLists.txt index 66bc0f1445..4587e128b9 100644 --- a/examples/quick/rendercontrol/CMakeLists.txt +++ b/examples/quick/rendercontrol/CMakeLists.txt @@ -34,7 +34,7 @@ set(rendercontrol_resource_files "demo.qml" ) -QT6_ADD_RESOURCES(rendercontrol "rendercontrol" +qt6_add_resources(rendercontrol "rendercontrol" PREFIX "/rendercontrol" FILES diff --git a/examples/quick/righttoleft/CMakeLists.txt b/examples/quick/righttoleft/CMakeLists.txt index 7f7ac2e535..93b94212c9 100644 --- a/examples/quick/righttoleft/CMakeLists.txt +++ b/examples/quick/righttoleft/CMakeLists.txt @@ -34,7 +34,7 @@ set(righttoleft_resource_files "textalignment/textalignment.qml" ) -QT6_ADD_RESOURCES(righttoleft "righttoleft" +qt6_add_resources(righttoleft "righttoleft" PREFIX "/righttoleft" FILES @@ -103,7 +103,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(righttoleft "shared" +qt6_add_resources(righttoleft "shared" PREFIX "/shared" BASE diff --git a/examples/quick/scenegraph/customgeometry/CMakeLists.txt b/examples/quick/scenegraph/customgeometry/CMakeLists.txt index 7d45793689..079476a205 100644 --- a/examples/quick/scenegraph/customgeometry/CMakeLists.txt +++ b/examples/quick/scenegraph/customgeometry/CMakeLists.txt @@ -30,7 +30,7 @@ set(customgeometry_resource_files "main.qml" ) -QT6_ADD_RESOURCES(customgeometry "customgeometry" +qt6_add_resources(customgeometry "customgeometry" PREFIX "/scenegraph/customgeometry" FILES diff --git a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt index bf58446363..098b5e70da 100644 --- a/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt +++ b/examples/quick/scenegraph/d3d11underqml/CMakeLists.txt @@ -36,7 +36,7 @@ set(d3d11underqml_resource_files "squircle.vert" ) -QT6_ADD_RESOURCES(d3d11underqml "d3d11underqml" +qt6_add_resources(d3d11underqml "d3d11underqml" PREFIX "/scenegraph/d3d11underqml" FILES diff --git a/examples/quick/scenegraph/graph/CMakeLists.txt b/examples/quick/scenegraph/graph/CMakeLists.txt index c1f45a2650..7ac1d3ad42 100644 --- a/examples/quick/scenegraph/graph/CMakeLists.txt +++ b/examples/quick/scenegraph/graph/CMakeLists.txt @@ -37,7 +37,7 @@ set(graph_resource_files "shaders/noisy.vsh" ) -QT6_ADD_RESOURCES(graph "graph" +qt6_add_resources(graph "graph" PREFIX "/scenegraph/graph" FILES diff --git a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt index b40fb52ba2..9702987176 100644 --- a/examples/quick/scenegraph/metalunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/metalunderqml/CMakeLists.txt @@ -36,7 +36,7 @@ set(metalunderqml_resource_files "squircle.vert" ) -QT6_ADD_RESOURCES(metalunderqml "metalunderqml" +qt6_add_resources(metalunderqml "metalunderqml" PREFIX "/scenegraph/metalunderqml" FILES diff --git a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt index af8aa49a4d..238c8c707f 100644 --- a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt @@ -32,7 +32,7 @@ set(openglunderqml_resource_files "main.qml" ) -QT6_ADD_RESOURCES(openglunderqml "openglunderqml" +qt6_add_resources(openglunderqml "openglunderqml" PREFIX "/scenegraph/openglunderqml" FILES diff --git a/examples/quick/scenegraph/rendernode/CMakeLists.txt b/examples/quick/scenegraph/rendernode/CMakeLists.txt index e6d4281be8..40d2c20849 100644 --- a/examples/quick/scenegraph/rendernode/CMakeLists.txt +++ b/examples/quick/scenegraph/rendernode/CMakeLists.txt @@ -36,7 +36,7 @@ set(rendernode_resource_files "shader_vert.cso" ) -QT6_ADD_RESOURCES(rendernode "rendernode" +qt6_add_resources(rendernode "rendernode" PREFIX "/scenegraph/rendernode" FILES diff --git a/examples/quick/scenegraph/sgengine/CMakeLists.txt b/examples/quick/scenegraph/sgengine/CMakeLists.txt index b99d8f2c7c..42f342dc20 100644 --- a/examples/quick/scenegraph/sgengine/CMakeLists.txt +++ b/examples/quick/scenegraph/sgengine/CMakeLists.txt @@ -30,7 +30,7 @@ set(sgengine_resource_files "face-smile.png" ) -QT6_ADD_RESOURCES(sgengine "sgengine" +qt6_add_resources(sgengine "sgengine" PREFIX "/scenegraph/sgengine" FILES @@ -99,7 +99,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(sgengine "shared" +qt6_add_resources(sgengine "shared" PREFIX "/shared" BASE diff --git a/examples/quick/scenegraph/simplematerial/CMakeLists.txt b/examples/quick/scenegraph/simplematerial/CMakeLists.txt index 74ed71801c..21c2609cfe 100644 --- a/examples/quick/scenegraph/simplematerial/CMakeLists.txt +++ b/examples/quick/scenegraph/simplematerial/CMakeLists.txt @@ -29,7 +29,7 @@ set(simplematerial_resource_files "main.qml" ) -QT6_ADD_RESOURCES(simplematerial "simplematerial" +qt6_add_resources(simplematerial "simplematerial" PREFIX "/scenegraph/simplematerial" FILES diff --git a/examples/quick/scenegraph/textureinsgnode/CMakeLists.txt b/examples/quick/scenegraph/textureinsgnode/CMakeLists.txt index 4e0baea989..c92ea4b8b7 100644 --- a/examples/quick/scenegraph/textureinsgnode/CMakeLists.txt +++ b/examples/quick/scenegraph/textureinsgnode/CMakeLists.txt @@ -36,7 +36,7 @@ set(textureinsgnode_resource_files "main.qml" ) -QT6_ADD_RESOURCES(textureinsgnode "textureinsgnode" +qt6_add_resources(textureinsgnode "textureinsgnode" PREFIX "/scenegraph/textureinsgnode" FILES diff --git a/examples/quick/scenegraph/textureinthread/CMakeLists.txt b/examples/quick/scenegraph/textureinthread/CMakeLists.txt index 3afe6ee20a..12579b3456 100644 --- a/examples/quick/scenegraph/textureinthread/CMakeLists.txt +++ b/examples/quick/scenegraph/textureinthread/CMakeLists.txt @@ -39,7 +39,7 @@ set(textureinthread_resource_files "main.qml" ) -QT6_ADD_RESOURCES(textureinthread "textureinthread" +qt6_add_resources(textureinthread "textureinthread" PREFIX "/scenegraph/textureinthread" FILES diff --git a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt index ef3ca17b93..eae7e6a1b3 100644 --- a/examples/quick/scenegraph/threadedanimation/CMakeLists.txt +++ b/examples/quick/scenegraph/threadedanimation/CMakeLists.txt @@ -33,7 +33,7 @@ set(threadedanimation_resource_files "spinner.png" ) -QT6_ADD_RESOURCES(threadedanimation "threadedanimation" +qt6_add_resources(threadedanimation "threadedanimation" PREFIX "/scenegraph/threadedanimation" FILES diff --git a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt index b07da2ba2b..2969997b08 100644 --- a/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt +++ b/examples/quick/scenegraph/twotextureproviders/CMakeLists.txt @@ -32,7 +32,7 @@ set(twotextureproviders_resource_files "main.qml" ) -QT6_ADD_RESOURCES(twotextureproviders "twotextureproviders" +qt6_add_resources(twotextureproviders "twotextureproviders" PREFIX "/scenegraph/twotextureproviders" FILES diff --git a/examples/quick/shadereffects/CMakeLists.txt b/examples/quick/shadereffects/CMakeLists.txt index a67e4cc8fc..840daccf91 100644 --- a/examples/quick/shadereffects/CMakeLists.txt +++ b/examples/quick/shadereffects/CMakeLists.txt @@ -52,7 +52,7 @@ set(shadereffects_resource_files "shadereffects.qml" ) -QT6_ADD_RESOURCES(shadereffects "shadereffects" +qt6_add_resources(shadereffects "shadereffects" PREFIX "/shadereffects" FILES diff --git a/examples/quick/shapes/CMakeLists.txt b/examples/quick/shapes/CMakeLists.txt index c33317c9cd..69be2ee4a3 100644 --- a/examples/quick/shapes/CMakeLists.txt +++ b/examples/quick/shapes/CMakeLists.txt @@ -142,7 +142,7 @@ set(shapes_resource_files "content/tiger.qml" ) -QT6_ADD_RESOURCES(shapes "shapes" +qt6_add_resources(shapes "shapes" PREFIX "/shapes" FILES diff --git a/examples/quick/tableview/gameoflife/CMakeLists.txt b/examples/quick/tableview/gameoflife/CMakeLists.txt index 926c340add..1fb4e744c4 100644 --- a/examples/quick/tableview/gameoflife/CMakeLists.txt +++ b/examples/quick/tableview/gameoflife/CMakeLists.txt @@ -33,7 +33,7 @@ set(qmake_immediate_resource_files "main.qml" ) -QT6_ADD_RESOURCES(gameoflife "qmake_immediate" +qt6_add_resources(gameoflife "qmake_immediate" PREFIX "/" FILES diff --git a/examples/quick/tableview/pixelator/CMakeLists.txt b/examples/quick/tableview/pixelator/CMakeLists.txt index f74fc0087b..738ee846ce 100644 --- a/examples/quick/tableview/pixelator/CMakeLists.txt +++ b/examples/quick/tableview/pixelator/CMakeLists.txt @@ -33,7 +33,7 @@ set(qmake_immediate_resource_files "qt.png" ) -QT6_ADD_RESOURCES(pixelator "qmake_immediate" +qt6_add_resources(pixelator "qmake_immediate" PREFIX "/" FILES diff --git a/examples/quick/text/CMakeLists.txt b/examples/quick/text/CMakeLists.txt index 646c074986..8f17197b2b 100644 --- a/examples/quick/text/CMakeLists.txt +++ b/examples/quick/text/CMakeLists.txt @@ -50,7 +50,7 @@ set(text_resource_files "textselection/textselection.qml" ) -QT6_ADD_RESOURCES(text "text" +qt6_add_resources(text "text" PREFIX "/text" FILES @@ -119,7 +119,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(text "shared" +qt6_add_resources(text "shared" PREFIX "/shared" BASE diff --git a/examples/quick/textureprovider/CMakeLists.txt b/examples/quick/textureprovider/CMakeLists.txt index ea7fc559fa..ac65ce93a8 100644 --- a/examples/quick/textureprovider/CMakeLists.txt +++ b/examples/quick/textureprovider/CMakeLists.txt @@ -35,7 +35,7 @@ set(textureprovider_resource_files "textureprovider.qml" ) -QT6_ADD_RESOURCES(textureprovider "textureprovider" +qt6_add_resources(textureprovider "textureprovider" PREFIX "/textureprovider" FILES diff --git a/examples/quick/threading/CMakeLists.txt b/examples/quick/threading/CMakeLists.txt index f7b2e2d024..06843792ae 100644 --- a/examples/quick/threading/CMakeLists.txt +++ b/examples/quick/threading/CMakeLists.txt @@ -36,7 +36,7 @@ set(threading_resource_files "workerscript/workerscript.qml" ) -QT6_ADD_RESOURCES(threading "threading" +qt6_add_resources(threading "threading" PREFIX "/threading" FILES @@ -105,7 +105,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(threading "shared" +qt6_add_resources(threading "shared" PREFIX "/shared" BASE diff --git a/examples/quick/touchinteraction/CMakeLists.txt b/examples/quick/touchinteraction/CMakeLists.txt index d2a76d51bc..a063ee980b 100644 --- a/examples/quick/touchinteraction/CMakeLists.txt +++ b/examples/quick/touchinteraction/CMakeLists.txt @@ -53,7 +53,7 @@ set(touchinteraction_resource_files "touchinteraction.qml" ) -QT6_ADD_RESOURCES(touchinteraction "touchinteraction" +qt6_add_resources(touchinteraction "touchinteraction" PREFIX "/touchinteraction" FILES @@ -122,7 +122,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(touchinteraction "shared" +qt6_add_resources(touchinteraction "shared" PREFIX "/shared" BASE diff --git a/examples/quick/views/CMakeLists.txt b/examples/quick/views/CMakeLists.txt index f3484257dc..4450c45b6a 100644 --- a/examples/quick/views/CMakeLists.txt +++ b/examples/quick/views/CMakeLists.txt @@ -76,7 +76,7 @@ set(views_resource_files "views.qml" ) -QT6_ADD_RESOURCES(views "views" +qt6_add_resources(views "views" PREFIX "/views" FILES @@ -145,7 +145,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(views "shared" +qt6_add_resources(views "shared" PREFIX "/shared" BASE diff --git a/examples/quick/window/CMakeLists.txt b/examples/quick/window/CMakeLists.txt index 7aba67565e..b162f43789 100644 --- a/examples/quick/window/CMakeLists.txt +++ b/examples/quick/window/CMakeLists.txt @@ -34,7 +34,7 @@ set(window_resource_files "window.qml" ) -QT6_ADD_RESOURCES(window "window" +qt6_add_resources(window "window" PREFIX "/window" FILES @@ -103,7 +103,7 @@ set(shared_resource_files "images/tab.png" ) -QT6_ADD_RESOURCES(window "shared" +qt6_add_resources(window "shared" PREFIX "/shared" BASE -- cgit v1.2.3