PDA

View Full Version : uic: file generated with too old version



dacrawler
21st January 2011, 22:52
Hey there,

I used a windows pc to created a QT project. Now I want to use it on a unix system.

qmake -project runs just fine.
qmake doesnt - it says:
uic: File generated with too old version of QT Designer.
I'm using the latest version available for windows. 2.0.1 / 4.7.0

But the unix version is 2.0.1a, QT 4.2.1
What can I do?
And thanx in advance.

squidge
21st January 2011, 23:04
Firstly I'd update your unix version of Qt so it matches your Windows version. It'll make things easier for you.

dacrawler
22nd January 2011, 09:58
yeah - I do not have the option of updating the qt version on the unix system.

and why is it 2.0.1a on the unix system - isnt that more advanced than the windows one?

high_flyer
22nd January 2011, 11:24
I'm using the latest version available for windows. 2.0.1 / 4.7.0
This is not the latest version - the latest is 4.7.1.

and why is it 2.0.1a on the unix system - isnt that more advanced than the windows one?
I am not suer where you get the 2.0.1a version number from, but that is not the Qt version.
The Qt versions you posted are 4.7.0 on windows, and 4.2.1 on unix.
So 4.7.0 > 4.2.1.

squidge
22nd January 2011, 12:32
and why is it 2.0.1a on the unix system - isnt that more advanced than the windows one?I would doublecheck the version of your Windows QMake, as even in 2009, the version was 2.0.1A.

Load your ui file into the latest version of QTDesigner and then save them back out again. UIC should then be able to parse them.