Skip to content

The goal of this repository is to show more complex example of awesome qt_add_qml_module() CMake function

Notifications You must be signed in to change notification settings

scytheStudio/qt_add_qml_module_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qt_add_qml_module() example multiple modules

qt_add_qml_module() example multiple modules

qt_add_qml_module() is an awesome CMake function introduced in Qt 6.2 that streamlines various aspects of organizing QML modules. However, we had a feeling that there are not many examples and demos out there that were showing more than just a very basic case.

Therefore we created a demo application that facilates this CMake blessing. Currently implemented cases:

  • Main module with files in subfolders
  • Three extra modules inspiring for better QML files structuring
  • Adding singleton QML types to the QML module
  • Adding JavaScript files to the QML module
  • Adding resources to the QML module
  • Adding dependencies to the QML module
  • Marking specific files in the module as private
  • Adding C++ registered QML type to QML module

Watch our Qt World Summit 2022 presentation on using qt_add_qml_module() function: PLACE_LINK_HERE See the blog post with the explanation: PLACE_LINK_HERE

Project was built against Qt 6.4


Scythe Studio


About Scythe Studio

We are a group of Qt and C++ enthusiasts whose goal is to address growing demand for cross-platform Qt development services. Thanks to our expertise in Qt Qml development, quality of deliveries and proven track of projects developed for companies from various industries we have been awarded the title of an official Qt Service Partner.

The company offers broad spectrum of services for the clients who wish to bring their ideas to life. We have extensive and practical knowledge about various Qt modules and other technologies allowing to create high quality product in a cost effective approach. If you want to see what Scythe Studio is is capable of and what services we provide, check out this link.

Follow us

Check out those links if you want to see Scythe Studio in action and follow the newest trends saying about Qt Qml development.

About

The goal of this repository is to show more complex example of awesome qt_add_qml_module() CMake function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published