[Qt-embedded-interest] problems in configuring 'qvfb'
Avishek_Sharma
Avishek_Sharma at satyam.com
Mon Mar 30 09:24:25 CEST 2009
Hi Donal,
Thanks for replying.I have some confusion and hope you'll clarify them.....I already have Qt/X11 4.4.3 installed in my system.The thing is,it was installed by someone long ago so,the original Qt/X11 package from which Qt was installed is missing.I downloaded a new package from the internet(same version, 4.4.3) and without uninstalling the existing Qt package ,I just extracted the new package,
cd to the tools/qvfb folder and then did 'qmake qvfb.pro' followed by 'make 'when it gives me the error message.
Do you mean that I should uninstall the existing Qt package and reinstall Qt again?
ALso,regarding your second suggestion,from which folder do I run the command---
sudo aptitude install libxtst-dev
I tried running it from /usr/local/Trolltech/Qt-4.4.3/bin(where Qt 4.4.3 is installed)as well as /usr/bin(which is shown in the error message) and /root/Desktop/qt-x11/bin(The package which I downloaded ),it keeps showing: sudo :aptitude:command not found.
Please advice on how to proceed.Thank you for your time.
regards,
Avi
________________________________________
From: qt-embedded-interest-bounces at trolltech.com [qt-embedded-interest-bounces at trolltech.com] On Behalf Of Donal O'Connor [donaloconnor at gmail.com]
Sent: Monday, March 30, 2009 12:32 PM
To: qt-embedded-interest at trolltech.com
Subject: Re: [Qt-embedded-interest] problems in configuring 'qvfb'
qvfb is a QT application so you will require QT to be installed. Run make clean and then qmake from QT X11's bin folder and then make.
If that doesn't work try:
sudo aptitude install libxtst-dev
On Mon, Mar 30, 2009 at 7:58 AM, Avishek_Sharma <Avishek_Sharma at satyam.com<mailto:Avishek_Sharma at satyam.com>> wrote:
Hi everyone,
I am trying to configure 'qvfb' for Qt/X11.I already have Qt/X11 4.4.3 installed in my system but, the original package for it(downloaded from the internet) has been misplaced.So,I downloaded a new package(same version) and am trying to configure qvfb from the 'tools' folder from the newly downloaded package.
I didn't uninstall the existing Qt package in my system.
I am getting the following error message--
[root at localhost qvfb]# make
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 -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
/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
make: *** [../../bin/qvfb] Error 1
Would be thankful if someone could give me an idea of what's wrong.Do,I have to reinstall Qt/X11 for configuring qvfb?The plan is to install Qt embedded and since it requires qvfb,so,I am trying to configure 'qvfb' as mentioned in the doc http://doc.trolltech.com/4.5/qvfb.html.
Thanks in advance for any suggestions/advice.
regards,
Avi
_______________________________________________
Qt-embedded-interest mailing list
Qt-embedded-interest at trolltech.com<mailto:Qt-embedded-interest at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
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