Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT Source code cross compilation failed

QT Source code cross compilation failed

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 391 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    naveen_4006
    wrote on last edited by
    #1

    Hi Team,

    I am using Ubutntu16 and qt creator version 4.5.2 (qt-creator-opensource-linux-x86_64-4.5.2.run), My requirement is to cross compile source code for yocto (imx6ul).
    and run qt application in imx6ul development board.
    Below links used for install qt creator and configure - http://variwiki.com/index.php?title=Yocto_Qt_Creator&release=RELEASE_ROCKO_V1.1_DART-6UL , Yocto build system installation link - http://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_ROCKO_V1.1_DART-6UL, QT5 tool chain installation - http://variwiki.com/index.php?title=Yocto_Qt5_Toolchain_installation&release=RELEASE_ROCKO_V1.1_DART-6UL.

    After complete instillation while compilation below errors are observed :

    18:30:42: Running steps for project compiler_test...
    18:30:42: Configuration unchanged, skipping qmake step.
    18:30:42: Starting: "/usr/bin/make"
    c -pipe --sysroot=/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NO_QML_DEBUGGER -DQT_NETWORK_LIB -DQT_CORE_LIB -I../compiler_test -I. -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5 -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtQuick -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtGui -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtQml -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtNetwork -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtCore -I. -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o main.o ../compiler_test/main.cpp
    Makefile:594: recipe for target 'main.o' failed
    /opt/fslc-x11/2.4.3/sysroots/x86_64-fslcsdk-linux/usr/bin/qt5/rcc -name qml ../compiler_test/qml.qrc -o qrc_qml.cpp
    make: c: Command not found
    make: [main.o] Error 127 (ignored)
    c -pipe --sysroot=/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NO_QML_DEBUGGER -DQT_NETWORK_LIB -DQT_CORE_LIB -I../compiler_test -I. -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5 -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtQuick -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtGui -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtQml -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtNetwork -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/include/qt5/QtCore -I. -I/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o qrc_qml.o qrc_qml.cpp
    Makefile:597: recipe for target 'qrc_qml.o' failed
    sysroot=/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi -o compiler_test main.o qrc_qml.o -L/opt/fslc-x11/2.4.3/sysroots/armv7at2hf-neon-fslc-linux-gnueabi/usr/lib -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread
    Makefile:217: recipe for target 'compiler_test' failed
    make: c: Command not found
    make: [qrc_qml.o] Error 127 (ignored)
    /bin/sh: 1: -o: not found
    make: [compiler_test] Error 127 (ignored)
    18:30:42: The process "/usr/bin/make" exited normally.
    18:30:42: Elapsed time: 00:00.

    Please any one help on this issue.

    Regards
    Naveen.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved