Re: [Interest] Qmldir singleton with different QmlEngine and thread

2015-05-11 Thread Jérôme Godbout
I have open a bug here: https://bugreports.qt.io/browse/QTBUG-46040 P.S.: Anybody see my emails on this list, never got any answers in 3-4 questions asked, just to make sure?! On Fri, May 8, 2015 at 10:45 AM, Jérôme Godbout wrote: > I was digging and realized we can register singleton url from

Re: [Interest] Qmldir singleton with different QmlEngine and thread

2015-05-08 Thread Jérôme Godbout
I was digging and realized we can register singleton url from C++ but sadly no way to have a callback with engine ptr either like C++ object :-( int qmlRegisterSingletonType(const QUrl &url, const char *uri, int versionMajor, int versionMinor, const char *qmlName) like the int qmlRegisterSinglet

[Interest] Qmldir singleton with different QmlEngine and thread

2015-05-08 Thread Jérôme Godbout
Hi, I'm looking for some information on the behavior of the qmldir singleton used by different QmlEngine and thread. Here's my current usage: - QmlEngine #1 - Main Qml script - Many component - usage Singleton A from custom Qml module AA with pragma SIngleton and