[Qt-interest] QT embedded linux framebuffer

Justin Noel justin at ics.com
Wed Jun 3 16:33:03 CEST 2009


Srdjan Todorovic wrote:
> Hi,
>
> On 03/06/2009, Anil H <dspinside at gmail.com> wrote:
>   
>> I changed the framebuffer path from "/dev/fb0"   to "dev/fb/0".
>> Then the examples worked fine.
>> Is there any runtime configurations parameters to change the framebuffer
>> device path instead of changing the source and rebuilding?
>>     
>
> You could configure udev (if your system is using it) to create the
> /dev/fb0 device node, or you could symlink /dev/fb/0 to /dev/fb0.
>
> I'm not sure if there's a Qt runtime option you could use - have you
> checked the API docs

You can pass parameters to the qt embedded display driver at runtime by
either setting the QWS_DISPLAY environment variable or using the
-display linuxfb:/dev/fb/0 argument to the app that runs with -qws.

http://doc.trolltech.com/4.5/qt-embedded-displaymanagement.html

--Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: justin.vcf
Type: text/x-vcard
Size: 233 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090603/3e0d1ba8/attachment.vcf 


More information about the Qt-interest-old mailing list