Solved Manually added qmake weird version
-
Hi and welcome to devnet,
Since 5.8.0 is officially out, when you build the 5.8 branch you'll be building what might become 5.8.1.
Did you also add the cross-compiler to Qt Creator known compilers ?
-
Hi, thanks!
Yes, as per the tutorial. Though i'm new to Qt and the tutorial is a bit outdated so i'm not sure if i missed anything.
Qt-version: http://pasteboard.co/3repkRR1P.png
Compilers: http://pasteboard.co/3resw3SUL.pngThanks
-
Your RPi gcc looks misconfigured on the ABI part.
-
I have fiddled around with the ABI with no success. I'm not sure what it should be set to.
Just to try, i have now installed the exact version that the tutorial wants you to.
the thing is that version says 5.6.3, even though to my knowledge it should be 5.6.2.
So i got the same error there.Compilers: http://pasteboard.co/yBF2QZTSa.png
Qt versions: http://pasteboard.co/yBF2QZTSa.png -
It should rather be something like
arm linux gnu eabihf
or similar. -
That does not seem possible.
For the 4th option the options available is: elf, mach_o, pe, qml_rt and unknown.I have another problem as well, it doesn't find the qt quick module. I have read that i need to install qtxmlpatterns and qtdeclarative and i have, i think, but it wont work, does not seem to link the libraries. I just tried it because i want to develop with qt quick control 2. And i an able to compile via the terminal when it comes to widgets but not qt quick.
-
@Fifkie elf should be fine.
Are you sure 64bit is going to work? -
@jsulm Good!
The Raspberry Pi 3, that im building for, is 64bit, but i have tried to change it to 32bit with no change to the error in the qt version tab. -
@Fifkie As far as I know its CPU supports 64bit, but the system is still 32bit, right?
-
@jsulm You are right that it should be 32bit, but I still get the "no compiler can produce code for this Qt version"-error.
-
@Fifkie Is it the exact same compiler which you used to build Qt?
Did you select the correct Qt version in the Kit? -
@jsulm i found that the compiler the tutorial said to use and the one qmake points at wasn't the same. when i changed it to the same as qmake the qt version error goes away, but i still can't compile.
I get " /home/christian/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so.52:-1: error: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' "
-
-
@jsulm Thanks! i'll continue there!