diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-01 13:10:00 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-03 08:20:52 +0100 |
commit | 34efbd202287b0fd0611b48938a1678edb2b2e45 (patch) | |
tree | 0e9b28fe393af34f870e9eea8b8de198e78f2432 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
parent | fa60900205a2f6ace81273a404cbcb93e04d211a (diff) | |
download | qtdeclarative-34efbd202287b0fd0611b48938a1678edb2b2e45.tar.gz |
doc: Add a section about singleton types in qt_add_qml_module
QT_QML_SINGLETON_TYPE was only documented on the qt_target_qml_sources
page. Add a short section about singletons to the qt_add_qml_module
page and reference the other page.
Adjust the example in qt_target_qml_sources to show case how to set
the singleton source property.
Pick-to: 6.2
Fixes: QTBUG-97541
Change-Id: I11aa3cb7c0feb748eba1d7ac9ef81a8ac6cb16b1
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions