[Qt-embedded-interest] Antwort: "error opening frame buffer device /dev/fb0"

Markus Franke Franke.M at sebakmt.com
Thu Mar 26 11:43:31 CET 2009


Avishek_Sharma <Avishek_Sharma at satyam.com> schrieb am 26.03.2009 08:02:46:

> Hi again,
>    am still stuck with the Qt embedded installation.I did try moving the 

> PATH handling to ~./bashrc but after that,when I opened a terminal 
> window,it shows up empty(even the 'root at localhost' didn't show)so,I 
> changed it back to it's original form and made the changes in .
> bash_profile.Rebooted the system and now 'which qmake 'shows the one 
> associated with Qt-embedded.

Strange behaviour but finally you got the correct path.

> I tried running the 'textedit' demo again and it didn't show any errors 
> when I ran 'make'.When I tried executing it './textedit -qws' ,I get a 
> continuous stream of this message---
> QScreenLinuxFb::connect:No such file or directory
> Error opening framebuffer device /dev/fb0

This is usually caused by improper settings of the permissions on 
"/dev/fb0".

> The 'analogclock' widget example is working fine  when i run 
./analogclock -qws'

That's strange.

> I went over the link 'http://doc.trolltech.com/4.5/qvfb.html'.There it's 
written
> "Ensure that you have all the necessary libraries needed to build the 
> tool, then compile and run the qvfb tool as a normal Qt for X11 
> application (i.e., do not compile it as a Qt for Embedded Linux 
application):
>  cd path/to/Qt/tools/qvfb
>  make
>  ./qvfb"

No. You don't need qvfb necessarily. QVFB from the Qt/X11 tools folder is 
only needed in case you want to have a virtual framebuffer on your host 
machine for testing. You don't need this on your target.

> Now,the thing is I can't find the "tools" folder for Qt /X11. Qt/X11 was 

> installed by someone else in my system(don't know who) and I can't find 
> the original Qt/X11 folder which was downloaded from the internet(which 
> contains "tools" folder)
> I guess ,unless I do the above mentioned step,I won't have qvfb working 
> properly.So,is there any other alternative(than reinstalling everything 
again).

If you want to use QVFB on your host you need to get a fresh Qt/X11 
tarball from qtsoftware.com and compile the QVFB from there.

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/20090326/683fcab7/attachment.html 


More information about the Qt-embedded-interest mailing list