<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Atmel SAMA5D4 Xplained Ultra Road Test -- Building a QT application</title><link>/members-area/personalblogs/b/blog/posts/atmel-sama5d4-xplained-ultra-road-test----building-a-qt-application</link><description>In order to create an QT application to run on the Atmel SAMA5D4 Xplained Ultra board, I did the following: 1. From the Linux4SAM PokyBuild &amp;lt; Linux4SAM &amp;lt; TWiki page: a) bitbake meta-toolchain-qteb) sudo tmp/deploy/sdk/poky-eglibc-i686...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Atmel SAMA5D4 Xplained Ultra Road Test -- Building a QT application</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/atmel-sama5d4-xplained-ultra-road-test----building-a-qt-application</link><pubDate>Tue, 03 Sep 2019 08:03:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:078198f1-88bc-453c-a8c9-6d3cccb106c8</guid><dc:creator>sharonroyal</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;My sama5d4 xplained board is booting from Qt demo image developed from sources.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;I downloaded and installed the tool chain (poky-atmel-glibc-x86_64-&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://meta-toolchain-qt5-cortexa5hf-vfptoolchain-2.0.1.sh/" rel="nofollow ugc noopener" target="_blank"&gt;meta-toolchain-qt5-cortexa5hf-vfptoolchain-2.0.1.sh&lt;/a&gt;&lt;span&gt;).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Download the Qtcreator v.4.5.1 and set QT-SDK Environment variable with qtcreator.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Set the compiler path, qmake path and gone for the device test.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Atlast when I build a sample Qt project, following issue is displayed. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;:-1: error: c: Command not found &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;The compile output is 05:02:22: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Running steps for project test2... 05:02:22: Starting: &amp;quot;/usr/bin/make&amp;quot; clean rm -f moc_predefs.h rm -f moc_mainwindow.cpp rm -f ui_mainwindow.h rm -f main.o mainwindow.o moc_mainwindow.o rm -f *~ core *.core 05:02:22: The process &amp;quot;/usr/bin/make&amp;quot; exited normally. 05:02:22: Configuration unchanged, skipping qmake step. 05:02:22: Starting: &amp;quot;/usr/bin/make&amp;quot; /opt/poky-atmel/2.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/uic ../test2/mainwindow.ui -o ui_mainwindow.h c -pipe --sysroot=/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi -std=c++11 -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../test2 -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtPrintSupport -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtWidgets -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtGui -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o main.o ../test2/main.cpp Makefile:517: recipe for target &amp;#39;main.o&amp;#39; failed c -pipe --sysroot=/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi -std=c++11 -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../test2 -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtPrintSupport -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtWidgets -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtGui -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o mainwindow.o ../test2/mainwindow.cpp make: c: Command not found make: [main.o] Error 127 (ignored) make: c: Command not found make: [mainwindow.o] Error 127 (ignored) make: pipe: Command not found Makefile:521: recipe for target &amp;#39;mainwindow.o&amp;#39; failed pipe --sysroot=/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi -std=c++11 -g -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h /opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib/qt5/mkspecs/features/data/dummy.cpp Makefile:493: recipe for target &amp;#39;moc_predefs.h&amp;#39; failed /opt/poky-atmel/2.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/moc -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -I/home/sharonmathew/QtCreator_Programs/test2 -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtPrintSupport -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtWidgets -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtGui -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtCore -I. ../test2/mainwindow.h -o moc_mainwindow.cpp make: [moc_predefs.h] Error 127 (ignored) Warning: Failed to resolve include &amp;quot;./moc_predefs.h&amp;quot; for moc file ../test2/mainwindow.h c -pipe --sysroot=/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi -std=c++11 -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../test2 -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtPrintSupport -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtWidgets -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtGui -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I. -I/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o moc_mainwindow.o moc_mainwindow.cpp Makefile:524: recipe for target &amp;#39;moc_mainwindow.o&amp;#39; failed sysroot=/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi -o test2 main.o mainwindow.o moc_mainwindow.o -L/opt/poky-atmel/2.5.1/sysroots/cortexa5hf-vfp-poky-linux-gnueabi/usr/lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lpthread make: c: Command not found make: [moc_mainwindow.o] Error 127 (ignored) /bin/sh: 1: -o: not found make: [test2] Error 127 (ignored) Makefile:192: recipe for target &amp;#39;test2&amp;#39; failed 05:02:22: The process &amp;quot;/usr/bin/make&amp;quot; exited normally. 05:02:22: Elapsed time: 00:00.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Help me please to solve this one.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20306&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Atmel SAMA5D4 Xplained Ultra Road Test -- Building a QT application</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/atmel-sama5d4-xplained-ultra-road-test----building-a-qt-application</link><pubDate>Wed, 24 Feb 2016 05:04:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:078198f1-88bc-453c-a8c9-6d3cccb106c8</guid><dc:creator>clem57</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;What is the display you used?&lt;/p&gt;&lt;p&gt;Clem&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20306&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>