-lqt not found?

This is a discussion on -lqt not found? within the Linux Programming forums, part of the Platform Specific Boards category; whenever i attempt to compile a qt application gcc says that -lqt cannot be found. I am using qt-3.0.4 as ...

  1. #1
    f0d
    Guest

    -lqt not found?

    whenever i attempt to compile a qt application gcc says that -lqt cannot be found. I am using qt-3.0.4 as distrobuted with slackware 8.1 for use with kde3.0.1. This works fine.

    Any ideas on why this would happen?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,497
    Also add to the command line

    -L/path/to/lib

    to tell the compiler where that library is actually installed on your machine

  3. #3
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    You should probably include -lqt-mt instead of -lqt which is the library for qt that includes threads.
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 10:17 AM
  3. Puzzled.
    By silhoutte75 in forum C Programming
    Replies: 13
    Last Post: 01-21-2008, 04:17 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21