[Qt-interest] Newbie question about making .UI files into C files
Alessandro Portale
Alessandro.Portale at trolltech.com
Wed Feb 11 23:15:15 CET 2009
Hi,
I would suggest using Qt Creator and its Gui application wizard. You
will then have a minimal Qt Gui application with Ui Form
http://www.qtsoftware.com/developer/qt-creator
And that's not all. What the video where that friendly guy uses Qt
Creator to build a minimal Qt Gui application:
http://www.youtube.com/watch?v=pPp35CbVLKE&feature=PlayList&index=1
Alessandro.
Knapp wrote:
> On Wed, Feb 11, 2009 at 9:58 PM, Andreas Pakulat <apaku at gmx.de> wrote:
>> 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
>
> Yes C++, just forgot to type that.
>
> I have yet to find a simple explanation in assistant about this.
>
> So you make your gui with designer and it makes a ui file.
> You then make a .pro file and tell it to include the .ui file
> next call gmake??
>
> For the moment lets say you are not doing anything to mod the gui.
>
> Sorry about being a dunce but I am having a hard time moving to C++
> after python. It has been years since I wrote in C++.
> A very simple process that shows taking a design ui to a finished
> product without anything being added would be very helpful; including
> the resources file too.
>
> Thanks lots,
More information about the Qt-interest-old
mailing list