LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2003, 01:30 AM   #1
digitized_funk
Member
 
Registered: Sep 2002
Location: Australia
Distribution: Suse 8.0
Posts: 50

Rep: Reputation: 15
QT Hello world linker problem


G'day all,

I'm just trying to start QT programming and tried to qmake the hello world code as per the tutorial instructions.

I googled this error it but all references seemed to be to something called pango conflicting with FreeType. I've updated FreeType & Freetype2. I'm assuming it's probably something to do with the library path, would that be right?

I get the following linker error:

g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/lib/qt3/include -o hello.o hello.cpp
g++ -o HelloQT hello.o -L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
/usr/lib/qt3/lib/libqt.so: undefined reference to `FT_Seek_Stream'
/usr/lib/qt3/lib/libqt.so: undefined reference to `FT_Get_Short'
/usr/lib/qt3/lib/libqt.so: undefined reference to `FT_Forget_Frame'
/usr/lib/qt3/lib/libqt.so: undefined reference to `FT_Access_Frame'
/usr/lib/qt3/lib/libqt.so: undefined reference to `FT_Get_Long'
collect2: ld returned 1 exit status
make: *** [HelloQT] Error 1
make: Target `first' not remade because of errors.

Any help is appreciated

Rich.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linker problem bahadur Programming 4 11-26-2005 06:43 AM
compile/linker problem with simple libipq code TheLinuxDuck Programming 7 05-06-2005 01:28 PM
LD linker code offset problem inuyaga Programming 0 09-25-2004 12:26 PM
openGL ,python and .bin linker problem in mdk9.1 ngan_yine Mandriva 0 12-14-2003 11:37 PM
Linker problem -lX11 Flibble Linux - Software 1 06-16-2003 01:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration