PDA

View Full Version : Problem with uic !!!!!



webquinty
10th July 2008, 13:54
Hello,

I have a problem with uic.
Normally I use uic to obtain cpp and h source code from .ui file.

uic -o form1.h form1.ui -> this execute correctly
uic -o form1.cpp -i form1.h form1.ui -> error

uic -v Qt User Interface Compiler version 4.4.0

what is the problema??? uic does not recognize this flag -i

best regards

Holy Cheater
10th July 2008, 14:36
And what for are you using the "-i" flag? Uic doesn't handle such option.
Also uic generates only 1 file, containing a setupUi function.

PS: I've also found this - http://lists.trolltech.com/qt-interest/2006-06/thread00384-0.html

wysota
10th July 2008, 18:05
Maybe you are using uic from Qt4 for developing a Qt2/Qt3 application? Things changed significantly between Qt3 and Qt4 and the way uic is used is among those changes.