Commit Graph

3 Commits

Author SHA1 Message Date
Dheerendra Purohit 7d1a2ae694 Use QML_ELEMENT macro instead of qmlRegister* for stocqt-example
Updated the stocqt example to use compile-time QML registration via the
QML_ELEMENT macro instead of qmlRegisterSingletonType. This brings the
example in line with modern Qt 6 best practices and improves startup
performance and tooling support.

Pick-to: 6.9 6.8
Task-number: QTBUG-136712
Change-Id: Ifd2dbbebb9a770faf85340bae9aec624ea06d5a9
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
2025-05-24 20:30:30 +05:30
Sakaria Pouke 75ed068b04 StocQt minor fixes
Fixes are based on comments in "Overhaul StocQt example" patch

Fixes: QTBUG-120471
Pick-to: 6.7 6.6
Change-Id: I5eae5aa4825f02066fae6430795c87f5ac633d42
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-01-16 11:31:54 +02: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