Qt Setup for Embedded Arm board (Orange Pi One)
-
I understand the toolchain part now, Im fairly sure I have the right files for that,
But when you say about the mkspecs folder in my installation, Is that the Qt installation on the host machine, embedded machine or something else? Wouldn't I need those mkspecs to obtain a Qt installation?
Apologies for the confusion
@andyowenwest Your host Qt installation (cross compiled Qt).
-
Im just finding it hard to understand the steps to get this working,
Looking at guides like this implys that embedded systems only support Qt 4
I assume building from source is what I need to do?
I cant seem to find any sort of 'getting started' guide
-
@andyowenwest Your host Qt installation (cross compiled Qt).
-
Is there any guide or instruction manual for this?
-
This wiki entry might be of interest.
-
Thanks,
I've read that article before but the problem is lines like this:
"Once you have the tarball, extract it somewhere convenient for your normal user e.g. $HOME/development/qt-4.7.2, say. Change into the Qt source directory and configure Qt for an embedded host build with something along the lines of:"
The problem here being "something along the lines of"
It doesn't help me understand what the options should be,
Thanks again,
Andy
-
Further to my previous post, the 'build your own toolchain' link sends you to an article that is under construction (here)
-
As another point, that post is also for Qt 4.x.x
I cant seem to find Qt Everywhere for 5.11 forum post
Apologies for all the replies but due to the time zone difference I'm trying to get as many thoughts as I have down as possible
-
Now there's only one package for all platform whether desktop, mobile or embedded. Everything is available in the same sources.
-
I don't understand what you mean, I thought the two options were
-
Qt online installer (Not useful as my embedded system requires compiling from source to enable cross compilation)
-
Qt everywhere (Source files allowing for compilation on any machine regardless of architecture)
So therefore when you're talking about compiling from source, mkspecs etc I assume that means use Qt everywhere? For which 5.11 can be found here.
Thanks for helping me so far, I appreciate I've been asking a lot. I guess Qt is far more geared toward corporate use with teams of people trained in Linux, compiling from source etc. Id like to be able to learn how to do that, but with the little documentation available (incomplete, out of date, written assuming significant prior knowledge) It becomes a minefield for someone just starting out.
Thanks,
Andy
-
-
I mean that in the Qt 4 times, there were separate packages for Desktop and Embedded use. With Qt 5, that's gone, there's only one source for all platforms whether they are Desktop, Mobile or Embedded. The link you posted is indeed where you can get the archive of the sources for the Qt 5.11.1 release.
The project is not particularly geared toward corporate use. You can see for example the yocto project which provides means to create base images for a variety of devices. The problem you are hitting is that there's currently a whole lot of boards that exists and not all constructors take the time to provide a nicely integrated SDK or at least instructions to get started with cross-compilation.
If the Orange Pi is a clone of the Raspberry Pi then you can likely follow the same instructions to get started. And as with most cross-compilation stuff, doing it from Linux is way easier than from Windows.
-
I understand that there are a lot of devices to cater for, but consdiering a lot are based on similar architecture ie. ARM v6, ARM v7, i386 etc I would have thought a generic guide for cross compilation would have been available with the information youve given me.
Anyway, in the next few days ill try compiling the Qt 5.11 source on both my desktop pc and the ARM board and see how far I get, Ill report back with any progress. If I do get this to work ill be sure to write up a how-to guide including the information youve given me for others in my position.
I have tried following guides for the raspberry pi but most seem to involve creating a custom image of raspbian which was not suitable for my board as the Allwinner H3 that the Orange Pi is based on is a mali 400 device whereas the raspberry pi has something completely different,
Thanks
Andy