<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] Building Qt to develop for Embedded Linux Module]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I've used these forums a lot in the past, and they have helped me a lot when I was just starting out. But now I pose a problem.</p>
<p dir="auto">My problem is as follows:<br />
I am developing for an ARIA-G25 Embedded Linux module. It runs Emdebian 7.1 Wheezy with Linux kernel version 3.11.6.</p>
<p dir="auto">My development started out running Tiny Core in a virtual machine in Windows. Tiny Core was already setup with QtCreator, and everything I needed to compile apps and run them on the embedded linux module. But Now I would like to develop using Ubuntu, which is much easier for me.</p>
<p dir="auto">I am noob-new when it comes to compiling qt myself. How do I go about to setup Qt on Ubuntu in order to compile apps to run on my embedded linux module?</p>
]]></description><link>https://forum.qt.io/topic/35411/solved-building-qt-to-develop-for-embedded-linux-module</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 05:39:07 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/35411.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Dec 2013 22:32:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Tue, 17 Dec 2013 11:42:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi there SGaist,</p>
<p dir="auto">I finally got my Qt setup! So I figured if anyone else struggles like I did , they can just follow my steps:</p>
<p dir="auto">Note: I installed Qt Creator 3 and used the Qt Everywhere 4.8.5 sources.<br />
After unpacking the Qt Sources, edit the edit mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf file as follows:<br />
@</p>
<h1></h1>
<h1>qmake configuration for building with armel</h1>
<h1></h1>
<p dir="auto">MAKEFILE_GENERATOR      = UNIX<br />
TEMPLATE                = app<br />
CONFIG                  += qt warn_on release incremental link_prl<br />
QT                      += core gui<br />
QMAKE_INCREMENTAL_STYLE = sublib</p>
<p dir="auto">include(../../common/linux.conf)<br />
include(../../common/gcc-base-unix.conf)<br />
include(../../common/g++-unix.conf)<br />
include(../../common/qws.conf)</p>
<p dir="auto">CROSS_GNU_ARCH          = arm-linux-gnueabi<br />
warning("preparing QMake configuration for $$CROSS_GNU_ARCH")<br />
CONFIG += $$CROSS_GNU_ARCH</p>
<p dir="auto">QMAKE_CC                = $$CROSS_GNU_ARCH-gcc<br />
QMAKE_CXX               = $$CROSS_GNU_ARCH-g++<br />
QMAKE_LINK              = $$CROSS_GNU_ARCH-g++<br />
QMAKE_LINK_SHLIB        = $$CROSS_GNU_ARCH-g++<br />
QMAKE_LINK_C            = $$CROSS_GNU_ARCH-gcc<br />
QMAKE_LINK_C_SHLIB      = $$CROSS_GNU_ARCH-gcc</p>
<p dir="auto">QMAKE_AR                = $$CROSS_GNU_ARCH-ar cqs<br />
QMAKE_OBJCOPY           = $$CROSS_GNU_ARCH-objcopy<br />
QMAKE_STRIP             = $$CROSS_GNU_ARCH-strip</p>
<p dir="auto">load(qt_config)<br />
@</p>
<p dir="auto">Then run ./configure with the following tags (in the folder's main directory):</p>
<p dir="auto">@<br />
./configure -embedded arm-gnueabi -little-endian -prefix /usr/local/arm/qt/4.8.4 -no-qt3support -no-webkit -no-xmlpatterns -no-multimedia -no-audio-backend -no-openssl -no-javascript-jit -no-scripttools -no-opengl -nomake demos -nomake examples -declarative<br />
@</p>
<p dir="auto">This might take a while. After these steps run</p>
<p dir="auto">@<br />
sudo make<br />
sudo make install<br />
@</p>
<p dir="auto">I used sudo just to make sure the process doesn't fail due to permissions.</p>
<p dir="auto">Next, in Qt Creator, add a Compiler Kit. I left Device Type as Desktop. I set Compiler to /usr/bin/arm-linux-gnueabi-g++ (since this is the cross compiler I am using. And lastly, I set Qt Version to /usr/local/arm/qt/4.8.4/bin/qmake (the directory of my cross compiled qt).</p>
<p dir="auto">I had the problem of Qt not having any header files. So I added the following in the pro file.<br />
@<br />
INCLUDEPATH += /usr/local/arm/qt/4.8.4/include<br />
INCLUDEPATH += /usr/local/arm/qt/4.8.4/lib<br />
@</p>
<p dir="auto">And I copied all the files from /usr/local/arm/qt/4.8.4/lib to /lib. I dont know if the last steps were how it should be done. But it worked for me. And now I can code and compile on Ubuntu, and run the apps on my Embedded Linux Module.</p>
]]></description><link>https://forum.qt.io/post/207678</link><guid isPermaLink="true">https://forum.qt.io/post/207678</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 17 Dec 2013 11:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Fri, 13 Dec 2013 08:22:43 GMT]]></title><description><![CDATA[<p dir="auto">That's correct, the just install it and add this Qt version to Qt Creator and a Kit that uses it.</p>
<p dir="auto">The you will have to configure Qt Creator to connect to your board (you can copy the information from the version you where using in Tiny Core)</p>
]]></description><link>https://forum.qt.io/post/207266</link><guid isPermaLink="true">https://forum.qt.io/post/207266</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 13 Dec 2013 08:22:43 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Thu, 12 Dec 2013 23:11:39 GMT]]></title><description><![CDATA[<p dir="auto">The Qt version I was using on Tiny Core is 4.8.5. So, knwowing that and having already installed the cross compiler on Ubuntu (which I have already tested, since I rebuilt the kernel on ubuntu), what is the next step?</p>
<p dir="auto">I have only recently begun to piece together everything I learned about Qt. And from what I understand is that I have to build qt from the Qt Embedded sources.</p>
<p dir="auto"><a href="http://qt-project.org/doc/qt-4.8/qt-embedded-install.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qt-embedded-install.html</a></p>
<p dir="auto">I followed those steps. And at:</p>
<p dir="auto">@<br />
./configure -embedded [architecture]<br />
@</p>
<p dir="auto">I replaced [architecture] with arm.</p>
]]></description><link>https://forum.qt.io/post/207237</link><guid isPermaLink="true">https://forum.qt.io/post/207237</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 12 Dec 2013 23:11:39 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Thu, 12 Dec 2013 23:00:39 GMT]]></title><description><![CDATA[<p dir="auto">It all depends on the features you need, constraints you have, enterprise rules etc… Be it 4 or 5 doesn't matter from a compilation point of view, it's more about which one is already supported by the board's distribution/cross-compiliation environment</p>
<p dir="auto">Yes, exactly.</p>
]]></description><link>https://forum.qt.io/post/207233</link><guid isPermaLink="true">https://forum.qt.io/post/207233</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 12 Dec 2013 23:00:39 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Thu, 12 Dec 2013 22:53:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi SGaist,</p>
<p dir="auto">Well, the software I have to develop is console based. It only has to interface with the GPIO's, serial ports, LAN, etc. Does the Qt version really matter, since I want to build them on Ubuntu and run them on the board?</p>
<p dir="auto">And by cross-compiler, do you mean like arm-linux-gnueabi cross compiler I am using?</p>
<p dir="auto">Thanks for the reply!</p>
]]></description><link>https://forum.qt.io/post/207230</link><guid isPermaLink="true">https://forum.qt.io/post/207230</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 12 Dec 2013 22:53:28 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Building Qt to develop for Embedded Linux Module on Thu, 12 Dec 2013 22:46:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">It will depend on which version of Qt you want to use on your board. If you want to create a GUI program: do you have an X server running, only frame buffer, hardware acceleration etc…</p>
<p dir="auto">But basically, you will need a cross-compiler, that might already be provided by the ARIA-G25 manufacturer. You can ask them about their Tiny Core setup to replicate it on your Ubuntu.</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/207227</link><guid isPermaLink="true">https://forum.qt.io/post/207227</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 12 Dec 2013 22:46:05 GMT</pubDate></item></channel></rss>