Results 1 to 9 of 9

Thread: "Error opening framebuffer device"

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question "Error opening framebuffer device"

    Hi everyone,
    I am installing Qt-embedded 4.5(technical preview) on Linux fedora 8(which already has Qt/X11 installed in it).
    I followed the installation steps given in the docs(after unzipping the archive)----
    1. cd to/ where/ I had saved the extracted Qt emb. folder
    2. ./configure -qvfb
    3.gmake (as prompted in the terminal)
    4.gmake install( prompted in terminal)
    5.I couldn't find .profile anywhere in "/root" so,as per suggestions received,I copied the PATH=/usr/local/....... in .bash_profile removing the preexisting PATH in .bash_profile(meant for Qt/X11)
    6.Now,I am trying to run the 'textedit' example in the demos folder.It's not showing any error when I do "make" but when I try "./textedit -qws",
    I get a continuous flow of the following message---
    Qt Code:
    1. QScreenLinuxFb::connect:No such file or directory
    2. Error opening framebuffer device /dev/fb0
    To copy to clipboard, switch view to plain text mode 
    The 'analogclock' widget example is working fine.

    I checked http://doc.trolltech.com/4.5/qvfb.html and there it's written that I should do the following--
    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


    Problem is, I don't have the Qt/X11 folder downloaded from the internet(which contains the 'tools' folder).Qt/X11 was installed by some other guy(don't know who) long time back and now,I can't find the 'tools' folder which came along with Qt/X11 anywhere in my system.
    What do I do?Is there any alternative(I am not really looking forward to reinstalling everything)?I assumed that since I didn't do the above steps(compiling qvfb) so,I am getting the errors.
    Please advice.
    Thank you..
    Last edited by rishiraj; 25th March 2009 at 05:05.
    If everything seems to be going well, you have obviously overlooked something.

Similar Threads

  1. no transparent background when writing to second framebuffer
    By Michelle in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 19th December 2008, 17:47
  2. Linux Framebuffer Test Problem
    By jefflg in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 19th May 2007, 07:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.