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 <[email protected]> > 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 > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
