LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2009, 02:13 AM   #1
sandhyarani
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Rep: Reputation: 0
Question qt problem


i installed qt 4.5 in RHEL 5.1, even a simple "hello world" program while make giving below errror can any one help:


Running build steps for project qt4_1...
Starting: /usr/local/qtsdk-2009.02/qt/bin/qmake /home/sagar/qt_pgms/qt4_1/qt4_1/qt4_1.pro -spec linux-g++ -r CONFIG+=debug
Exited with code 0.
Starting: /usr/bin/make -w
make: Entering directory `/home/sagar/qt_pgms/qt4_1/qt4_1'
/usr/local/qtsdk-2009.02/qt/bin/uic mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. -I/usr/local/qtsdk-2009.02/qt/include/QtCore -I/usr/local/qtsdk-2009.02/qt/include/QtGui -I/usr/local/qtsdk-2009.02/qt/include -I. -I. -o main.o main.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. -I/usr/local/qtsdk-2009.02/qt/include/QtCore -I/usr/local/qtsdk-2009.02/qt/include/QtGui -I/usr/local/qtsdk-2009.02/qt/include -I. -I. -o mainwindow.o mainwindow.cpp
/usr/local/qtsdk-2009.02/qt/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. -I/usr/local/qtsdk-2009.02/qt/include/QtCore -I/usr/local/qtsdk-2009.02/qt/include/QtGui -I/usr/local/qtsdk-2009.02/qt/include -I. -I. mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/qtsdk-2009.02/qt/mkspecs/linux-g++ -I. -I/usr/local/qtsdk-2009.02/qt/include/QtCore -I/usr/local/qtsdk-2009.02/qt/include/QtGui -I/usr/local/qtsdk-2009.02/qt/include -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-rpath,/usr/local/qtsdk-2009.02/qt/lib -o qt4_1 main.o mainwindow.o moc_mainwindow.o -L/usr/local/qtsdk-2009.02/qt/lib -lQtGui -L/usr/local/qtsdk-2009.02/qt/lib -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/local/qtsdk-2009.02/qt/lib/libQtGui.so: undefined reference to `FcFreeTypeQueryFace'
make: Leaving directory `/home/sagar/qt_pgms/qt4_1/qt4_1'
collect2: ld returned 1 exit status
make: *** [qt4_1] Error 1
Exited with code 2.
Error while building project qt4_1
When executing build step 'Make'
 
Old 07-20-2009, 02:17 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
It seems a problem with the version of fontconfig. Take a look here:
http://theitdepartment.wordpress.com...typequeryface/
 
Old 07-22-2009, 04:16 AM   #3
sandhyarani
LQ Newbie
 
Registered: Apr 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thnks

thnks for ur advice, i could solve the issue now i am able to use qt creator
 
  


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
Solved Problem Second GCC-Pass(or gettext sanity check problem) hoes Linux From Scratch 0 09-04-2005 10:20 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
Not as much of a Solaris problem rether hardware Ultra 10 problem (video card) neo77777 Solaris / OpenSolaris 7 06-24-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 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