Commit Graph

6 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
Dilek Akcay 7d6639ff32 Update stocqt according to API changes
Pick-to: 6.8
Task-number: QTBUG-127048
Change-Id: I6bdeabd97f6509942eb50327d32bcbe3c6c1a5ee
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-07-16 10:05:08 +03:00
Dilek Akcay 95a83c116c Fix stocqt warnings
Fixes: QTBUG-126517
Fixes: QTBUG-126578
Pick-to: 6.8
Change-Id: Ibd497e9c9c0d82864f2388d6e8e6844ffb2bacbb
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2024-06-28 10:58:17 +03:00
Sakaria Pouke 19ad9d875b Update graphs qml import for stocQt
Fixes: QTBUG-122657
Pick-to: 6.7
Change-Id: Ib7bf1b15ae7e1bf4f65c83aef3399afd141c8a03
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-02-23 08:40:27 +02:00
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