PDA

View Full Version : Qt 4.4.1 installing probelm, why i get Qt 4.1.4 ?



lgrock
4th September 2008, 09:27
After compiling qt-x11-opensource-src-4.4.1(http://trolltech.com/developer/downloads/qt/x11) with default options under Red Hat EL4 (gcc version 3.4.3) , i get /usr/local/Trolltech/Qt-4.1.4 , not Qt4.4.1, why:confused: Im sure the system have not been installed any other version of QT before.

I canot use any classes introduced after Qt 4.2 ,because there are no relevant head files in the include directory.(eg. QFontComboBox ) But i can find those .h files in the source file i downloaded.

any ideas?

jacek
4th September 2008, 20:36
Are you sure you got the right file? Is there a "changes-4.4.1" file in the sources?

lgrock
5th September 2008, 07:46
Are you sure you got the right file? Is there a "changes-4.4.1" file in the sources?

yes, im sure . there is a changes-4.4.1 file in the source package, and the readme file says "This is Qt version 4.4.1.".

but after compiling:

qmake -v
QMake version: 2.00a
Using Qt version 4.1.4 in /usr/local/Trolltech/Qt-4.1.4/lib

rcc -version
Resource Compiler for Qt version 4.1.4

moc -v
Qt Meta Object Compiler version 59 (Qt 4.1.4)

jpn
5th September 2008, 14:31
Did you run 'make install'? Does '/usr/local/Trolltech/Qt-4.4.1/bin' exist? Do you have it in PATH? If not, refer to the installation instructions.

jacek
5th September 2008, 17:38
Do you still have the directory with Qt sources? If yes, then you should have a copy of qmake in bin subdirectory. Check what version it reports.

jacek
5th September 2008, 22:48
I've just made a fresh Qt 4.4.1 build and everything was OK. Maybe there was Qt 4.1.4 installed earlier after all?