PDA

View Full Version : Problems upgrading Qt3->Qt4, pkgconfig not happy



EricFowler
6th April 2008, 07:53
I recently upgraded from 3.8 to 4.3 (or 4.2, I forget). When I tried to build I got what amount to undefined symbols. Investigating, I discovered my qt_prefix was still set to the old directory which was causing QTDIR and some other stuff also to be set wrong.

Digging deeper, I found that usr/lib/pkgconfig/qt-mc.pc still has the old values.

Shouldn't that have changed? I could very easily patch that file, but I have a feeling I am missing a step somewhere ...

Anyone know what I did wrong? :confused:

BTW When I did 'make install' I did it once w/out root privs, got an error, :o and su'd it the second time ... maybe that was it ...

Thanks loads trolls

Eric

wysota
6th April 2008, 09:28
Are you aware of the fact that Qt4 is not backwards compatible with Qt3?

EricFowler
6th April 2008, 22:21
Are you aware of the fact that Qt4 is not backwards compatible with Qt3?

Um, no.

Should I uninstall Qt3 then? And how?

Eric

wysota
6th April 2008, 23:07
No, you shouldn't uninstall Qt3. The point is your Qt3 apps need Qt3 to work. They won't build against Qt4 - you need to port them to Qt4 to make use of new features.