Results 1 to 4 of 4

Thread: QT Problems

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    3

    QT Problems

    Newbie here and I am having problems building SEQ. I am getting what appears to be a linker error after SEQ compiles:

    /usr/bin/ld: cannot find -lqt-mt.

    After searching on the threads here it seems this is a result of not configuring QT with the -threads option. However, after re-configuring with -threads, doing a make clean and a make on QT I am still getting this error. Is there a way to confirm that QT has been built with this option? Any other possible reasons for this linker error?

    QT 2.3.2
    $QTDIR=/opt/qt-2.3.2, QTLIB et all set properly.
    gcc 3.0.1

    Thanks in advance for any thoughts.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    951
    are you sure you compiled with gcc-3.0.1? you actually have to physically change a file (/qt-2.3.2/configs/linux-g++-shared i think) and change all "gcc" to "gcc3" or "gcc-3.0.1" depending on distrib. also, g++ to g++3 or g++-3.0.1

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    3
    Thanks for the info. I am running Red Hat 7.1 as my distro. I ran a rpm -e for all gcc (2.96 I believe was the previous version) packages then installed the 3.0.1-1 versions. I can verify by running gcc --version and g++ --version that both report 3.0.1 so the gcc on the path is the correct version also. I have no problems building QT itself, and am able to run all of the QT samples without incident also. I will try to rebuild all again today and see if there are any changes but I think I am making some fundamental mistake and am unsure exactly where.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    5
    i am running mandrake 8.1 and i seem to be geting the same error altho i hace checked to make sure i have done everything right and i have...

    what's the deal?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On