[Interest] Qml singleton fail to load

Jérôme Godbout jerome at bodycad.com
Tue Apr 12 22:47:38 CEST 2016

Thanks, for pointing this out. I can confirm it still there into Qt 5.5.1

On Tue, Apr 12, 2016 at 11:25 AM, Ben Lau <xbenlau at gmail.com> wrote:

> It is related to this bug: [QTBUG-49370] Use Singleton object from other
> Singleton object within the same package will hang
> <https://bugreports.qt.io/browse/QTBUG-49370>
> On 12 April 2016 at 23:14, Jérôme Godbout <jerome at bodycad.com> wrote:
>> I will answer my own question: It seem if the singleton is part of module
>> A it cannot import module A or plugin A. It create a silent error. just
>> move it to a new sub module, since I need the plugin part inside the
>> singleton. Wasn't obvious at first, sorry about the noise.
>> On Tue, Apr 12, 2016 at 11:11 AM, Jérôme Godbout <jerome at bodycad.com>
>> wrote:
>>> Hi,
>>> I encounter a problem with one of my singleton written into Qml. If I
>>> remove the *pragma Singleton* from the component and the *singleton* from
>>> qmldir I can use the component properly without any trouble.
>>> But if I put them back and try to launch the application the engine does
>>> not load anything and no error are output into the console whatsoever.
>>> Anybody have an idea on how to solve this or a signal/slot hook I could
>>> check to know why it refuse to load.
>>> Thanks,
>>> Jerome
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160412/989cb9de/attachment.html>

More information about the Interest mailing list