Cannot Build Qt5 on my udoo quad

Discussion in 'Linux Ubuntu' started by Tannyveer, Apr 9, 2014.

  1. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    When i configure Qt5 on my udoo boatd it gives the following erros :
    Code:
    Determining architecture... ()
    g++ -c -pipe -g -Wall -W -fPIE  -I../../mkspecs/linux-g++ -I. -o arch.o arch.cpp
    g++  -o arch arch.o    
    { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'arch' && test -f arch.gdb-index && objcopy --add-section '.gdb_index=arch.gdb-index' --set-section-flags '.gdb_index=readonly' 'arch' 'arch' && rm -f arch.gdb-index || true
        Found architecture in binary
    CFG_HOST_ARCH="arm"
    CFG_HOST_CPUFEATURES=""
    System architecture: 'unknown'
    Host architecture: 'arm'
    C++11 auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -std=c++0x -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o c++11.o c++11.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [c++11.o] Error 2
    C++11 disabled.
    floatmath auto-detection... ()
    make: Warning: File `../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/math.h' has modification time 1.3e+09 s in the future
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o floatmath.o floatmath.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [floatmath.o] Error 2
    floatmath disabled.
    sse2 auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -msse2 -g -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o sse2.o sse2.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [sse2.o] Error 2
    sse2 disabled.
    mtdev auto-detection... ()
    Project ERROR: mtdev development package not found
    make: *** No targets specified and no makefile found.  Stop.
    mtdev disabled.
    DB2 auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o db2.o db2.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [db2.o] Error 2
    DB2 disabled.
    InterBase auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o ibase.o ibase.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [ibase.o] Error 2
    InterBase disabled.
    MySQL (thread-safe) auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o mysql.o ../mysql/mysql.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [mysql.o] Error 2
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o mysql.o mysql.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [mysql.o] Error 2
    MySQL (thread-unsafe) disabled.
    OCI auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o oci.o oci.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [oci.o] Error 2
    OCI disabled.
    ODBC auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o odbc.o odbc.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [odbc.o] Error 2
    ODBC disabled.
    iODBC auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o iodbc.o iodbc.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [iodbc.o] Error 2
    iODBC disabled.
    PostgreSQL auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o psql.o psql.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [psql.o] Error 2
    PostgreSQL disabled.
    SQLite2 auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o sqlite2.o sqlite2.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [sqlite2.o] Error 2
    SQLite2 disabled.
    TDS auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o tds.o tds.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [tds.o] Error 2
    TDS disabled.
    POSIX iconv auto-detection... ()
    make: Warning: File `../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/iconv.h' has modification time 1.3e+09 s in the future
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o iconv.o iconv.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [iconv.o] Error 2
    POSIX iconv disabled.
    SUN libiconv auto-detection... ()
    make: Warning: File `../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/iconv.h' has modification time 1.3e+09 s in the future
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o gnu-libiconv.o ../gnu-libiconv/gnu-libiconv.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [gnu-libiconv.o] Error 2
    SUN libiconv disabled.
    GNU libiconv auto-detection... ()
    make: Warning: File `../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/iconv.h' has modification time 1.3e+09 s in the future
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o gnu-libiconv.o gnu-libiconv.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [gnu-libiconv.o] Error 2
    GNU libiconv disabled.
    D-Bus auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o dbus.o dbus.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [dbus.o] Error 2
    D-Bus disabled.
    Glib auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o glib.o glib.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [glib.o] Error 2
    Glib disabled.
    ICU auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o icu.o icu.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [icu.o] Error 2
    ICU disabled.
    PulseAudio auto-detection... ()
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o pulseaudio.o pulseaudio.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [pulseaudio.o] Error 2
    PulseAudio disabled.
    OpenGL ES 2.x auto-detection... ()
    make: Warning: File `../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/GLES2/gl2.h' has modification time 1.4e+09 s in the future
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-imx6-g++ -I. -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include -I../../../../../UDOO_FS_ubuntu-1204_v4.0/usr/include/arm-linux-gnueabi -o opengles2.o opengles2.cpp
    /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: 1: /home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++: Syntax error: "(" unexpected
    make: *** [opengles2.o] Error 2
    OpenGL ES 2.x disabled.
    The OpenGL ES 2.0 functionality test failed!
     You might need to modify the include and library search paths by editing
     QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
     /home/ubuntu/Qt5_build/qt5/qtbase/mkspecs/devices/linux-imx6-g++.
    
     
  2. Nat

    Nat New Member

    Joined:
    Oct 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi Tannyveer,
    It seems me that you try to perform all Qt5 building steps on the target (udoo board). Correct me if I'm wrong.
    But in the tutorial, it is written: "We will perform the following Qt5 building steps below on the host machine (from 1 to 8 steps)."
    perhaps it was not clear that host machine means PC desktop or laptop.
    Can you give me "./configure" command with all options you use.
    Regards,
    Nat
     
  3. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    Thank U Nat, For given me much important information .Sorry I am not seeing this line on Qt5 tut

    Yep I did all the steps on udoo boars my configure command is
    ./configure -prefix /opt/qt5 -make libs -no-pch -no-opengl -device imx6 -device-option CROSS_COMPILE=/home/ubuntu/Qt5_build/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- -no-largefile -opengl es2 -qt-zlib -qt-libpng -qt-libjpeg -no-nis -no-cups -gui -make examples -sysroot /media/tanny -no-gcc-sysroot -opensource -confirm-license -qreal float -v

    Thank U Once again right now iam starting the steps on host machine
     
  4. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    Hi Nat
    I am running some of the qt3d examples on my udoo but after running udoo board is hangout. that is the problem I faced now,
    Another one is i want to develop my own qt application on my udoo board using qt creator please tell me the procedure to build my own application on my udoo board.
     
  5. Nat

    Nat New Member

    Joined:
    Oct 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi Tannyveer,
    It it is quite possible that some of the examples can hangout the board running (for me these examples - "positional_lighting", "robo_bounce", "tea_service"), and there could be different reasons for it (also Qt bugs). If you are interesting in it, you can run "export QT_DEBUG_PLUGINS=1" from your terminal emulator before running an example, to get a debug prompt.

    You can start to create on the host machine a simple app (project) from this link:
    http://qt-project.org/doc/qt-5/qtexampl ... rials.html
    After, you have to cross-compile the source of your project (always on the host machine):
    $ cd /path/to your project/directory
    $ /path/to qt5/qtbase/bin/qmake
    $ make
    Note : that you must have your sysroot present while cross-compilation (if you have had it under /media directory)
    If everything worked fine you can try it on your udoo board after have copied your project with project binary file.
     
  6. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    Hai Nat

    Thank U once again for tour nice posting which is very helpful to run my project, Now I run my first Qt widget program on udoo board but program leads to hangout the board i dont know why this be happend, i am unable to debug the code please tell me why its happend
    and I can write the simple Qt widget program when i touch the push button (even mouse also not working on the widget ) it display the Message on line edit.


    Awaiting your reply
     
  7. Nat

    Nat New Member

    Joined:
    Oct 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi Tannyveer,
    To have the permission to access the input devices under /dev/input/ you have to login as root. So do login: root password: ubuntu
    At least the mouse on your app running must work (I do hope). Make this test first.
     
  8. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    Hi NAT,
    Thank very much for your contribution on my work. Right now I am successfully compile the led's application on my udoo board. Both Mouse and touch panel are working on my Led's app. but one thing is still problem is there when i close the application the gui window is hanged out. I am not getridoff this problem occur still now. (I ran the led's app by taking the root permission )
     
  9. Nat

    Nat New Member

    Joined:
    Oct 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi Tannyveer,
    It is not clear to me what happens when you close your app...
    Can you get back to the terminal command prompt after closing the app?
    If you mean the problem like this one https://qt-project.org/forums/viewthread/41236
    It seems quite difficult to find simple solution for this Qt build configuration.
     
  10. Tannyveer

    Tannyveer New Member

    Joined:
    Feb 19, 2014
    Messages:
    33
    Likes Received:
    0
    Yep I facing the same problem Nat
     
  11. nicola

    nicola Member

    Joined:
    Apr 23, 2014
    Messages:
    45
    Likes Received:
    0
    This is the third thread with the same problem while closing qt programs. At the following link there are two possible workarounds:

    post8312.html#p8312

    I hope it can help until someone finds a real solution ;)
     

Share This Page