[Qt-interest] Can't configure Qt-Embedded with DirectFB
Eduardo Luz
eduluz at gmail.com
Wed Oct 7 19:56:30 CEST 2009
Since I was cross-compiling, I've created a
"/mkspecs/qws/linux-i386-g++/QMake.conf" for my target architecture and I
should had pointed the DirectFB flags to my target libs, not to my host.
So, that fixed the problem :
QT_CFLAGS_DIRECTFB=-I/home/eduardo/toolchain/usr/include/directfb
-D_REENTRANT
QT_LIBS_DIRECTFB=-L/home/eduardo/toolchain/usr/lib -ldirectfb -lfusion
-ldirect -lpthread
Regards,
Eduardo Luz.
On Thu, Sep 17, 2009 at 2:30 PM, Eduardo Luz <eduluz at gmail.com> wrote:
> Hello all,
>
> I'm having a problem with DirecFB.
>
> I've downloaded the newest version of Qt-embedded (4.5.2) and tried out the
> following :
>
> "./configure -opensource -static -exceptions -no-qt3support -no-phonon
> -no-phonon-backend -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg
> -silent -xplatform qws/linux-i386-g++ -embedded x86 -little-endian
> -host-little-endian -qt-freetype -depths all -qt-gfx-linuxfb
> -plugin-gfx-directfb -qt-kbd-tty -qt-mouse-tslib -prefix
> /usr/local/Trolltech/QtEmbedded-4.5.2-directfb"
>
> And the configure stops, reporting this:
>
> "The DirectFB screen driver functionality test failed!
> You might need to modify the include and library search paths by editing
> QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB in
>
> /home/eduardo/temp/qt-embedded-linux-opensource-src-4.5.2/mkspecs/qws/linux-i386-g++."
>
> I have the DirectFB installed on my machine, and the dev packages also
> (libdirectfb-1.0-0 and libdirectfb-dev).
>
> So, I 've edited the qmake.conf in
> /home/eduardo/temp/qt-embedded-linux-opensource-src-4.5.2/mkspecs/qws/linux-i386-g++
> and add :
>
> QT_CFLAGS_DIRECTFB=-I/usr/include/directfb -D_REENTRANT
> QT_LIBS_DIRECTFB=-L/usr/lib -ldirectfb -lfusion -ldirect -lpthread
>
> But that didn't work.
>
> I donn't know what else I can do.
>
> Any help will be welcome.
>
> Regards,
> --
> Eduardo Luz
> Software Engineer
> eduardo at omnimed.com.br
> Omnimed Ltda.
>
--
Eduardo Luz
“The most beautiful thing we can experience is the mysterious. It is the
source of all true art and science. “
Albert Einstein
US (German-born) physicist (1879 - 1955)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091007/083fd43b/attachment.html
More information about the Qt-interest-old
mailing list