Results 1 to 3 of 3

Thread: upgrading qt4 on a Fedora 8 system

  1. #1
    Join Date
    Jan 2008
    Posts
    107
    Thanks
    36
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default upgrading qt4 on a Fedora 8 system

    Hi guys

    Since Fedora 8 is EOL (and has been for a long time! ) I need to know how to upgrade QT4 on such a server...
    Yum is out of the question, of course...

    The first thing that came to was downloading the source (qt-everywhere-opensource-src-4.6.2) and compiling/installing it but I'm dealing with a x64 system so I'm a bit unsure about paths...

    (yes, I'm willing to overwrite the yum install with this...)

    One of my pre-requisites is Postgresql which I assume is this switch -qt-sql-psql during ./configure ..

    What I really care about here is paths...

    Could someone please assist me on a proper install?

    Best regards,
    Pedro Doria Meunier

  2. #2
    Join Date
    Jan 2008
    Posts
    107
    Thanks
    36
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: upgrading qt4 on a Fedora 8 system

    Ok... I've installed it..
    set the following envvars (for root -- is it enough?) :

    Qt Code:
    1. QTDIR=/usr/local/Trolltech/Qt-4.6.2
    2. QTINC=/usr/local/Trolltech/Qt-4.6.2/include
    3. QTLIB=/usr/local/Trolltech/Qt-4.6.2/lib
    To copy to clipboard, switch view to plain text mode 

    now each time I start the app (compiled against Qt 4.6.2) I get this:

    undefined symbol: _ZN16QCoreApplication21setApplicationVersionERK7QS tring

    Don't exactly where to start to solve this ...

    Any pointers highly appreciated!

    BR,
    Pedro Doria Meunier

  3. #3
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    511
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: upgrading qt4 on a Fedora 8 system

    Hi, check with ldd <yourProgram> if it really uses your Qt 4.6.
    If not, add the path for the Qt 4.6 *.so files to /etc/ld.so.conf (in a line before the location of the wrongly used Qt libs) and run /sbin/ldconfig as root to update library cache.

    Ginsengelf

Similar Threads

  1. upgrading Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 2
    Last Post: 8th August 2009, 17:18
  2. Upgrading from Qt3 to Qt4
    By Cutey in forum Installation and Deployment
    Replies: 7
    Last Post: 2nd July 2008, 13:01
  3. Upgrading installation
    By Djony in forum Installation and Deployment
    Replies: 2
    Last Post: 30th November 2006, 17:42
  4. upgrading from 4.1.4 to 4.2.0
    By mandal in forum Installation and Deployment
    Replies: 4
    Last Post: 6th November 2006, 15:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.