aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
Commit message (Collapse)AuthorAgeFilesLines
...
* Add license headers to shader sourceEskil Abrahamsen Blomfeldt2023-10-3020-0/+60
| | | | | | Pick-to: 5.15 6.2 6.5 6.6 Change-Id: I007eaddf0a3a9e7e6242d4e02b487fa0806c96a7 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Add zooming to the shapes examplePaul Olav Tvete2023-10-036-3/+161
| | | | | | Pick-to: 6.6 Change-Id: If10ffe77b5e61f605f9f735c51f639c422844b2d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* rhitextureitem example: Remove QuickPrivate dependencyLaszlo Agocs2023-10-021-1/+0
| | | | | | | | In the dev (6.7) version this is definitely not needed. Not sure how it got there. Change-Id: Iba0c68aef0fc19c92565908d622e4f8827fe72c9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Rename shapes example qml files according to what they demonstrateShawn Rutledge2023-09-274-163/+163
| | | | | | | | | Amends 270a6f9bba75478204dc6aadb348cf34a195a4da Fixes: QTBUG-115485 Pick-to: 6.2 6.5 6.6 6.6.0 Change-Id: Id77b4dd8ce83175ebe29d24bf987572d5e9069d7 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Doc: Add example categories for qtquickJaishree Vyas2023-09-2612-0/+15
| | | | | | | Task-number: QTBUG-116334 Pick-to: 6.5 6.6 Change-Id: I993b6157c3ef8a69e4e218d62596b5219ab4b34b Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Show item size in rhitextureitem exampleLaszlo Agocs2023-09-251-2/+6
| | | | | | | | | | | | | | To make the logical window/item size vs. reality (texture sizes in pixels) difference obvious immediately. Also change the slider max value to 2048 to allow exercising up to 2048x2048 textures. Also clean up the texture format label. Change-Id: I27e0d1fe99fa2a32f55176612ac1ca65c9045a4d Reviewed-by: Christian Strømme <christian.stromme@qt.io> Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
* Clean up customrendernode exampleLaszlo Agocs2023-09-257-126/+189
| | | | | | | | | | | | | Make it more consistent with other scenegraph examples, and make it more compact, in particular when it comes to handling the QRhi resources (smart pointers are quite useful in this case since they help dropping a bunch of lines) Expand the docs. Pick-to: 6.6 6.6.0 Change-Id: I97bceca7759db9738d34f0fbf7eb29b0ae6e4c0f Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Small improvements into Graph exampleKaj Grönholm2023-09-151-8/+4
| | | | | | | | | | Use FrameAnimation instead of Timer and double the amount of samples to make the example smoother. Pick-to: 6.6 Change-Id: I6f5bb1414fd7532e16aeb25f886879828ce29854 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Fix undocumented parameters and broken linksTopi Reinio2023-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/qml/jsapi/qjsengine.cpp: (qdoc) warning: Can't link to 'qvariant_cast()' * src/quick/items/qquickrhiitem.cpp: (qdoc) warning: Undocumented parameter 'item' in QQuickRhiItemRenderer::synchronize() (qdoc) warning: Can't link to 'msaaColorBuffer()' (qdoc) warning: Can't link to 'resolveTexture()' * src/quick/scenegraph/util/qsgtextnode.cpp: (qdoc) warning: No such enum item 'Text.NativeRendering' in QSGTextNode::RenderType (qdoc) warning: Undocumented parameter 'color' in QSGTextNode::setColor() (qdoc) warning: Undocumented parameter 'color' in QSGTextNode::setSelectionColor() (qdoc) warning: Undocumented parameter 'viewport' in QSGTextNode::setViewport() * examples/quick/rendercontrol/rendercontrol_rhi/doc/src/ rendercontrol_rhi.qdoc: (qdoc) warning: Can't link to 'QWidget-based' (qdoc) warning: Can't link to 'QAnimationDriver' Mark all documentation modules in qtdeclarative as free of warnings. Change-Id: I97cc059701c351b53cdeeb5fc2feff923c5a76a8 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update mobile example categories for Qt 6.6Rami Potinkara2023-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | Add mobile example category tags for the chosen examples. Add for the ones that work best for both Android and iOS. Remove from the ones that do not work for both (at least yet). Added, as verified on Android -scenegraph openglunderqml -qtquickcontrols-contactlist -qtquickcontrols-gallery -qtquickcontrols-wearable Removed (for now), as not verified yet on Android -qtquickcontrols-todolist Fixes: QTBUG-116780 Pick-to: 6.6 Change-Id: I7f22329ec93dedaa63df34bb55dd67d14ffe5c1d Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Doc: Add example category to all the files that haven't yet got itInkamari Harjula2023-09-0613-1/+14
| | | | | | | | | Added example category and also fixed one copy-paste mistake in Vulkan Texture Import. Task-number: QTBUG-116205 Pick-to: 6.5 6.6 Change-Id: I96692f214849596e9555c635d9996d9b884c5cab Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Doc: Add example categories for qtquickJaishree Vyas2023-09-0523-0/+23
| | | | | | | | Task-number: QTBUG-116334 Pick-to: 6.5 6.6 Change-Id: Id17a546b9363e5225b8778c629fe9ffe30d2e719 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* rendercontrol_rhi example: Fix some broken indentationLaszlo Agocs2023-09-042-6/+6
| | | | | Change-Id: I57d94e5362ea1d86dd7835678436cdd6e5ad6ad5 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* rendercontrol_rhi example: Make the custom animation driver optionalLaszlo Agocs2023-09-042-15/+53
| | | | | Change-Id: Ia9b25c87452eb4ede47f5464294857aa5c6fdc2e Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* rendercontrol_rhi example: Add a checkbox to exercise mirrorVerticallyLaszlo Agocs2023-09-041-0/+14
| | | | | Change-Id: Ia8ff0162db51e9e7c6eb6fb38df1ca28a47935fc Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Fix QQuickWidget rendering API mapping for D3D12Laszlo Agocs2023-09-041-0/+2
| | | | | | | | | | | | Right now requesting d3d12 via QSG_RHI_BACKEND or the C++ API maps to the Null backend of QRhi. That is not ideal. QRhiWidget has this logic, but the already existing QQuickWidget was not yet adjusted in 6.6 it seems. Pick-to: 6.6 Change-Id: I12301e815d525c14584b01dcd0caa787d1c79ad0 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Add CurveRenderer item into shape antialiasing exampleKaj Grönholm2023-08-232-1/+51
| | | | | | | | | | CurveRenderer has built-in antialiasing supports, so compare it here to MSAA and SSAA. Task-number: QTBUG-104122 Pick-to: 6.6 Change-Id: I207ab770cae052b195e9da8802dc594a91ce713b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Doc: Add example categories to Particles examplesInkamari Harjula2023-08-234-0/+4
| | | | | | | | | Add the example categories of Particles examples. Task-number: QTBUG-116265 Pick-to: 6.5 6.6 Change-Id: Ie773c51c8a862c3cba74b22a68078d68eb14b42d Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
* Doc: Use sensible argument in `\printto` commandPaul Wicking2023-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The "Scene Graph - Vulkan Under QML" example includes snippets of code from the example source file(s) using a combination of the `\skipto` and `\printto` QDoc commands. The former skips content until the line that contains the argument passed to the command (here, "class VulkanSquircle"). The latter prints lines up to, but not including, the line that contains the argument passed to the command (here, "public"). I suspect the author's intention was for QDoc to output lines from the start of the class declaration until the public access specifier in the member specification of the class. However, the first instance of `public` QDoc encounters is the base-specifier of the derived class, which is on the same line as the argument to the `\skipto` command. Hence, there's nothing for QDoc to output. Modifying the argument to include the colon that indicates the keyword is for member-declarations ensures QDoc generates output as expected. Fixes: QTBUG-116304 Pick-to: 6.6 6.5 Change-Id: Ibfc17fbacd10f902fc2a5f57873fe0990571535e Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
* Add a QRhi-based QQuickRenderControl exampleLaszlo Agocs2023-08-158-0/+942
| | | | | | | Task-number: QTBUG-113331 Change-Id: I638e0f2483bf88d6fff3ad929ea6714e64fa199b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Add QQuickRhiItemLaszlo Agocs2023-08-1420-689/+509
| | | | | | | | | | | | | | | Try to follow the QRhiWidget API in most ways. Implies that the rhitextureitem example is repurposed to be the QQuickRhiItem example. The qquickitemrhiintegration autotest is repurposed as the qquickrhiitem autotest. Task-number: QTBUG-113331 Change-Id: I045d87f82ace07c8571c72c78e193cd5201cad69 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Remove unused forward decl in rhitextureitem exampleLaszlo Agocs2023-07-281-2/+0
| | | | | | Pick-to: 6.6 Change-Id: I1a472445bf2f88213536b3973349ebd7a34f93de Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Remove unused line in rhitextureitem exampleLaszlo Agocs2023-07-281-1/+0
| | | | | | Pick-to: 6.6 Change-Id: Ie1ab98d7d2997e12e1a92d61e19f543fc9accd86 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Doc: Update example category namesKai Köhne2023-07-111-1/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: Iadd29b0497ad264de46ddaf78546685f58abe6e6 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Merge externaldraganddrop example into the draganddrop exampleOliver Eftevaag2023-07-0415-212/+87
| | | | | | | | | | | We have two examples that are both showcasing different drag and drop features. Might as well only have one. Pick-to: 6.6 Change-Id: I9d984f723f42aaf39c5632e58fc376ad0df18acb Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* convert threading example to manual testsOliver Eftevaag2023-07-0418-402/+0
| | | | | | | | | | | | The threading example used a LauncherList to combine two different but related examples into one. I've now separated both into a shared directory called 'threading' Pick-to: 6.6 Change-Id: Iee8898e61adcf69dc67157a1eff5f6ac019a39ca Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* move righttoleft example to manual test, and revamp itOliver Eftevaag2023-07-0316-984/+0
| | | | | | | | | | | | | | The patch makes the following changes to the example: - It fixes all qmllint warnings. - It translates all user-facing strings. - It reorders some properties. - It removes the Loaders in layoutdirection.qml - It also does some other things, like removing unused lines of code, etc. Pick-to: 6.5 6.6 Change-Id: I798db60a2bf2d87c64b68947588585d10ba4015d Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Move touchinteraction examples to pointerhandlers and manual testShawn Rutledge2023-07-0237-786/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are getting long in the tooth, but multiflame and corkboards seem worthwhile to update to use Pointer Handlers (as we could have done sometime during the last 5 years or so). The qrc prefix seems to have changed: let's get the qmake build working again. The multiflame example is mostly rewritten: - all in one file, which can run standalone - only one ParticleSystem instance (which hopefully is more efficient) - using an inline component - less boilerplate per component instance (only one property for ColoredEmitter, which is both its color and its group name) - less-extreme, more fire-like colors The version of corkboards in Qt Quick 3D was already updated (and then removed for unrelated reasons); now we have the fixes from 0227fcdf3ea82efee3005d99fd1019410a7f5789 BearWhack has nice graphics, but doesn't seem like a very nice use of multi-touch, so it's demoted to the touch manual test for now. The simple Flickable use cases seem underwhelming nowadays too, and we have snippets as simple as those. Replace mentions of touchinteraction for testing with pointerhandlers. Pick-to: 6.6 Change-Id: I4667e13e961ca6f84d3336505b3c673790babfa5 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* doc: Rename to Qt Quick Examples - Pointer HandlersShawn Rutledge2023-07-021-1/+1
| | | | | | | | This seems to be still a consistent naming convention for example docs. Pick-to: 6.6 Change-Id: I508526ec992222da1c971bc327dd9c83a21640aa Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Make views example more in line with our guidelinesOliver Eftevaag2023-06-3016-194/+605
| | | | | | | | | | | | | | | | | | | | | | | The views example is an old example, which shows off many different features related to ListView, GridView and the QML models. Unfortunately, there are currently a few things that are broken in it. One of those things is the FlickrRssModel, which no longer works, because flickr changed their web API. This patch makes some improvements, but it's unfortunately not fixing everything. The list of fixes are the following: - Fix a good number of qmllint warnings. Unfortunately, there seems to be a good number of false positives that remain unfixed. - Use qsTr() in some places. But I've not adopted it everywhere. - sections.qml now uses Qt Quick Controls CheckBox'es instead of a custom component. - Property bindings are now declared on separate lines. Pick-to: 6.6 Change-Id: Idfb563f4bd658dc70c1b9975549e872e7c25449e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* revamp animation example according to guidelinesOliver Eftevaag2023-06-287-36/+71
| | | | | | | | | | | | | The following changes are applied to the example: - All qmllint warnings are fixed. - Tv tennis part of the example is now actually working. - Use let/const instead of var in JS. - Use qsTr() in a few places. - Use strict equality operator, when it's wise to do so. Pick-to: 6.6 6.5 Change-Id: If0222feb942abfd0a6c9f8a8cab0ac60ced3d76e Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Examples: Fix license to Commercial or BSD-3-ClauseKai Köhne2023-06-264-4/+4
| | | | | | Pick-to: 6.5 6.6 Change-Id: Ieb1db96846e02c3b93888ed409af82bfb3567c19 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Examples: Fix license of BlurHelper.qmlKai Köhne2023-06-261-1/+1
| | | | | | Pick-to: 6.5 6.6 Change-Id: I048d287487b87e0ef7c6ba448b69312859e155ad Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix examples writing resource files to the wrong directoryDimitrios Apostolou2023-06-232-2/+2
| | | | | | | | | | | | | | | | | When configuring the qt5 supermodule with -make examples, the directories examples/quick/imageresponseprovider/ImageResponseProviderCore/ examples/quick/imageprovider/ImageProviderCore/ were being created under the qt5 parent dir, instead of inside the qtdeclarative subdirectory. Fixes: QTBUG-113495 Pick-to: 6.5 6.6 Change-Id: I78a3fe6e1cab97b6e7be7900d2ecb66175a68065 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Move textselection example to manual testShawn Rutledge2023-06-137-221/+0
| | | | | | | | | | | | | | | Apparently it's always been incomplete, a relic from Nokia: there's no means of entering the "menu" state, and nothing to detect a long-press as the text says you can do. On mobile platforms, the platform input method provides selection handles; on embedded platforms, Qt Virtual Keyboard does it. So this is generally unnecessary, but perhaps it could be revamped into a demonstration of an alternative way to add text-selection handles. Pick-to: 6.6 6.5 Change-Id: I231db14e5fbb4e82e8d732153e3d3843a080b409 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Remove superfluous project file from exampleMatthias Rauter2023-06-081-16/+0
| | | | | | Pick-to: 6.5 6.6 Change-Id: I7599b18b29266c2b2d41437746bb2923588384d0 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* Introduction of LayoutItemProxyJan Arve Sæther2023-06-029-0/+293
| | | | | | | | | | | | | The LayoutItemProxy is a proxy for an arbitrary QuickItem that is intended to be used in Layouts. This allows to position a QuickItem in multiple layouts to build responsive layouts. [ChangeLog][Layouts] Added LayoutItemProxy, a helper item for writing responsive layouts. Task-number: QTBUG-71153 Change-Id: Ief2bdbf44b3b346157ce2c71a313cc1e132f49ac Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
* rhi examples: expand docsLaszlo Agocs2023-06-015-4/+156
| | | | | Change-Id: I88991ffe3612b76aaa687f86acd59e24c5543a76 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Add the rhitextureitem exampleLaszlo Agocs2023-06-0127-425/+791
| | | | | | | | | | | | | | | | | | | | | | | | fboitem, the OpenGL-based QQuickFramebufferObject example is now gone, replaced by the rhitextureitem example. It is now possible to implement a custom QQuickItem that renders into a QRhiTexture and then draws a triangle/strip geometry textured with that texture using just public Qt Quick APIs and the semi-public QRhi APIs. There should be conveniences provided for this in future Qt versions, but for the time being we provide an example how applications can do this in Qt 6.6 already. This complements the rhiunderqml example which shows the underlay/overlay approach, and the customrendernode example that shows the "inline" approach with a custom QSGRenderNode. The rhitextureitem example added here shows the third, "offscreen" approach that goes through a texture. The example docs are better than before but not yet complete. To be extended separately. Task-number: QTBUG-113331 Change-Id: I83000c08b057dd72371e2909905120dc496cb34d Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* rhiunderqml example doc: Fix a link and improve a noteLaszlo Agocs2023-06-011-7/+8
| | | | | Change-Id: I663db98e275ea1cbc49b1314e4b18892e5c8c00f Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Remove legacy env.var in QQuickWidget comparison exampleLaszlo Agocs2023-05-311-2/+0
| | | | | | | | Seems to work regardless. Pick-to: 6.5 Change-Id: Ic7c58372181009214590e9152a4919234f8e4aaa Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Introduce hardware accelerated curve renderer for ShapesEskil Abrahamsen Blomfeldt2023-05-262-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the Loop/Blinn algorithm for quadratic curves as an optional backend for Qt Quick Shapes, basically distance fields where the distance to curves are calculated in the fragment shader. This means cubic curves are approximated, which will give varying results, but for many shapes (such as text) this is efficient and means the shapes can be zoomed indefinitely while still retaining curvature as well as anti-aliasing working without MSAA. Preliminary results give some frame rate improvements compared to doing MSAA and GeometryRenderer, but the major improvement is that you can get smooth curves at any zoom level without re-triangulating the shape. Note that the renderer currently does not do antialiasing for straight lines. This would still require MSAA, but at a lower cost than for GeometryRenderer since there are much fewer triangles. Adding AA here as well is work in progress. Task-number: QTBUG-104122 Done-with: Paul Olav Tvete <paul.tvete@qt.io> Done-with: Eirik Aavitsland <eirik.aavitsland@qt.io> Done-with: Amr Elsayed <amr.elsayed@qt.io> Change-Id: I6b4a1103546fbdfe760906f7a183101f8eedb9d3 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* customitems examples: adhere to guidelinesOliver Eftevaag2023-05-269-22/+15
| | | | | | | | | | | | | | | | | They were in a pretty good state already. This patch simply makes some minor tweaks, based on our own guidelines for examples. The tweaks include, but are not limited to: - PRIVATE linkage - WIN32 and MACOSX_BUNDLE in qt_add_executable() - Remove unused #include - Use qsTr() - Remove warnings. Pick-to: 6.5 Change-Id: Ie4d50d4e2134b7b373bdf1ba38779d3052165286 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* layouts example: qmllint fix and use qsTr()Oliver Eftevaag2023-05-231-15/+17
| | | | | | Pick-to: 6.5 Change-Id: I1ce7b0753fc404e340328fe1ff472091ececb26c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add rhiunderqml exampleLaszlo Agocs2023-05-2215-8/+631
| | | | | | | | And fix up the scenegraph example list on the Qt Quick example page. Task-number: QTBUG-113331 Change-Id: Ic7b97871253d16b778f7da6088f4a9130bef2ec5 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Adapt to the RHI API conceptLaszlo Agocs2023-05-223-25/+25
| | | | | | | | | | | | | | | Besides following the header naming changes, make the obvious API changes that are based on data that is already there but was hidden previously due to not wanting anything QRhi to shine through in the public API. This kind of hiding is no longer needed, even if qrhi.h and similar still cannot be included from a public header. Forward declarations are now perfectly fine however. Task-number: QTBUG-113331 Change-Id: I9a114082cf9218edc487df50956f5793d6b8bdb4 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Make a few improvements to the Window exampleShawn Rutledge2023-05-182-28/+37
| | | | | | | | | | | | | | | | - Splash assumes less, for better reuse: set visible where used, start Timer only when visible - no need for SystemPalette: Window and Item have palette properties - get rid of MouseAreas - click to set a random color - make buttons square with Unicode "icons" - fullscreen button has Binding on checked, to be checked regardless how visibility is changed; onClicked is smaller - tooltips Pick-to: 6.5 Change-Id: Ibbc1be2a3b113e68f61c69ef695ceea8c300fd1e Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Improve qmlimageproviderplugin's CMakeLists.txtAmir Masoud Abdol2023-05-161-9/+2
| | | | | | | | | | | | | There is no executable, so setting `WIN32_EXECUTABLE` or `MACOSX_BUNDLE` is not necessary. I also moved the source file under `qt6_add_qml_module`. I feel this example is not complete, or need some more updates. Pick-to: 6.5 Change-Id: Ic79690e241a8a8a98d35c96e1aa57dddcbc29153 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Fix qmllint warning in rendercontrol examplesLaszlo Agocs2023-05-162-2/+2
| | | | | | Pick-to: 6.5 Change-Id: I6652f54d7b5eaba763565d155a868ba4b277f07d Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix qmllint-reported warning in shadereffects exampleLaszlo Agocs2023-05-161-4/+4
| | | | | | Pick-to: 6.5 Change-Id: I1f1a3ba69cd619e5fb07be4fc4150fe1b1352bee Reviewed-by: Christian Strømme <christian.stromme@qt.io>