[Interest] Qml singleton fail to load

Jérôme Godbout jerome at bodycad.com
Tue Apr 12 17:14:17 CEST 2016

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160412/0f18fcdc/attachment.html>

More information about the Interest mailing list