[Qt-embedded-interest] problems in configuring 'qvfb'

Avishek_Sharma Avishek_Sharma at satyam.com
Tue Mar 31 11:50:08 CEST 2009


Hi,
  Tthe output of 'ls -l /usr/lib/libXtst*'---
lrwxrwxrwx 1 root root    16 2008-07-23 16:46 /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0
-rwxr-xr-x 1 root root 20864 2007-09-25 01:24 /usr/lib/libXtst.so.6.1.0

Thank you.
regards,Avi


________________________________________
From: Markus Franke [Franke.M at sebakmt.com]

What's the output of the command below?

ls -l /usr/lib/libXtst*


Mit freundlichen Grüßen / Best regards
-------------------------------------------------------------------------------------------------------------------------------
Avishek_Sharma <Avishek_Sharma at satyam.com> schrieb am 31.03.2009 11:25:13:

> Hi ,
>   thanks for the code....but,It still shows the same error of not being
> able to find -lXtst.
>
> [root at localhost qvfb]# 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 -lQtOpenGL -
> L/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/X11R6/lib -lQtGui -L/usr/lib -
> lXtst -lpng -lSM -lICE -lXrender -lXrandr -lfreetype -lfontconfig -lXext
> -lX11 -lQtCore -lz -lm -lrt -ldl -lGLU -lGL -lpthread
>
> /usr/bin/ld: cannot find -lXtst
> collect2: ld returned 1 exit status
>
> Any changes that could help?
> Thank you.
>
> Best regards,
> Avi
> ________________________________________
> From: Markus Franke [Franke.M at sebakmt.com]
> Sent: Tuesday, March 31, 2009 2:43 PM
> To: Avishek_Sharma
> Cc: qt-embedded-interest at trolltech.com
> Subject: Antwort: RE: [Qt-embedded-interest] problems in configuring 'qvfb'
>
> Avishek_Sharma <Avishek_Sharma at satyam.com> schrieb am 31.03.2009 10:56:08:
>
> > Hi Markus,
> >     sorry,I didn't understand what you meant by 'add -L/usr/lib in front
> > of -lXtst'.....would you please explain it once more(like where to make
> > this change)
> > You had suggested an option of making 'qmake' aware of the path to
> > libXtst....could you give me the correct command for that
>
> 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 -lQtOpenGL -L/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/X11R6/lib -
> lQtGui -L/usr/lib -lXtst -lpng -lSM -lICE -lXrender -lXrandr -lfreetype -
> lfontconfig -lXext -lX11 -lQtCore -lz -lm -lrt -ldl -lGLU -lGL -lpthread
>
> 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.

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