summaryrefslogtreecommitdiff
path: root/examples/quickcontrols/chattutorial
Commit message (Collapse)AuthorAgeFilesLines
* Examples: Use versioned CMake targets for Qt modulesKai Köhne2023-05-026-23/+23
| | | | | | | | | | | | Use e.g. Qt6::Core instead of Qt::Core. This is better matching the find_package(Qt6 ...) call, and also avoids issues that the versionless targets have. Pick-to: 6.5 Task-number: QTBUG-113277 Change-Id: Ib80f885e9f73fb9ad54b9e9b22cae2318877dc07 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Doc: Fix documentation warningsTopi Reinio2023-03-201-11/+0
| | | | | | | | | | * Remove \generatelist example[files|images] commands, they do not produce any output, only warnings. * Add missing full stop to \brief descriptions. Pick-to: 6.5 Change-Id: I90c67b8c3f3bbe901fa083f781e9056da7763671 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Chat tutorial: Fix deprecation warningFriedemann Kleint2023-02-162-2/+2
| | | | | | | | | | | Adapt to qtbase/14f9f00fdb2dc428610c08e3d9d03e38e9602166, fixing: sqlcontactmodel.cpp:40:13: warning: void QSqlQueryModel::setQuery(const QSqlQuery&) is deprecated: QSqlQuery is not meant to be copied. Pass it by move instead. [-Wdeprecated-declarations] Pick-to: 6.5 6.4 6.2 Change-Id: I88d7f30247876f55b0114785efcf4ce580de0ab8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Fix configuration errors in quickcontrols chat tutorialJoerg Bornemann2023-02-141-2/+6
| | | | | | | | | Amends 32dac75fb47cc21626e9d8a3f9b07889cb3dad37. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I4fb2ca6d7ce29f6495c7f2bacaeb3596d1fd8e08 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Examples: Exclude tutorials from CMake Unity (Jumbo) buildsFriedemann Kleint2023-02-101-0/+2
| | | | | | | | | | | They don't build due to clashing static helper functions. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I57e407ce4ac3342ec0dbd52b5cf958f44a18e4ae Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
* qt_add_qml_module: Make usage of AUTO_RESOURCE_PREFIX a policyFabian Kosmale2023-02-0115-13/+15
| | | | | | | | | | | | | | | | Writing AUTO_RESOURCE_PREFIX in every qt_add_qml_module call seems rather pointless. In addition: - Add documentation for QTP0001. - Adjust some of the examples to use QTP0001 policy. - Improved the error message. Pick-to: 6.5 Task-number: QTBUG-96233 Change-Id: I6e19a491acba97493893bf1953fca3462296c1ea Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CMake: Allow omitting the version of QML modulesUlf Hermann2023-01-275-5/+0
| | | | | | | | | | | | | | | | | Also, drop all the VERSION 1.0 lines from the examples and tests. 1.0 is actually a bad default version since it's before all the Qt versions. [ChangeLog][QML] You can now omit the VERSION argument to qt_add_qml_module(). This will automatically generate the highest possible version. Pick-to: 6.5 Task-number: QTBUG-99146 Change-Id: Ic10ec69b87c224e0e94e1785f65653815d4c778c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
* Doc: remove "2" from Qt Quick Controls filesMitch Curtis2022-12-0130-30/+30
| | | | | | | | | | | | | Work on this was already started for the documentation in 1abdfe5d5a052f2298b7bf657513dfa7e0c66a56. The CMake target (docs_QuickControls2) probably can't be renamed until we rename the library, which won't happen until Qt 7. Task-number: QTBUG-95413 Change-Id: Ied20805a91286436606577c3de39671a447f27dd Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-01115-0/+2558
Qt Quick Controls 2 was named that way because it was a follow-up to Qt Quick Controls 1.x. Now that Qt Quick Controls 1 is no longer supported, we don't need to have "2" in the name. Work on this was already started for the documentation in 1abdfe5d5a052f2298b7bf657513dfa7e0c66a56. By doing this renaming a few weeks before feature freeze, it won't affect the release but still results in as little time possible spent manually fixing conflicts in cherry-picks from non-LTS releases as a result of the renaming. This patch does the following: - Renames directories. - Adapts CMakeLists.txt and other files to account for the new paths. A follow-up patch will handle documentation. It does not touch library names or other user-facing stuff, as that will have to be done in Qt 7. Task-number: QTBUG-95413 Change-Id: I170d8db19033ee71e495ff0c5c1a517a41ed7634 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>