[Qt-interest] QUiLoader and promoting widgets in QtDesigner
Friedemann Kleint
Friedemann.Kleint at nokia.com
Fri Aug 6 12:05:30 CEST 2010
Hi,
> is there any way to use promoted widgets in .ui-files loaded with
> QUiLoader? Or do I have to build a plugin for QtDesigner? The error
> message I get is: "QFormBuilder was unable to create a custom widget of
> the class 'x::y::ZView'; defaulting to base class 'QWidget'."
Promoted widgets are a placeholder for custom widgets for use in Qt Designer
only. When you actually load the form using QUiLoader, you have to provide
the plugin.
Regards,
Friedemann
--
Friedemann Kleint
Nokia, Qt Development Frameworks
More information about the Qt-interest-old
mailing list