I was using 17 tutorials on the subject and got nothing. I found the discussion to this official qt tutorial:
This entire process is utterly broken.. Bad links, code that wont compile, scripts that don't work.. did you even try any of it?????
Ive added changes to the wiki that have not been moderated yet..
If you provide a "how to" consider the following...
1) keep it updated or 2) step aside and let someone else do it..
Its the official QT wiki at least this one should be right...
... and ...
It looks like this page hasn't been properly updated in about two
years. Dead links all round etc. I'm currently trying to set up a
cross compiler so that I can compile an application on my PC and then
ssh it over to the Raspberry Pi. I'll try and get it working following
these steps and try editing the article where things don't seem to be
working. Jonnax (talk) 15:02, 12 June 2015 (UTC)
...and to top all of this:
Since the script here uses dead links that redirect to phishing sites.
Perhaps someone could fix and change the script? Jonnax (talk) 17:32,
12 June 2015 (UTC)
Could it be that hard to compile a piece of code for a cheap ARM? Aren't people paying fees starting at 500USD a month for the Qt toolkit to get something like that?
I got it working to cross-compile for android OS, windows OS, mac OS and different flavors of linux OS (Even arch linux from scratch) but I really stuck and hit the wall (17 times:) at this little piece of hardware.
So my question is: Would anyone kindly please write a working tutorial here that covers the topic? (The
stack-exchange for raspberry pi qt Tag is full of questions about this topic but no answers yet.)
When I got it working somehow I will write it myself and in addition host the virtual box images for free on my server to spare the struggle and keep the source updated.
Most tutorials are working with some broken links for older
ubuntu OS versions and broken links to older
raspian OS versions so I guess it would be most beneficial if the tutorial is created for the following (But It's totally up to you if even one would work):
Ubuntu 20.04 LTShttps://ubuntu.com/download/desktop
Raspberry Pi OS(previously called Raspbian)
Qt Qt Creator 4.12.2https://www.qt.io/download-open-source
Virtual Box 6.1https://www.virtualbox.org/wiki/Downloads
Please help - thanks upfront!
EDIT: I will try out some Docker Blog/Tutorial I just found and tell you if it did it.
What tutorials didn't work (or don't work anymore) and things I tried (To safe you about 3 Weeks of work):
Top comments (1)
I think all the 10+ tutorials had wrong compiler targeting newer arm instead of arm6 present on zero.