PDA

View Full Version : UIc'ing files



franco.amato
10th July 2009, 20:18
Hi to all'
I start using Qt (Qt 4.5.2). I use visual studio 2005 to compile, not mingw. I designed a little gui with
QtDesigner and it created a .ui file that I added to my project. Now what must I do? I have to add a custom build rule to that generated file right? Can I have an help for that?
I searched without success on internet.
Best Regards,
Franco

mcosta
12th July 2009, 10:04
Hi,

I don't know Visual Studio Integration but, as general rule, you must "use" your ui data in a widget.
There are many approach to do this, you can read about in http://doc.qtsoftware.com/4.5/designer-using-a-ui-file.html

I prefer the The Single Inheritance Approach because IMHO is the most flexible way.