Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
6.7.2
Description
This is a request to add the possibility to load QML Singletons when the module is loaded.
For now, you will need to call the Singleton when the app is created for it to be loaded:
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
Component.onCompleted:
{ console.info("window is ready") // Load the singleton (unfortunately we cannot force it to load on import) if(SingletonTest); }}