[Qt-embedded-interest] problems in configuring 'qvfb'
Avishek_Sharma
Avishek_Sharma at satyam.com
Tue Mar 31 06:51:26 CEST 2009
Hi Markus,
Thank you for the reply....need some help in locating 'libXtst' library in my system.I am not familiar with Linux directory structure so,no clue as to which directory the 'libXtst' library is present in.I made a few attempts to find 'lxtst'/'libXtst ' but didn't get any results.
I tried using 'find / -name lX*' and 'locate lXtst' (which shows nothing) and 'locate libXtst'(which shows the files in the 'libXtst' folder I downloaded from the internet).
Also,need some clarification on the methods to solve the issue---
first, where do I find 'LD_LIBRARY_PATH' environment variable.I guess it will be in some file in /root...but,no idea where.
secondly,how do I make qmake aware of 'libXtst's location....do I have to do something like this---
qmake -L <PATH_TO_LXTST> -lXtst qvfb.pro.
I doubt I got it right.....please advice.A code snippet would be very helpful.
Thank you for your time.
regards,
Avi
________________________________________
From: Markus Franke [Franke.M at sebakmt.com]
Sent: Monday, March 30, 2009 6:29 PM
To: Avishek_Sharma
Cc: qt-embedded-interest at trolltech.com
Subject: Antwort: Re: [Qt-embedded-interest] problems in configuring 'qvfb'
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
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
More information about the Qt-embedded-interest
mailing list