Thread: -lqt not found?

  1. #1

    -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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Also add to the command line


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

  3. #3
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    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, 05:17 PM
  4. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM