[Qt-interest] Qt VS Addin: Howto generate code for ui file
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Tue Feb 2 17:08:35 CET 2010
> From what I can read from the docs it is not possible to add Qt
> classes
> and especially classes for dialogs or other kind of forms
> with the addin. This was all I asked originally. But without this
> functionality I have to consider the addin as useless for me.
> Especially since other older plugins, such as VsQtAddin
> (http://mm-werkstatt.informatik.uni-augsburg.de/Volker-Wiendl.html)
> provide this functionality. But if it is possible to add qt-classes
> using an assistent from the addin I would really like to know how.
You can.
>From the documentation:
"A convenient way to do this is to select Project|Add Class and then
select Qt4GuiClass from the Qt4Classes folder. This will create a .ui
file, a .h file, and a .cpp file for you."
You can also choose different base classes such as QObject, QDialog,
QWhatEver...
The documentation is a bit sparse, but afaik it came to life rather
recent, so I hope we can expect some improvements there.
Cheers, Ulf
More information about the Qt-interest-old
mailing list