Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Compile Qt application on Raspberry Pi and Run that application on other ARM device. Will it work???



  • I am compiling One Qt application on Raspberry Pi and Run it on different ARM device like Microchip or TI board without compile again. will it work??? if both the side Qt version is same.


  • Moderators

    If the ARM architecture is the same (hard float versus soft float, ARMv7 vs. ARMv8 etc.) and you have all the dependencies installed then yes it should work.



  • @sierdzio i have an executable file which is compiled from different ARM, the file information of this file is : behavior-example: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib, for GNU/Linux 4.4.0, not stripped and i have compiled on my raspberry pi and generated one executable file , the information of this file is : Qt_Sample: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib, for GNU/Linux 3.2.0, BuildID[sha1]=8ff63fd1c305a4f644ef913de67e8418a3a157ac, not stripped how can i find thatfrom both side, which arm architecture is used??? because if i am running application which is compiled from other arm architecture on my raspberry pi, i am getting error like : ./behavior-example: symbol lookup error: ./behavior-example: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent........ please help


  • Lifetime Qt Champion

    Hi,

    Because you are building your application with a Qt For Embedded Linux version and try to start it with a standard build of Qt.


Log in to reply