[Qt-interest] QT embedded linux framebuffer

Anil H dspinside at gmail.com
Thu Jun 4 15:26:15 CEST 2009


Hi,

I tried both
1. ./app -qws -display linuxfb:/dev/fb/0
2. export QWS_DISPLAY=linuxfb:/dev/fb/0
    ./app -qws

Both give out an error
QScreenLinuxFb::connect: Is a directory
Error opening framebuffer device /dev/fb/
linuxfb: driver cannot connect

Only symbolic link between /dev/fb/0 and /dev/fb0 works fine



On Wed, Jun 3, 2009 at 8:03 PM, Justin Noel <justin at ics.com> wrote:

> 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
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090604/0aaecddd/attachment.html 


More information about the Qt-interest-old mailing list