Commit Graph

14 Commits

Author SHA1 Message Date
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
Sadegh Taghavi a800651471 XR physics-base Teleportation demo
This demo shows how to navigate and interact with objects
in the virtual environment using physics-affected locomotion.

Pick-to: 6.8 6.8.0
Change-Id: Iff6e0f2801e8f603f8a2019aea9c89087de5ed0e
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-09-16 11:36:58 +00:00
Sakaria Pouke 08d2700a81 Overhaul StocQt example
Implementing a new design and implementation for the StocQt example.
The new example uses Qt's REST API and json parser to read live stock
data.

Fixes: QTBUG-116593
Fixes: QTBUG-116594
Pick-to: 6.7
Change-Id: I2b491673bd7c9acb7812f88c508f42ad9cc9f869
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-12-22 20:40:50 +01:00
Kai Köhne c31ad31f02 Doc: Remove tweetsearch example
The documentation for the example was disabled since commit
012384be6a (6.0), so the example was little used. It also
requires a Twitter developer account, which costs at least
100$ / month (https://developer.twitter.com/en/docs/twitter-api).
So probably not worth to keep the example.

Change-Id: I75e4a67a5525d49e9857703d5932081d697a68a6
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2023-12-03 10:38:23 +01:00
Jonas Karlsson 34ecd60038 Add the 'dice' example
Fixes: QTBUG-113600
Pick-to: 6.5 6.5.2 6.6
Change-Id: I13b8327f2dcf3e7eaec80c7c10038b22a1656df3
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-06-21 00:50:04 +02:00
Kimmo Leppälä 7c15387604 Fix Calqlatr example to follow Qt6 example guideline
Set basic style for the application to get rid of "The current style
does not support customization of this control" warning in
CalculatorButton.qml.

Task-number: QTBUG-108751
Pick-to: 6.5 6.6
Change-Id: Id9b8305238404088fd24d4e128a753728558f10a
Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-06-13 10:22:15 +03:00
Kimmo Leppälä 117382f261 Remove PhotoViewer example
Fixes: QTBUG-113593
Change-Id: Idafd79a140067fac9c9f27440f4f43453e2e2ddf
Pick-to: 6.5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-05-16 20:27:36 +03:00
Shawn Rutledge b766d2f157 photosurface demo: Add a procedural texture background
Adapted from https://www.shadertoy.com/view/WdscWN via the Qt Quick
Effects Maker and further tweaking by hand.

Because we do not have a defined pattern to compile shaders from sources
with qmake, building this demo with qmake is no longer supported.

Pick-to: 6.5
Task-number: QTBUG-108924
Change-Id: I0b19b6aa9865f2e8c259fb1d12dffd9a28eae72e
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2023-03-23 15:27:45 +01:00
Juha Vuolle 80f9a83d90 Colorpalette HTTP REST client example
Replace the addressbook client example with a colorpalette client.
The corresponding addressbook server has been superseded by a
colorpalette server.

The client can interface the local QHttpServer colorpaletteserver
example as well as the publicly accessible reqres.in. Please note
that the reqres.in is stateless service, and eg. adding/updating colors
will have no actual effect.

Task-number: QTBUG-106041
Pick-to: 6.5
Change-Id: I4ea06bbcd9b32900a661f19e0abe0629275aaef1
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-02-14 11:57:19 +02:00
Jani Korteniemi 2eff5e4314 Add QtPurchasing module as an example under Qt demos
QtPurchasing module is deprecated in Qt6. However, the purchasing
code is moved as example/demo under qtdoc to demonstrate the use of
in-app purchases in Android/iOS.

The demo is under demos\hangman.

Few fixes done to the original code:
* Ported the code to Qt 6.
* Removed reinterpret_casts and QQmlListPropertys.
* Fixed few QML warnings.
* Added documentation
	* Fixed documentation
* Added CMake port
	* Fixed Cmake for iOS
* Modified Fonts in qml file
* project name changed from qthangmanpurchasing to hangman

Task-number: QTBUG-84776
Pick-to: 6.2
Change-Id: I86051b29d54cfb4a48b310ebc8d538c806fbf8da
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2021-11-10 13:46:03 +02:00
Doris Verria 3ffb914ae1 Remove qtxmlpatterns dependency from CMakeLists.txt and .pro files
Adjust .pro and CmakeLists.txt files of the demos according to the latest changes of the photoviewer and rssnews demos.

Fixes: QTBUG-87444
Change-Id: I4b8a33d6e92c69e5524ad1d26b61b7fdaa430e45
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-05 22:26:52 +01:00
Simon Hausmann fc581c2572 Fix static build of photoviewer without QtQuick Controls 1
Change-Id: If0c630b35da71d461a03cb5fe1593fda998f0765
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-08-08 14:13:19 +00:00
Venugopal Shivashankar 70ce5f4d3e Move demos to qtdoc repository
These demos use several modules and moving them allows to use for
example Qt Quick Controls 2 in them.

The shared directory should be removed and the examples made
self-contained.

Change-Id: I5dc667d22388651894d7d145b65752bc5c5cf6cf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-07-09 12:43:59 +00:00
Frederik Gladhorn 230db034cf Build demo examples directory
The directory will host more demos in the future so it is
wise to enable CI to build it and report issues, if any.

Change-Id: I97fbe8fc7589ec2c18e1dcb32c02a40332f9453b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2018-06-29 09:46:23 +00:00