[Qt-interest] Newbie question about making .UI files into C files

Andreas Pakulat apaku at gmx.de
Wed Feb 11 21:58:47 CET 2009


On 11.02.09 21:49:59, Knapp wrote:
> Hello, I am totally new to using QT with C++. I have been working with
> pyQT and loving it but need to use the C form now.
> My question is how do you go from the .ui file to C code? All the
> tutors I have found don't seem to work. I think the problem being that
> they are for qt3 and not qt4.4, that I am using.
> I would be happy with just a good link that goes from a simple qt
> designer gui to a finished running program with a hand made slot of 2.

The process hasn't changed between Qt3 and Qt4, just how you use the
generated file. Its also all explained in the designer manual available
under http://doc.trolltech.com/4.4/. Basically you need your buildsystem
to run uic on the .ui file to generate the header.

Oh and its C++ thats generated, not C.

Andreas

-- 
You are number 6!  Who is number one?



More information about the Qt-interest-old mailing list