[Qt-embedded-interest] /dev/fb0

Donal donaloconnor at gmail.com
Sun Mar 22 18:54:50 CET 2009


Did you compile QT/Embedded with qvfb support on your development machine by
specifying it in the configure option:

eg: *./configure -prefix /usr/local/qte4 **-qvfb*

Like Chris said, qvfb doesn't come with QT Embedded, so you must compile
this from the QT X11 sources.
Then once this is compiled, have qvfb running before you launch your
applications.

Donal

On Sun, Mar 22, 2009 at 5:44 PM, pushparaj muthu
<muthu.pushparaj at gmail.com>wrote:

> Hi Chris
>
> Yes absolutely correct
>
> I want to run the Qt Frame buffer for development and have Qt UI interact
> with it.
>
> But I did not get understand why it throws error message
>
> QscreenLinuxFb: Connect; No such file or directory
> Error opening frame buffer device /dev/fbo
>
> How to solve this issue
>
> Regards
> Raj
>
>
>
> On 3/22/09, Chris Pane <chris.pane at labxtechnologies.com> wrote:
>>
>> 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
>>>
>>>
>>
>>
>>
>>
>> _______________________________________________
>> 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/20090322/a1c1eda3/attachment.html 


More information about the Qt-embedded-interest mailing list