[Qt-embedded-interest] Antwort: Re: problems in configuring 'qvfb'

Markus Franke Franke.M at sebakmt.com
Mon Mar 30 14:59:09 CEST 2009


qt-embedded-interest-bounces at trolltech.com schrieb am 30.03.2009 14:43:26:

> Preparing...                ########################################### 
[100%]
>         package libXtst-1.0.3-1.fc8 is already installed

This indicates that the library is already installed. The problem in your 
case is that qmake doesn't find it in the right path. You have several 
options to fix that:

1. copy the library in a directory which is contained in your 
LD_LIBRARY_PATH environment variable
2. make qmake aware of the path where libXtst is located
3. you can simply add "-L<PATH_TO_LXTST>" right in front of the "-lXtst" 
option of the linker call and then invoke this command manually, that 
means

---snip---
g++ -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.3/lib -o ../../bin/qvfb qvfb.o 
qvfbview.o qvfbratedlg.o main.o qanimationwriter.o qvfbprotocol.o 
qvfbshmem.o qvfbmmap.o qlock.o qwssignalhandler.o qvfbx11view.o 
x11keyfaker.o moc_qvfb.o moc_qvfbview.o moc_qvfbratedlg.o moc_gammaview.o 
moc_qvfbprotocol.o moc_qvfbshmem.o moc_qvfbmmap.o moc_qvfbx11view.o 
moc_x11keyfaker.o qrc_qvfb.o qrc_ClamshellPhone.o qrc_PDAPhone.o 
qrc_SmartPhone2.o qrc_SmartPhone.o qrc_SmartPhoneWithButtons.o 
qrc_TouchscreenPhone.o qrc_Trolltech-Keypad.o qrc_Trolltech-Touchscreen.o 
qrc_PortableMedia.o    -L/usr/X11R6/lib 
-L/usr/local/Trolltech/Qt-4.4.3/lib -L<PATH_TO_LXTST> -lXtst -lQtOpenGL 
-L/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/X11R6/lib -lQtGui -lpng -lSM 
-lICE -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz 
-lm -lrt -ldl -lGLU -lGL -lpthread
---snap---

Mit freundlichen Grüßen / Best regards

Markus Franke
Entwicklung/ Development

SebaKMT
Hagenuk KMT Kabelmesstechnik GmbH
Röderaue 41
01471 Radeburg / Germany
Reg.Gericht (01067 Dresden) HRB 12567
Geschäftsf.: Dr. Max Iann

Phone +49 (0)35208 84 29142
Fax      +49 (0)35208 84 29249

e-mail: franke.m at sebaKMT.com
web: http//www.sebaKMT.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20090330/858e71c4/attachment.html 


More information about the Qt-embedded-interest mailing list