A collection of minimal QML examples.
This repository serves as a learning tool for myself and as easy-to-understand documentation for others.
QML5:
- QML5 Context Property - Exporting C++ data to QML
- Avoid this.
- QML5 Singleton Type - Exporting a C++ singleton to QML
- Prefer Singleton Instance instead of this.
- Prefer QML_SINGLETON instead of Singleton Instance.
- Prefer Singleton Instance instead of this.
- QML5 Singleton Instance - Exporting a C++ singleton to QML
- Prefer QML_SINGLETON.
- QML5 using the Flatpak portal dialog
QML6:
- QML6 QML_ELEMENT - Exporting C++ data to QML
- QML6 QML_SINGLETON - Exporting a C++ singleton to QML
- QML6 Pragma Singleton - QML-exclusive singleton
- QML6 Subdirectories - Handle QML modules over subdirectories
- QML6 using the Flatpak portal dialog
- QML6 using Conan (currently a non-functional prototype)
Planned:
- Add more information about OUTPUT_DIRECTORY in qml6-subdirectories
- Create qml6-defaultresource based on https://doc.qt.io/qt-6/qt-cmake-policies.html
- Update qml6-conan with Conan 2.0
- Create qml6-cmakeconan
- Create qml6-vcpkg
- Create qml6-portalscreencast