C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2002, 05:28 PM   #1
f0d
Guest
 
Posts: n/a
-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?
  Reply With Quote
Old 05-31-2002, 11:16 PM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,640
Also add to the command line

-L/path/to/lib

to tell the compiler where that library is actually installed on your machine
Salem is offline   Reply With Quote
Old 06-03-2002, 10:17 AM   #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.
JasonLikesJava is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another syntax error caldeira C Programming 31 09-05-2008 01:01 AM
Quantum Random Bit Generator shawnt C++ Programming 62 06-18-2008 10:17 AM
Puzzled. silhoutte75 C Programming 13 01-21-2008 05:17 PM
Request for comments Prelude A Brief History of Cprogramming.com 15 01-02-2004 10:33 AM


All times are GMT -6. The time now is 09:57 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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