error while deploying to remote device
Unsolved
General and Desktop
-
-
Yes exactly, you are right. As my application myqt5.12_test: ELF 64-bit LSB shared object, x84-64, version 1 (SYSV) this is not working. myqt4.8.7_test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV) this is working fine.
the configuration process auto select the x84-64 architecture with ELF 64-bit LSB. I had built the qt5.12.5 without specifying the device target because when I try to specify my target then it gets the error .
> collect2: error: ld returned 1 exit status > Makefile:68: recipe for target 'verifyspec' failed > make: *** [verifyspec] Error 1 Note: Also available for Linux: linux-clang linux-icc
Now I am trying newly build all these files for qt 5.13.0 with compiler 4.9
ijaz@ijaz-HP-ProDesk-400-G4-MT:~/qt_5_13_configure$ ~/qt_5_13_sources/qt-everywhere-src-5.13.0/configure -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=~/qt_5_13_root/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf- -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix /usr/local/qt_5_13 -extprefix ~/qt_5_13_root/analog -hostprefix ~/qt_5_13_root/qt5_13 -no-use-gold-linker -v -no-gbm
But this also returns above error
Makefile:68: recipe for target 'verifyspec' failed
How I can Build for my device "arm" ?
-
@Mijaz said in error while deploying to remote device:
I have built the qt5.12.5 without specifying the device target
That will not work. You have to cross compile Qt.
Please take a look at what @SGaist wrote in one of your other threads.