[Qt-interest] tmake / uic issues
Sean Harmer
sean.harmer at maps-technology.com
Mon Jan 11 17:18:40 CET 2010
Hi,
On Monday 11 January 2010 16:06:52 j wrote:
> >> Hi,
> >>
> >> welcome to the list. Why are you using such an ancient version of Qt? I
>
> would
>
> >> seriously recommend you to upgrade to Qt 4.6.
> >>
> >> Sean
>
> I am using 4.6, I just got lost in de old docs apparently. but the problem
> remains the same, also if I generate the .pro file using the 4.6 qmake
> and then nmake.
Ah OK sorry I didn't spot the error line. A lot has changed between the docs
you were following for QT 2.x and now (Qt 4.6).
Typical process now is to create a .ui file in designer. Add this to the FORMS
variable in your .pro file. Then use the generated Ui::MyClass class in your
own code to create the GUI by calling setupUi( this ).
Then just re-run qmake and nmake to build.
See these docs for more details:
http://doc.trolltech.com/4.6/designer-manual.html
http://doc.trolltech.com/4.6/designer-using-a-ui-file.html
If you still have questions after reading that second link please feel free to
ask the list again for more help.
Good luck,
Sean
More information about the Qt-interest-old
mailing list