Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am using OpenSuSE 10.2 64 bit OS. I have Qt-4.2.1 installed when first installing SuSE 10.2. Under root, I have installed Qt-4.3.3 from source to /usr/local/Trolltech/Qt-4.3.3. In an ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    96

    a simple question

    Hi,

    I am using OpenSuSE 10.2 64 bit OS. I have Qt-4.2.1 installed when first installing SuSE 10.2. Under root, I have installed Qt-4.3.3 from source to /usr/local/Trolltech/Qt-4.3.3. In an user account, when I typed: "qmake --version", it points to /usr/lib64 which is Qt-4.2.1. How can I change where qmake (or Qt) points to? In .bashrc, I added "export PATH=$PATH:/usr/local/Trolltech/Qt-4.3.3", but, it did not help.

    Do I need to unstalled Qt-4.2.1?

    Thanks!

    phsieh2005

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    11

    Check /etc/ld.so.conf

    This file points to your libraries. Add /usr/local/Trolltech/Qt-4.3.3 to the beginning of the file and run ldconfig (Order is important. Put the entry before /usr/lib64). Hope that helps. Or I think there is a LIB variable.

    export LIB=$LIB:/usr/local/Trolltech/Qt-4.3.3

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    96
    Thanks pworswick!

    phsieh2005

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...