[Qt-interest] from qt 4.4 to 4.5 designer plugins stop working

Friedemann Kleint Friedemann.Kleint at nokia.com
Fri May 8 10:20:33 CEST 2009


Hi Giacomo,

> Switching from qt 4.4 to qt 4.5(.1) my designer plugins stopped working
> and the designer says
> unable to set property 'propertyName'

Could you detail on this a bit more? Which platform is it? Does the plugin 
actually load - if not, you can check the "About plugins" dialog for an error 
message. Is that message caused by plugin code being executed?

> Is there something to know/something new when passing from qt 4.4 to 4.5
> in writing designer plugins?

Not that we know of .. yet ;-)

> Another question:
>
> In my
>
> class TaskMenuExtension: public QObject, public
> QDesignerTaskMenuExtension
>
> I would like to `add' my custom menu actions to those already existing,
> not substituting them.
>
> An example: a QComboBox has an Action 'Edit Items' as first entry on the
> designer right click menu.
>
> I would like to add MyAction at the top of that menu, preserving the
> 'Edit Items' one.
>
> How can I do this?

That should work out of the box. Check for example the TicTacToe example  
(examples/designer/taskmenuextension).
The task menu extension has been modified to insert items at the top
instead of replacing the built-in menu.

Regards,
Friedemann
-- 
Friedemann Kleint
Nokia, Qt Software

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090508/d190f40f/attachment.html 


More information about the Qt-interest-old mailing list