Compilation Error with Cross compiler colibri VF61

Hello, I want to configure QT Creator for Cross Compiling to execute GUI-Application. On my host machine I use Ubuntu 16.04 (64-Bit) as operation system. For the installation of the SDK I followed the given Links:

http://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux

after that i have created QT Widget Application then i got some error

12:21:47: Running steps for project New...
12:21:47: Configuration unchanged, skipping qmake step.
12:21:47: Starting: "/usr/bin/make" -j4
pipe --sysroot=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi -g -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h /usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/features/data/dummy.cpp
make: pipe: Command not found
Makefile:606: recipe for target 'moc_predefs.h' failed
/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/qt5/moc -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -I/home/ptcs/qt_work/New -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5 -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtWidgets -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtGui -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtCore -I. ../New/mainwindow.h -o moc_mainwindow.cpp
make: [moc_predefs.h] Error 127 (ignored)
Warning: Failed to resolve include "./moc_predefs.h" for moc file ../New/mainwindow.h
c -pipe --sysroot=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../New -I. -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5 -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtWidgets -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtGui -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/qt5/QtCore -I. -I/home/ptcs/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.7+gitAUTOINC+81b29a44d2-r0/recipe-sysroot/usr/include/libdrm -I. -I/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o moc_mainwindow.o moc_mainwindow.cpp
Makefile:637: recipe for target 'moc_mainwindow.o' failed
sysroot=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi -o New main.o mainwindow.o moc_mainwindow.o   -L/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread 
make: c: Command not found
make: [moc_mainwindow.o] Error 127 (ignored)
/bin/sh: 1: -o: not found
Makefile:231: recipe for target 'New' failed
make: [New] Error 127 (ignored)
12:21:47: The process "/usr/bin/make" exited normally.
12:21:47: Elapsed time: 00:00.

hi @bhupendra_PTCOSSYS

Welcome to the Toradex Community!

Could you provide the version of the hardware and software of your module? Which carrier board are you using?

Concerning your Issue:

  • What is your application?
  • How did you compile the SDK?
  • Which version of QT are you using?
  • Did you succeed to compile the Hello World example?

Best regards,
Jaski