[Qt-creator] Custom widget in Qt Creator (Designer)
Jonathan Neuhaus
neoraptor123 at gmail.com
Fri Jun 5 11:02:45 CEST 2009
In this case, you need to create a custom widget that uses the widget in
order to have a plugin inserted in the designer.
Then, you simply have to drag and drop the custom widget on the form.
Check this link : http://doc.qtsoftware.com/4.5/qtdesigner.html
It explains how to create Qt Designer plugins. If you are using Qt Creator,
you will need to compile the plugin with msvc to make it works.
2009/6/5 Lorenzo Bettini <bettini at dsi.unifi.it>
> Jonathan Neuhaus wrote:
> > In your case, you just need to add LIBS +=
> > "path_to_your_dll/your_dll.dll" in your .pro and then use your widget.
> >
> > * Does anyone have an answer to my previous problem (compilation from a
> > custom widget on mac for Qt Creator)? It actually crashes and I can't
> > manage to find out why.
> > * Does someone knows which compiler was used to compile QtCreator?
> >
>
> so I need to have a library for my widget?
> I meant to use a widget defined in the same project: say I have defined
> a customized button MyButton.ui and I want to reuse it from designer to
> insert it in another form of my project.
>
> --
> Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
> ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
> HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
> http://www.myspace.com/supertrouperabba
> BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
> http://www.gnu.org/software/src-highlite
> http://www.gnu.org/software/gengetopt
> http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090605/9f290afd/attachment.html
More information about the Qt-creator-old
mailing list