aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
Commit message (Collapse)AuthorAgeFilesLines
...
* Use scoped enum for format in rhitextureitem exampleLaszlo Agocs2024-03-051-4/+4
| | | | | | Pick-to: 6.7 Change-Id: I2add2eb838cf7087902fbb264cef5e849435ab6e Reviewed-by: Volker Hilsheimer <[email protected]>
* Follow QQuickRhiItem property rename in exampleLaszlo Agocs2024-03-051-1/+1
| | | | | | | | The example was not updated. Pick-to: 6.7 Change-Id: Ib9afde58b3f48639cf77848e36ee503df78bdd53 Reviewed-by: Fabian Kosmale <[email protected]>
* quickwidget example: Avoid potential for crash on closeEirik Aavitsland2024-02-291-2/+5
| | | | | | | | | | | | | Widgets that had been broken out to separate top-level windows would live on after the mainwindow was closed. Subsequent attempts to move them back to the tab widget would crash, since the that would be deleted by then. Fix by closing detached top-level windows on mainwindow close. Fixes: QTBUG-122790 Pick-to: 6.7 6.6 6.5 Change-Id: I0ae268c5e30b6563dc1556b3f79a83418cc3c703 Reviewed-by: Volker Hilsheimer <[email protected]>
* Doc: Fix broken linkVenugopal Shivashankar2024-02-231-9/+9
| | | | | | | | | | | | | | Fixed the following qdoc warnings: - src/quick/items/qquickitem.cpp:[7966,7974]: (qdoc) warning: Can't link to 'QQuickControl' - src/quick/items/context2d/qquickcontext2d.cpp:3412: (qdoc) warning: Undocumented parameter 'imageData' in Context2D::createImageData() - src/quick/items/qquicktableview.cpp:1230: (qdoc) warning: Undocumented parameter 'cell' in TableView::modelIndex() - examples/quick/quickshapes/weatherforecast/doc/src/weatherforecast.qdoc:[13,21,27,45,78,83,93,102,105]: (qdoc) warning: Can't link to 'Qt Quick Shapes' Fixes: QTBUG-122230 Pick-to: 6.7 Change-Id: I4f533ed95c13a99d649568d7b773437712b5b2d1 Reviewed-by: Topi Reiniö <[email protected]>
* Update manual tests and examples for change in default size policySanthosh Kumar2024-02-216-0/+22
| | | | | | | | | | | The size policy of item updated as part of task QTBUG-117597. This patch update existing examples and manual tests that depends on quick layout to embrace size policy change. Task-number: QTBUG-117597 Pick-to: 6.7 Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0 Reviewed-by: Jan Arve Sæther <[email protected]>
* examples: fix unused parameter warningTim Blechmann2024-02-141-1/+1
| | | | | | Change-Id: I6ca097113fb2b3ba0a7ddde251f9068538af986c Pick-to: 6.7 Reviewed-by: Ulf Hermann <[email protected]>
* Weather forecast example: Clean up assets and attributionPaul Olav Tvete2024-02-0619-54/+79
| | | | | | | | | | Add licenses for third party assets and a qt_attribution.json file for these. Also removes some assets + the mention of some assets which were no longer used. Pick-to: 6.7 Change-Id: Id426422b387e6d4dc63afef58c1a17b76ee92e4a Reviewed-by: Kai Köhne <[email protected]>
* Move Qt Quick Shapes examples back under Qt QuickEskil Abrahamsen Blomfeldt2024-02-0191-1/+9958
| | | | | | | | | | | | | | In order to be accessible from Qt Creator, the modules either has to have a separate landing page and qdocconf, or we need it under the same subdirectory as everything else. We currently want Qt Quick Shapes to be like Qt Quick Particles and be documented as part of Qt Quick, so the examples move back into a quickshapes/ subdirectory of examples/quick (like with examples/quick/particles/) Pick-to: 6.7 Change-Id: Ib7aaa75da7c4c9eeca6edb5ede7952598f37df89 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
* QQuickRhiItem API cleanupLaszlo Agocs2024-01-221-4/+4
| | | | | | | | | | Based on the API review. Also follow QRhiWidget for symmetry. Pick-to: 6.7 Change-Id: Id04a0029ebeb9326b76b485414b58c83f384c466 Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* Make PieMenu in pointer handlers example work with mouse right-clickShawn Rutledge2024-01-171-1/+5
| | | | | | | | | It opens instantly with right-click; whereas it animates open with a finger or stylus, to avoid accidental activation, as before. Pick-to: 6.5 6.6 6.7 Change-Id: I6f530fb6da67c735fe3aae4545c8040f49e8dc05 Reviewed-by: Oliver Eftevaag <[email protected]>
* Doc: Create separate Graphics and Multimedia example categoriesJaishree Vyas2024-01-1741-41/+41
| | | | | | | Fixes: QTBUG-117884 Pick-to: 6.6 6.7 Change-Id: Ib0bb6217c29795fe50efdf827aa9902bbd572032 Reviewed-by: Topi Reiniö <[email protected]>
* PieMenu in pointer handlers example: set preferredRendererTypeShawn Rutledge2024-01-151-0/+1
| | | | | | | | We need antialiasing for those menu sector shapes to look good. Pick-to: 6.7 Change-Id: I0dac2f5b65bf3e8e62387e5189d147de63ef0d7a Reviewed-by: Oliver Eftevaag <[email protected]>
* Change the way tests and examples query the qmldir file from QML plugin targetsAlexey Edelev2024-01-153-12/+11
| | | | | | | | | | | Use qt6_query_qml_module to get path to qmldir, but not TARGET_FILE_DIR. This is more accurate way. Pick-to: 6.5 6.6 6.7 Fixes: QTBUG-120479 Change-Id: I4b7f7bf3b7f69c15871e400af3e7ae945a9bfdf0 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Alexandru Croitor <[email protected]>
* Move Qt Quick Shapes exampleEskil Abrahamsen Blomfeldt2024-01-0632-6065/+0
| | | | | | | | | | | | | Usually, we have separate top-level example directories for different modules, but since Qt Quick Shapes only had a single example, it was categorized under examples/quick. We now plan to add more, so to prepare for that, this sets up the normal structure with an examples/quickshapes directory. Pick-to: 6.7 Change-Id: I50016358b674c18bb2930459d4e0111862ddcedb Reviewed-by: Eirik Aavitsland <[email protected]>
* Doc: Fix linking issues and missing QDoc commandsTopi Reinio2024-01-061-4/+4
| | | | | | | | | | | | | | | Fix multiple incorrect \l (link) command arguments that were not captured by documentation testing in CI. Add missing \endqml and \endcode commands to code snippets. Convert \sa commands that are meant to be related to specific \section commands into manual 'See also' paragraphs. Otherwise, they are listed at the bottom of the page. Pick-to: 6.7 Change-Id: Icf2a97f63b8b8cdec2d9398448d28759dabdb06b Reviewed-by: Andreas Eliasson <[email protected]>
* Avoid crashing in the quickwidgets example after closing the subwindowShawn Rutledge2024-01-051-3/+15
| | | | | | | | | | Closing the window deletes m_quickWidget; so we disable the menu items for grabbing from it, because those cannot work. Also add asserts. Fixes: QTBUG-120296 Pick-to: 5.15 6.2 6.5 6.6 6.7 Change-Id: I68154c2d1e4553c771815e29cbe3b095d85893f1 Reviewed-by: Axel Spoerl <[email protected]>
* examples: Increase hit area of LauncherList buttons; simplifyTor Arne Vestbø2023-12-122-51/+36
| | | | | | | Pick-to: 6.5 6.6 6.7 Change-Id: Ife040f9c7e01fd8b8ce80595c2179d6b78648c6e Reviewed-by: Tor Arne Vestbø <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]>
* Doc: Move Flipable, Dial Control example to UI Components categoryKai Köhne2023-12-112-2/+2
| | | | | | | | Arguably fits better than Graphics & Multimedia. Pick-to: 6.6 6.7 Change-Id: I2604d5f43621a73ad28d01532e6ad8ec121a2e29 Reviewed-by: Fabian Kosmale <[email protected]>
* embeddedinwidgets: Use modern loadFromModule APIFabian Kosmale2023-12-066-13/+14
| | | | | | | | | | Replaces 4f4a915ded1ddfb91ed0062d7079f5566400f422 Fixes: QTBUG-119318 Change-Id: I3c508a8b5b7f060cdb2b0eac087c24dab0f552e2 Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Tor Arne Vestbø <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Update Responsive Layouts ExampleMatthias Rauter2023-12-037-42/+69
| | | | | | Fixes: QTBUG-119388 Change-Id: I66c7bf0e0aaba13a04b9cc7e6f042ded47e0b0b1 Reviewed-by: Jan Arve Sæther <[email protected]>
* Doc: Add CMake section to Scene Graph exampleAndreas Eliasson2023-12-011-8/+25
| | | | | | | | | | The current page only mentions qmake. Let's add a CMake section. Also, make minor grammatical fixes. Fixes: QTBUG-118802 Pick-to: 6.6 6.5 Change-Id: I311084c72f609a72ef5716964cd6c7c28fa64208 Reviewed-by: Andreas Eliasson <[email protected]>
* Change Cumquat to Kumquat in exampleShawn Rutledge2023-11-291-1/+1
| | | | | | | | Cumquat is Australian English apparently, and looks vaguely dirty to the rest of us. https://en.wikipedia.org/wiki/Kumquat Change-Id: Iee3f97f7bda526791fc7ec07395152efff5e116f Reviewed-by: Paul Wicking <[email protected]>
* doc: Mention the Draggable Selection exampleShawn Rutledge2023-11-292-3/+10
| | | | | | | | | | | As long as we are not deprecating Package, we should keep showing how to use it the way that the docs already describe: to aggregate Items by giving the selection a name. Also a drive-by grammar correction. Change-Id: I373269d5e2e103ca83b724e3a553c37a60bafbde Reviewed-by: Paul Wicking <[email protected]>
* Move undocumented quick examples to manual testsLucie Gérard2023-11-2842-1196/+2
| | | | | | | | | | | | | | | | | | - maskedmousearea ought to be redone with input handlers - delegatechooser needs a realistic use case, not so ugly - itemparticle hasn't been in working condition for some time, due to its use of flickr API - keep FlickrRssModel only in manual tests (broken for now) - remove bogus copies of flipable example files from the delegatemodel example which were added in 1fef24732bb5114392626a7fef956625a6cc66ac - copy shared components that examples tend to depend on into a shared directory for manual tests Task-number: QTBUG-88470 Task-number: QTBUG-119117 Change-Id: Ide1918f5e1b6fcc3efd939825892bfd270cef586 Reviewed-by: Shawn Rutledge <[email protected]>
* Fix embeddedinwidgets resource prefix in qmake projectTor Arne Vestbø2023-11-241-1/+1
| | | | | | Pick-to: 6.6 6.5 Change-Id: I151cb5dce9dfbed9914bce09397a21cd704ffe0c Reviewed-by: Fabian Kosmale <[email protected]>
* Fix corrupt rendering when toggling rendernode-based itemsLaszlo Agocs2023-11-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Meaning the toggling of visibility. Having a QSGRenderNode come and go in the scenegraph leads to visual problems, in case the adding and removal of the node toggles the m_forceNoUseDepthBuffer flag, which in turn makes useDepthBuffer() return a different value than before (so disables and then enables doing the opaque pass in the renderer). Changing this value needs a full rebuild of the render lists. When adding a node, this is done (regardless of toggling the flag). When removing, it was not done at all. Now we do it when resetting the no-Z flag back to false. Add a button to the customrendernode example to toggle visibility since this is useful for example's purposes anyways. However, this on its own is not sufficient to reproduce the issue. For that, the DepthAwareRendering flag needs to be removed from the QSGRenderNode subclass. Pick-to: 6.6 6.5 Fixes: QTBUG-119160 Change-Id: I232354d88f5a4fe5f9f2d6102d0d5439d92782fb Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Andy Nichols <[email protected]>
* Disable TapHandler.longPressed signal if longPressThreshold == 0Shawn Rutledge2023-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | There needs to be a way to disable the long-press feature, because it's exclusive: if we emit longPressed(), we do not emit tapped(). But we should also be able to accommodate slow users who pause for too long unintentionally, or while simply observing the behavior. Also clarify that resetting longPressThreshold reverts to the default. Add more exhaustive test coverage, verify that longPressed and tapped are mutually exclusive, and verify the effects of violating the gesturePolicy. Change longPressThreshold on LauncherList's back button so that it always triggers, regardless whether the user pauses on it for a while. [ChangeLog][QtQuick][Event Handlers] TapHandler.longPressThreshold can now be set to 0 to disable its press-and-hold feature, and can be reset to undefined to restore the platform default. Fixes: QTBUG-119132 Task-number: QTBUG-105810 Pick-to: 6.5 6.6 Change-Id: Id5fd7e51c70fdb0cb6c4beb5615717a222aec871 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Make TapHandler longPressed/tapped exclusive and reliable; fix exampleShawn Rutledge2023-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The back button in the examples' LauncherList.qml has been flaky. As described in the docs, a TapHandler used to implement a Button should have `gesturePolicy: TapHandler.ReleaseWithinBounds` to get the common behavior that you can drag out of the button to cancel the click, and you can also drag back into the button to change your mind and let it click after all. But when trying to test this behavior, another problem became evident: if you spend a longer time than longPressThreshold for the whole gesture, then at the time of release you could see the debug output "long press threshold exceeded" and the tapped signal was not emitted. Our intention was that if you are dragging around, the TapHandler is not eligible to emit the longPressed signal; it follows that it should not become ineligible to emit tapped, either (tapped can be emitted if other constraints are satisfied). The intention of the ReleaseWithinBounds policy is that it doesn't matter how much you drag, as long as the point is within the bounds of the parent at the time of release. So we begin keeping track of whether we have actually emitted the longPressed signal, rather than merely looking at the time difference. This changed behavior in tst_qquickdeliveryagent::passiveGrabberOrder: 1 second is more than enough time for long press with the default longPressThreshold, and now the tapped signals are no longer emitted after longPressed. So we just wait for pressed state rather than waiting so long. qWaits in tests are best avoided anyway (although I think the intention in 152e12dc22cc0fd07cf90bcd35ae0e05b8b46fa0 might have been to wait long enough to ensure that nothing undesired would occur, rather than waiting for something specific to occur). Task-number: QTBUG-65012 Task-number: QTBUG-105810 Pick-to: 6.5 6.6 Change-Id: If6a86d955e19810cb06de659f5e39b50a72fa762 Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Add doc page for the threadedanimation exampleLaszlo Agocs2023-11-172-0/+33
| | | | | | Change-Id: I8907c8532bf7abdc573d2e878374e3f26618f8d9 Reviewed-by: Christian Strømme <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* 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 <[email protected]>
* Add zooming to the shapes examplePaul Olav Tvete2023-10-036-3/+161
| | | | | | Pick-to: 6.6 Change-Id: If10ffe77b5e61f605f9f735c51f639c422844b2d Reviewed-by: Eirik Aavitsland <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]> Reviewed-by: Kristoffer Skau <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]> Reviewed-by: Tomi Korpipää <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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ö <[email protected]> Reviewed-by: Kai Köhne <[email protected]>
* rendercontrol_rhi example: Fix some broken indentationLaszlo Agocs2023-09-042-6/+6
| | | | | Change-Id: I57d94e5362ea1d86dd7835678436cdd6e5ad6ad5 Reviewed-by: Andy Nichols <[email protected]>
* rendercontrol_rhi example: Make the custom animation driver optionalLaszlo Agocs2023-09-042-15/+53
| | | | | Change-Id: Ia9b25c87452eb4ede47f5464294857aa5c6fdc2e Reviewed-by: Andy Nichols <[email protected]>
* rendercontrol_rhi example: Add a checkbox to exercise mirrorVerticallyLaszlo Agocs2023-09-041-0/+14
| | | | | Change-Id: Ia8ff0162db51e9e7c6eb6fb38df1ca28a47935fc Reviewed-by: Andy Nichols <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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ö <[email protected]> Reviewed-by: Safiyyah Moosa <[email protected]>
* Add a QRhi-based QQuickRenderControl exampleLaszlo Agocs2023-08-158-0/+942
| | | | | | | Task-number: QTBUG-113331 Change-Id: I638e0f2483bf88d6fff3ad929ea6714e64fa199b Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Andy Nichols <[email protected]>
* 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 <[email protected]> Reviewed-by: Andy Nichols <[email protected]>