[Qt-embedded-interest] /dev/fb0

Chris Pane chris.pane at labxtechnologies.com
Sat Mar 21 21:20:03 CET 2009


Are you trying to use the linux virtual frame buffer or the Qt
virtual/simulator frame buffer?

I do most of my host side Qt Embedded development using the qvfb simulator,
which creates a Qt Virtual frame buffer w/ shared memory. So in that case,
your Qt program would use the shared memory region as a frame buffer and the
qvfb simulator program (qvfb is an example or tool Qt application in the
standard host side linux Qt tarball (Last I checked, it was not part of the
embedded kit)) displays the UI. You can even skin QVFB to look like your
device.

The linux virtual frame buffer is simply a mmaped region that sets itself up
and allows programs to write to it. You can verify whats written by dumping
/dev/fb0 but thats about it.

It hink you want to run the Qt framebuffer for development as that lets you
see you Qt UI and interact with it.

-Chris




If you want to run

On Sat, Mar 21, 2009 at 3:35 PM, Donal <donaloconnor at gmail.com> wrote:

> Are you sure you have permissions to open /dev/fb0
>
> You might not have read/write permission under your current user. Have you
> tried modifying permissions or switching to root user.
>
> Donal
>
> On Sat, Mar 21, 2009 at 6:58 PM, pushparaj muthu <
> muthu.pushparaj at gmail.com> wrote:
>
>>  Hi
>>
>>
>>
>> I have downloaded qt-embedded -Linux -open source-src -4.43 and compiled
>> the code
>>
>>
>>
>> When I try to run example program with –qws (virtual frame buffer is
>> working  )
>>
>>
>>
>> It gives error message QscreenLinuxFb: Connect; No such file or directory
>>
>>
>>
>> Error opening frame buffer device /dev/fbo
>>
>>
>>
>> But I have enabled frame buffer support in my desktop kernel (fedora 8)
>>
>>
>>
>> Please guide me in the right direction
>>
>>
>>
>>
>>
>> Regards
>>
>> Raj
>>
>> _______________________________________________
>> Qt-embedded-interest mailing list
>> Qt-embedded-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
>>
>>
>
> _______________________________________________
> Qt-embedded-interest mailing list
> Qt-embedded-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20090321/618d1a5a/attachment.html 


More information about the Qt-embedded-interest mailing list