Commit Graph

424 Commits

Author SHA1 Message Date
Kai Köhne c332d8321a Revert "Download assets from master.qt.io not download.qt.io due to CORS"
This reverts commit c35da8e952.

This considerably slows down downloads from Asia. Also, the original
reason to care about COARS was multi-threaded WebAssembly, but we're
using single-threaded WebAssembly for now.

Task-number: QTBUG-129105
Change-Id: Ia7aeb265b095337c2da732f1c6ce682026c57c55
Pick-to: 6.9
Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-04-29 11:58:17 +00:00
Masoud Jami 600dfd439f qtdoc: Fix loading svg icons and txtviewer plugin in documentviewer demo
Apply a couple of fixes to load icons correctly and preventing seg fault
in loading txt files in the documentviewer demo.

Change-Id: I5c3e8694abe37140d73da8b40204bc05aaf37e9c
Pick-to: 6.9 6.8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-04-23 10:54:29 +00:00
Matthias Rauter 9f91454fe6 Adjust delegate width to fit the URL in colorpalette
The server URLs got an additional /API path and they didn't fit into the
delegates anymore. This patch increases the delegate width so it looks
nice again. This is not the best solution. A dynamic solution would be
better but also a bit too complicated for an example.

Amends 6a6212a652.

Pick-to: 6.9 6.8
Change-Id: Iead827d4e37b5e0494f7f35c95934b8bf848cb40
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2025-04-17 23:28:08 +02:00
Juha Vuolle 19040296e4 Include qrestaccessmanager.h with QtNetwork prefix
Use include style that is consistent with rest of the
application. The include style was a leftover from the times the
application itself defined "restaccessmanager.h". Since Qt 6.7
the qrestaccessmanager.h is a proper QtNetwork class header.

Pick-to: 6.9 6.8
Change-Id: I25c1103ed9ccef1aa1da86475a1e20d9dba76a3b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
2025-04-17 07:41:33 +03:00
Juha Vuolle 3ab7b6eb02 Link colorpaletteclient example against Qt::Network
The application uses QtNetwork classes and should link against it
accordingly. This missing linkage doesn't cause problems for most
users because QtNetwork is usually transitively linked through other
modules.

But understandably relying on transitive linkage is not acceptable.
This became a problem when disabling QML networking
(-no-feature-qml-network) => Qt::Network classes no longer available.

Pick-to: 6.9 6.8 6.5
Fixes: QTBUG-136036
Change-Id: Id2f1348551f77c5139b514bce95d97f8c8e38f67
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
2025-04-17 07:41:30 +03:00
Andreas Eliasson 88402b3062 Doc: Prevent main content from overflowing Contents side section
Having a \table with 3 \inlineimages on each row is prone to cause
overflow issues on narrower screen widths. Listing the three groups
of \inlineimages together with a \section1 and a \br is more dynamic
and will wrap the images as the screen width changes.

Fixes: QTBUG-134789
Pick-to: 6.9 6.8 6.5
Change-Id: Id05df222fea226e602a74b57bef0bce0a55b86a3
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2025-04-07 10:53:12 +00:00
Andreas Eliasson 42cab48b04 Doc: Add tags to Lightning Viewer example
Fixes: QTBUG-135289
Pick-to: 6.9 6.8
Change-Id: I61dd5ee949f97917d65bfccf536a15cfa0a4a353
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2025-04-02 18:34:38 +02:00
Edward Welbourne c0562d08fa Convert example to QTimeZone's setTimeZone() from setTimeSpec()
The latter is deprecated now, don't encourage further use of it.

Pick-to: 6.9.0 6.9 6.8
Change-Id: I41b00cb9365fa7b86c2524cc888526a74413e4ab
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-28 13:42:22 +01:00
Morten Sørvig 4c9f150c9b Add windowembedding wasm test case
This uses the "Cally" JS calendar component as the
native window, since the built in calendar input displays
the calendar as a popup and not on the input element
itself.

The native calendar element is created from JavaScript,
ownership is then passed to emscripten::val on the C++
side:

   element -> EM_VAL -> emscripten::val

Alternatively, the calendar could also have been created
from C++ using code like

   val calendar = val::global("document").call<val>("createElement", std::string("calendar-date"));
   calendar["innerHTML"] = std::string("<calendar-month></calendar-month>");

We create a copy of the calendar val on the heap in order
to be able to pass a pointer to fromWinId() which does not
become stale when the function returns.

Done-with: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Change-Id: Ib68e82f01dc1c489b847b794aa09d6ccc9986157
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-03-26 14:59:04 +01:00
Soheil Armin 48edb006a9 Dice: Improve initial position of dices
This change ensures proper initial distance of dices based
on their size. It also distributes them horizontally so that
they hit each other later at different angles.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I7f8d2ab0c9b7b6b00996cae8fb121de950b68ca4
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-24 10:53:25 +00:00
Soheil Armin f8da375cf9 Dice: Set realistic values of PhysicsMaterial of dice
These new values better matches to a acrylic D6 dice
material.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I120f35815ffdcb1af56cc5505b752ca356bd61c0
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-24 09:13:01 +00:00
Soheil Armin 4712e40925 Dice: Replace SoundEffect with MediaPlayer
Although the SoundEffect type has lower latency, it is
more resource intensive and shows lower performance and
makes the UI stuttering in some desktop or mobile target
devices.

In this change, we replace SoundEffect with MediaPlayer to
get better visual performance.

Pick-to: 6.8 6.9 6.9.0
Change-Id: Ib5f4d8fe6efb726e341481af9a3aaf2d1f4f1515
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-24 09:12:59 +00:00
Soheil Armin f865c01f0a Dice: Hide menu button when drawer is shown
Pick-to: 6.8 6.9 6.9.0
Change-Id: I17f4e81f9821bd413fd7d1a24cf43cf0ff0f93c9
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-24 09:12:53 +00:00
Soheil Armin a7c2e00368 Dice: Improve shake detection
This change enhances the readability of the code and improves the
behavior of triggering a roll. It adds a small delay to prevent
multiple rolls from occurring in short intervals.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I657450be50742d9b6236e2c29cf365b04349f191
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-24 09:12:43 +00:00
Soheil Armin a15fe391af Dice: Show values of sliders in front of related Labels
The user could not see actual values that are set with
sliders. This change appends those values to their related
labels.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I0683a2765368e8385e103639695f7f337902e996
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-20 18:52:06 +02:00
Soheil Armin a9ac96fe36 Dice: Remove redundant RowLayouts with one item inside
Pick-to: 6.8 6.9 6.9.0
Change-Id: Ib10806101288af892ed4040d596ab36a3af04dc7
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-20 18:52:00 +02:00
Soheil Armin 630a817385 Dice: Improve tapLabel disappearing logic
This removes the hide() function and the manual animation
from the tapLabel and uses Behavior as an alternative.

Pick-to: 6.8 6.9 6.9.0
Change-Id: Ib4cb924ff1ac3dce70dfde3a80e00efa39a5799a
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-20 18:51:56 +02:00
Soheil Armin d4752094b4 Dice: Fix cameraController stealing drawer flickable gestures
The OrbitCameraController inside the Scene, steals gestures from
the Flickable inside the drawer.

This change disables the camera controller when drawer is shown.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I557f1196db0da2d1b30ddbfbe804585de2519f1a
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-20 18:51:53 +02:00
Soheil Armin 015e19ce0d Dice: Replace forEach() with reduce() to calculate dice sound volume
Pick-to: 6.8 6.9 6.9.0
Change-Id: I1411176d718d5219a42a12c4334d8d6d89b88a8a
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-20 18:51:49 +02:00
Soheil Armin 65937d3bc8 Dice: Improve atRest property of PhysicalDie
atRest property should be true while the motionTimeout timer
is running.

This change remove a function binding and directly aliases the
atRest property to running property of the timer.

TODO: atRest is unused based on a previous change. If we decide
to keep the logic in the previous patch, then we can remove
this timer and also the property.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I9d0c58f192251621cb3e691cf431366eb6b1dd68
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-20 18:51:46 +02:00
Soheil Armin fc4f30767e Dice: Improve DiceSpawner and its property bindings
This change replaces the imperative logic of DiceSpawner
with a more declarative approach using Repeater3D.

It also replaces sending properties via functions, with
property binding and property aliases.

Pick-to: 6.8 6.9 6.9.0
Change-Id: Ic5c166fb50b0ede393cc72411f1a4a7e08a6ccd7
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-20 18:51:37 +02:00
Soheil Armin ec48a83d72 Dice: Replace the DirectionalLight with a PointLight
DirectionalLight shows performance issues on some targets.
We can achieve a similar visual result with a PointLight.

Pick-to: 6.8 6.9 6.9.0
Change-Id: I39708d2179782f8643ede39e970f47337cae507f
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2025-03-20 18:51:34 +02:00
Mahmoud Badri aeb2f7e971 Remove unused assets from FX & Material showroom demo
Remove 30 unused images which reduced the downloaded assets count from
99 to 69 and saved unnecessary many megabytes of download.

Change-Id: If249bb476e50c9b6e4cb9ac35884a982a0558ba1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-03-19 23:12:33 +02:00
Mahmoud Badri aa346736b3 Remove warnings from FX & Material showroom demo
Update "Connections" nodes to use the modern
style handlers which removes many warnings.

Change-Id: Idc8b03cdfd6b686e85ba9cd8e9f86e0c94ffdfa8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-03-19 23:12:17 +02:00
Soheil Armin bd684f7871 CarRendering: Remove redundant _Desert1 texture
The _Desert1 uses a .hdr source. A version with .ktx source is
already available.

This change removes _Desert1 and replaces it with _Desert.

Fixes: QTBUG-132704
Pick-to: 6.9 6.9.0 6.8
Change-Id: Ie22b02379f7f83082a7aa58fa04fffbc0e9c4ece
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-03-03 13:11:58 +02:00
Friedemann Kleint 09bc4a6861 documentviewer: Add simple image viewer
Since qtbase/b8f588bea74aae0a890e1af18b936b0bfbf8c237
removed the QtWidgets image viewer example, there
is no way to exercise the image plugins.
Re-add the code as documentviewer plugin.

Pick-to: 6.9
Change-Id: I0eb26d02a9c11cdb0fce315ffc6f7c662e98c924
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-01-24 17:29:41 +01:00
Assam Boudjelthia c2c840647a Android: set QT_ANDROID_TARGET_SDK_VERSION to 34
Setting this to 35 is not going to work properly as edge-to-edge is not
working properly yet in Qt for Android 15.

See https://developer.android.com/develop/ui/views/layout/edge-to-edge

Fixes: QTBUG-132360
Pick-to: 6.9 6.8
Change-Id: I46020d07e3aea59d57ebf1bef1b25f1f90971827
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
2025-01-24 13:13:17 +00:00
Joerg Bornemann 663141e2ee CMake: Fix CMake warnings in txtviewer plugin example
The txtviewer plugin example is part of the documentviewer example but
at the same time a separate example with its own documentation page.
That means it appears on Qt Creator's Welcome Page and must be buildable
standalone.

Add the usual CMake stanza for standalone projects to the top of the
project file.

Pick-to: 6.8 6.9
Task-number: QTBUG-132738
Change-Id: Ib5aad765ec5dbc2406df6b1cca574a20448f6529
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-01-23 16:03:22 +01:00
Ali Kianian a82d7f2617 CarRenderingApp: Shrink the build directory on windows
* Also shrink the plugin names

This patch forces a shorter build directory as a solution to maximum
path issue on windwos.

Fixes: QTBUG-132551
Change-Id: I06ea6ac987e2341fd12f972f29625fca122de1f4
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-01-15 12:23:30 +02:00
Tim Blechmann 4188e03f20 CMake: silence QTP0004 warnings
Configuring the examples will emit QTP0004 warnings. Setting them by
increasing the minimum version for qt_standard_project_setup.

Pick-to: 6.8 6.9
Change-Id: Iefaad04f4ea098d7ba942ce4ae38f29971b574c6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-01-02 20:58:51 +08:00
Tim Blechmann 055fa62010 demos: qmake compile fix
xr_physicsbase_teleportation is included by demos.pro, but does not have
a qmake build system. This causes compile errors when the denpendencies
are available.

Remove it.

Pick-to: 6.8 6.9
Change-Id: I55c488608ff4bdc7a2ce8223d27ce8a1d7d28fe4
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-12-19 08:14:07 +00:00
Tim Blechmann aecb99a384 cmake: fix configure error for media player example
The media player example links with Qt::Svg, so we should exclude it if
Qt::Svg is not built.

Pick-to: 6.8 6.9
Change-Id: Ie52fa6fa515a2427834deaa65f3725a6ed9886cb
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-12-16 15:20:12 +08:00
Jonas Karlsson 0365c031cf Dice app: Disable camera panning
There is no point in being able to make the camera not focused on the
table since there is nothing else to see in the example.

Change-Id: I6fc0df5619080165ea147ce870065b2cae12e371
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-12-05 10:49:36 +00:00
Patryk Stachniak 9467d3cf5d Improve animation smoothness in Robot Arm Example
Changed the easing curve to QEasingCurve::Linear to improve smoothness.
Updated setValue() to prevent restarting the animation unnecessarily if
the new value matches the current target. This change enhances the user
experience by reducing visual jitter and improving animation flow.

Task-number: QTBUG-130307
Pick-to: 6.8
Change-Id: Idd05f17d14a0a653a24a083ad421c3fe0418c3c9
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-12-02 13:40:15 +01:00
Friedemann Kleint 88caeb3837 documentviewer demo: Fix edit actions
Use modern theme icons

Pick-to: 6.8
Change-Id: Id9613a1b7828a6059a163c1eb73919764987af12
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-11-26 18:16:36 +01:00
Friedemann Kleint 1c75be5290 documentviewer demo: Fix zoom actions
Use modern theme icons. Add standard shortcuts to the PDF
viewer actions. Remove duplicated adding to the toolbar.

Pick-to: 6.8
Change-Id: I4cfe33c7b8fcc3c070f5c0542b821dd9393bfe2d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-11-26 09:17:53 +01:00
Jøger Hansegård 9d7ff8c111 Switch media player audio output when OS default audio output changes
This patch allows the user to change the audio device while a video or
audio file is being played in the media player app.

Before this change, audio would start playing on operating system's
default audio device, but it would not switch to another audio device
even if the user selected another device while the media was playing.

This patch uses a MediaDevices QML element to listen to audio device
changes from the operating system, and will automatically switch to the
device that is set as default at any time.

Fixes: QTBUG-119282
Pick-to: 6.8
Change-Id: Id1acfe9e9025a81c4cc3fa0e4593292f287f7b9a
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-11-13 12:02:34 +01:00
Lucie Gérard c91bd3ae52 Add REUSE.toml files and missing licenses
REUSE.toml files are read by reuse to complement or override the
copyright and licensing information found in file.

The use of REUSE.toml files was introduced in REUSE version 3.1.0a1.
This reuse version is compatible with reuse specification
version 3.2 [1].
With this commit's files,
* The SPDX document generated by reuse spdx conforms to SPDX 2.3,
* The reuse lint command reports that the Qt project is reuse compliant.

In order to be reuse compliant all the licenses referenced in file
or within a REUSE.toml file must be present in the LICENSES
directory at the base of the module.
The missing licenses are added.

Also, all the licenses present in the LICENSES directory must be used.
License files not used are removed.

[1]: https://reuse.software/spec-3.2/

Task-number: QTBUG-124453
Task-number: QTBUG-125211
Pick-to: 6.8
Change-Id: I1dabbf6f13c2ae5ad73dc8c7df9108c160e1dc2b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-11-06 13:48:01 +01:00
Assam Boudjelthia 64bbf3c432 Android: remove packagingOptions.jniLibs.useLegacyPackaging property
This is not needed after 0db5b424cdaede8724886e8a1eda1380382d9aaf.

Change-Id: Ic4eee7a99458e294f5dc79bba44dc844064f63c2
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-11-01 15:58:52 +03:00
Christian Strømme a9ac82bffd Adapt the XR-physics based demo to work with multiview
Pick-to: 6.8
Change-Id: I2c624fd5f6fb0e74a5645acd273f2d089510b8f2
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-10-18 14:05:59 +02:00
Ali Kianian dcf7d543f1 CarRenderingApp: Update example icon
The icon is only used in the documentation of this example.
It should be updated since there are some changes in the view of the
example.

Pick-to: 6.8
Change-Id: Ife23857c0c1aba092255dcd10a5104772a25bd85
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-16 15:37:13 +03:00
Even Oscar Andersen 52a4cfad55 Replace deprecated _qs suffix by _s suffix for main.qml
To remove a warning for the examples

Change-Id: Ib59656262e72fcacd75b37f16dfbc40736b919eb
Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
2024-10-15 12:22:46 +02:00
Friedemann Kleint fadfccfc4c OSM Demo: Refactor the tile sort algorithm
Introduce a OSMTileData::distanceTo() function and a named lambda for
readability.

Pick-to: 6.8
Change-Id: I7989c6095fc18f9a2bfaa713a1b4b1c0cc162e31
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-11 12:54:59 +02:00
Doris Verria 16911df39e ToDoList example: Fix warnings and more improvements
- Bind the  width of the item delegate to that of the attached
ListView.view instead of the width of its parent. The latter
was giving us warnings as the parent was not valid.
- Remove duplicate signal overrides in the CustomStyle's Dialog
implementation.
- Build app as a bundle on macOS.

Task-number: QTBUG-125322
Pick-to: 6.8 6.7
Change-Id: I3817d2f30f9b530fd63e60b8da7f832674883153
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-10-04 09:39:18 +02:00
Friedemann Kleint 97df6fbeeb OSM Demo: Small cleanups
- Fix some spelling errors
- Avoid contains()/value() antipattern.
- Move the URL constants into the source do not use tr() on them
- Remove unused lambda parameters

Noticed while porting to Python.

Pick-to: 6.8
Change-Id: I531959984a99dd9113311f43c460c5270e50aa2b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-02 17:24:54 +02:00
Friedemann Kleint 49bf5a003e OSM Demo: Make OSMTileData a hashable type using the new comparison macros
Store it in the m_buildingsHash instead of a string key,
saving a few allocations.

Pick-to: 6.8
Change-Id: I6d3e58726ca2d8dc3569915770e96eed9b4f3517
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-02 17:24:42 +02:00
Kai Köhne 8d6b46efa3 Disambiguate 'Qt Quick', Qt Widgets', 'Qt Gui' links
qdoc does consider section titles implicit anchors. Adding a
'Qt Quick' section thererfore had the effect that links to 'Qt Quick'
in other pages started pointing to this section, instead of the Qt Quick
module landing page.

Avoid this conflict by making the section title more descriptive.

Pick-to: 6.8
Fixes: QTBUG-129569
Change-Id: I7b1805b2f0cf9ebb65f71a259600b6554db2dc33
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 60e04b1d67)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-01 19:07:06 +00:00
Jonas Karlsson 779fea7875 Dice example: tweak shadowBias
There was a bug previously causing the shadowBias to be 2x its specified
value, so update the value to account for this fix.

Change-Id: I980993eb3a798755ede736d6b20537ed4f23186c
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-10-01 14:15:13 +02:00
Jøger Hansegård 4215c9afec Rename media player image file to avoid name clash with QtScXml example
Qt Multimedia's media player, and QtScXml's media player used the same
mediaplayer.png filename on their respective application screenshot,
which caused the QtScXml example image to incorrectly be used with the
Qt Multimedia example.

Renaming the media player image from mediaplayer.png to
mediaplayerapp.png. This way the filename matches the CMake target name
for the application.

Fixes: QTBUG-129444
Pick-to: 6.8 6.7
Change-Id: Ie4d93d2cc5100a42faeec7828775b62a56d3ff23
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2024-09-28 12:24:01 +02:00
Kai Köhne 6a94fdc9c3 osmbuildings: Declare Qt module dependencies
Make sure that the example is only shown in Qt Creator
is Qt Quick 3D, Qt Positioning modules are available.

Pick-to: 6.8
Fixes: QTBUG-114998
Change-Id: Ia759df01598415f4d534581c4c7bf06290c785b5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-09-27 14:09:52 +02:00