[Qt-creator] Unable to compile ui file

Alexandre Badez alexandre.badez at gmail.com
Wed Nov 5 19:01:55 CET 2008


I'm testing QtCreator on my mac (witch work really great, without any
problem) and on my linux mandriva (2007.1) (where I've got some
trouble).
On mandriva I've installed Qt4.1.4 (I can't upgrade for compatibility
reason with other people) not from an "official" package but from the
tar.gz

Here is the output in the "compile" window:

#####################################""
Starting: /usr/local/Trolltech/Qt-4.1.4/bin/qmake
/home/alex/dev/test/qtcreat/qtcreat.pro -spec linux-g++ -r
CONFIG+=debug_and_release -after
SOURCES*=/opt/qtcreator-0.9/bin/gdbmacros/gdbmacros.cpp -after
QT*=network
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
Exited with code 0.
Starting: /usr/bin/make debug -w
[....]
#####################################""

In my env I've got:
QTDIR=/usr/lib/qt3/
PATH=[...]:/usr/lib/qt3//bin:/usr/local/TrollTech/qt4/bin # qt4 is an alias

$ ls -l /usr/local/Trolltech/qt4
 /usr/local/Trolltech/qt4 -> Qt-4.1.4/

But in QtCreator I configure it to use qt installed in
/usr/local/Trolltech/qt4 (Tools -> Options -> Qt4 -> QtVersions).

My Project is just one from the wizard where I've written nothing in
c++, just edit the widget with the editor.
In the ui, file I've put some QLabel, QLineEdit, QTreeWidget,
QTreeWidgetItem, QCombo, QButton, QDockWidget.

I wonder if I had used some option not supported by Qt4.1...

Anyway, if you have any idea why there is a problem, please, let me know.

PS: If the problem is that I used an option not supported by my older
version of Qt, may I suggest that in the future QtCreator tell you
about this ? Maybe, the editor should even not enable some option...

-- 
Alex



More information about the Qt-creator-old mailing list