Solved Manually added qmake weird version
-
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!