Kai,

I found that only sub class of QDelarativeItem can be added to the item library 
of Quick Designer. Is that by design? QML runtime plugin can register any 
QObject type, why shouldn't QuickDesigner? If I want to import QLabel to the 
designer, should I create a class which inherits both QDelarativeItem and 
QLabel?

Best regard,

John Chen

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Kai Koehne
Sent: Wednesday, July 21, 2010 1:51 PM
To: [email protected]
Subject: Re: [Qt-qml] Any one knows how to write a qmldesigner plugin?

On 7/20/2010 11:17 AM, ext Chen, Zhang Z wrote:
> Hi All,
> I'm trying to make a customized type to be "designable" with QML
> designer. I tried to write a plugin using fxplugin as a template. But as
> long as I use types instead of those in fx.metainfo, I can't have them
> displayed on QML designer. Anyone can give me a rough idea on what is
> the problem?

Hi,

we haven't really spend much time on enabling support for external C++ 
plugins in QuickDesigner, so consider this experimental for now (like 
the whole plugin). Anyhow, maybe it's a small issue easy to fix. Can you 
file a more detailed report (e.g. what does 'can't have them displayed' 
mean?) to bugreports.qt.nokia.com, ideally with some example code?

Thanks,

Kai


-- 
--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to