I created a project that puts some QML in a plugin, and an app using Qt's QPluginLoader.
The app's QML can then use the plugin's QML, with one noticeable problem. From one of the plugin's QML files, I am not able to read a property of a singleton in another QML file. If you look in the file hello.qml, there is a Text item that tries to get his text from MySingleton, but that text does not show up. When I substitute a string literal (the commented out line), the text shows up just fine.
I've got the project here: https://github.com/rhvonlehe/qmlplugin
The project itself is very basic, but represents a lot of the same things going on in a larger project that I can't share but has the same problem.
Output as-is:
In the blue rectangle there should be the words, "singleton Text"
