Friday, August 6, 2010

How to use directfb plug in Qt 4.6Suppose your application name is qt-apps.How you are running it? ./qt-apps -qws is nt it? Just like it you can run i

Suppose your application name is qt-apps.How you
are running it? ./qt-apps -qws is nt it? Just like it you can run it for
directfb as ./qt-apps -qws -display directfb . If it says that no directfb
plugins ...check your installation path of plugins .if libdirectfbscreen.so
present ther in your install directory in
plugins/gfxdriver/libdirectfbscreen.so ,It will invoke directfb .If it is
not there You should compile it in src/plugins/gfxdriver/directfb and
compile it and make install.
You can export it in your shell enviroment also.
Just go through this link
http://doc.trolltech.com/4.6/qt-embedded-running.html

just use -display directfb in command line to invoke directfb plugin driver
> and source code for this is
> qt-everywhere-opensource-src-4.6.0/src/plugins/gfxdrivers/directfb
>
> On Tue, May 4, 2010 at 1:04 AM, Krishnaveni Sistu (c)
> wrote:
>
> I have tried the following configuration option to build Qt4.6
>
> ../qt-$Qt_Ver/qt/configure -verbose -xplatform qws/linux-armv6wrs-g++
> -plugin-gfx-directfb
>
> -qt-kbd-brcm1107 -embedded arm -little-endian -no-largefile -no-phonon
> -no-phonon-backend
>
> -no-cups -no-mitshm -no-fontconfig -no-qvfb
>
>
>
> I have compiled moveblocks.c from the examples folder. When I executed it
> seems to be loading libqdirectfbscreen.so but not really using it. I have
> print statements in DirectFBScreenDriverPlugin. The prints from the
> constructor and the keys routine are getting printed but the print
> statements in create function are never getting printed. Looks like the
> create is not getting called at all.


This e-mail and any files transmitted with it are ShoreTel property, are
> confidential, and are intended solely for the use of the individual or
> entity to whom this e-mail is addressed. If you are not one of the named
> recipient(s) or otherwise have reason to believe that you have received this
> message in error, please notify the sender and delete this message
> immediately from your computer. Any other use, retention, dissemination,
> forwarding, printing, or copying of this e-mail is strictly prohibited
>

No comments:

Post a Comment