Hi,

> Thank you so much for this quick workaround. It does, of course mean, that I 
> cannot use qmlplugindump in an automated process for generating .qmltypes 
> files. 
I was told that specifying the dependencies explicitly in the qmldir file 
(depends <ModuleIdentifier> <InitialVersion>) or with an argument for 
qmlplugindump circumvents the issue.
But I did not have time to test this, yet.

We are already working on making both qmlplugindump and the Qt Creator code 
model more robust.

Kind Regards,
Thomas Hartmann

________________________________________
From: Wolfgang Baron <[email protected]>
Sent: Thursday, December 17, 2015 11:09 AM
To: Hartmann Thomas
Cc: [email protected]
Subject: Aw: Re: Re: [Qt-creator] Qml Designer does not always show QQuickItem

Hi,

> Von: "Hartmann Thomas" <[email protected]>
> I changed the .metainfo file to just this:

Thank you so much for this quick workaround. It does, of course mean, that I 
cannot use qmlplugindump in an automated process for generating .qmltypes 
files. I will have to make my development process a bit more cumbersome. I have 
found two issues with .qmltypes files in my projects, which I had to manually 
change. I had to delete:

- components imported from the Qt library (QQuickItem)
- components imported from other plugins of mine

Is help on its way to fix the bug, so that qmlplugindump generates something 
Qt-Creator can use without modification? As far as I see, qmlplugindump would 
only have to avoid printing components, which are imported from other plugins.

Although changing qmlplugindump would avoid the bug to appear on screen, I 
would prefer to know, that Qt-Creator will be improved, so that multiple 
definitions of classes will either be merged or an error message produced, that 
makes it clear, that the metainfo for a given class can only exist in one 
place. And I beleive a race condition is always worth fixing.

Thank you again for your kind help!

Wolfgang Baron
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to