Results 1 to 10 of 10

Thread: Configuring Qt-Embedded with directFB

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: Configuring Qt-Embedded with directFB

    I do have the same problem here. I try to configure with directFB. The directfb I want to use is provided by the vendor of the system I want to use, and it works well.

    So here is the configure line I'm using :
    ./configure -embedded arm-gnueabi -qt-freetype -embedded arm-gnueabi -plugin-gfx-directfb -xplatform qws/linux-arm-gnueabi-g++

    The compiler I what to use is in the PATH and I precise the name of the binary in qmake.conf.

    Here is how I set QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB at the end of qws/linux-arm-gnueabi-g++/qmake.conf :


    QT_CFLAGS_DIRECTFB=-I/opt/SDK/inc/directfb -D_REENTRANT
    QT_LIBS_DIRECTFB=-L/opt/SDK/lib -ldirectfb -lfusion -ldirect -lpthread

    But I get this whatever I'm doing :

    Do you accept the terms of either license? yes

    Creating qmake. Please wait...
    make: Rien à faire pour « first ».
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    (many like theses)
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")

    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/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/mkspecs/qws/linux-arm-gnueabi-g++.

    Do I miss something ?

  2. #2
    Join Date
    Jun 2010
    Posts
    102
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    3

    Default Re: Configuring Qt-Embedded with directFB

    Quote Originally Posted by Agrou View Post
    I do have the same problem here. I try to configure with directFB. The directfb I want to use is provided by the vendor of the system I want to use, and it works well.

    So here is the configure line I'm using :
    ./configure -embedded arm-gnueabi -qt-freetype -embedded arm-gnueabi -plugin-gfx-directfb -xplatform qws/linux-arm-gnueabi-g++

    The compiler I what to use is in the PATH and I precise the name of the binary in qmake.conf.

    Here is how I set QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB at the end of qws/linux-arm-gnueabi-g++/qmake.conf :


    QT_CFLAGS_DIRECTFB=-I/opt/SDK/inc/directfb -D_REENTRANT
    QT_LIBS_DIRECTFB=-L/opt/SDK/lib -ldirectfb -lfusion -ldirect -lpthread

    But I get this whatever I'm doing :

    Do you accept the terms of either license? yes

    Creating qmake. Please wait...
    make: Rien à faire pour « first ».
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    (many like theses)
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
    /home/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")")

    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/devel-arm/libs/qt-everywhere-opensource-src-4.7.1/mkspecs/qws/linux-arm-gnueabi-g++.

    Do I miss something ?

    you must rebuild DirectFB by Cross Compile arm, you cant use package libdirectfb-1.0-0 and libdirectfb-dev on Ubuntu
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

  3. #3
    Join Date
    Jun 2010
    Posts
    102
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    3

    Default Re: Configuring Qt-Embedded with directFB

    hi all, the first, you must test by cd /tango3/qt_SMP8654F_bin_4.5.2-1.1/src/config.tests/qws/directfb and make file it, its is test of QT, if you test success, then you will builded, i was test, all thing good
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

  4. #4
    Join Date
    Jun 2010
    Posts
    102
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    3

    Default Re: Configuring Qt-Embedded with directFB

    Ex: Error:

    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmpacketcommand.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmdisc.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmdvdfs.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmdvdfsapi.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmdvdvideonav.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmdvdvideoapi.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmcdda.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)
    /home/sonnh/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld: warning: librmcddanavapi.so, needed by /tango3/dcchd_SMP8652_3_8_2_aqua.mips/dcchd/dcchd/libdcchd.so, not found (try using -rpath or -rpath-link)

    make: *** [directfb] Error 1
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

Similar Threads

  1. Problem with Qt embedded 4.4.0 static & directfb
    By anselmolsm in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 3rd February 2012, 10:20
  2. Qt Embedded
    By lixo1 in forum Newbie
    Replies: 4
    Last Post: 2nd March 2009, 17:24
  3. directfb plugin of qte.4.4.3 can not be loaded when running application
    By xianshuiren in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 15th February 2009, 05:54
  4. Qt Embedded + OpenGL problem
    By EeroS in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 7th October 2008, 14:32

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.