Results 1 to 4 of 4

Thread: Problems upgrading Qt3->Qt4, pkgconfig not happy

  1. #1

    Default Problems upgrading Qt3->Qt4, pkgconfig not happy

    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?

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

    Thanks loads trolls

    Eric

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problems upgrading Qt3->Qt4, pkgconfig not happy

    Are you aware of the fact that Qt4 is not backwards compatible with Qt3?

  3. #3

    Default Re: Problems upgrading Qt3->Qt4, pkgconfig not happy

    Quote Originally Posted by wysota View Post
    Are you aware of the fact that Qt4 is not backwards compatible with Qt3?
    Um, no.

    Should I uninstall Qt3 then? And how?

    Eric

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problems upgrading Qt3->Qt4, pkgconfig not happy

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.