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

QT cross compile on Olinixino-A20



  • Hello to all,

    I’m writing you because I have a few problem when I want to run a executable file (and .so file) created in QT.
    I generated them with Olinuxino-A20-4GB where I installed QT perfectly in another computer Olinuxino-A20.
    On terminal, when I want to execute this file (called ESAnuovo), I obtain this following error:
    libQt5Widget.so.5 not found
    libQt5Network.so.5 not found
    libQt5Gui.so.5 not found
    libQt5Gui.so.5 not found and so on....

    I replace these files until I obtain this error shown in the attached files, when I replaced the file libstdc++.so.6.
    when I want to execute this file on terminal, I have this error:

    “GLIBC_2.18 not found ”

    So would you like to help me to find a solution?



  • @Sasa1234 said in QT cross compile on Olinixino-A20:

    libQt5Widget.so.5 not found
    libQt5Network.so.5 not found
    libQt5Gui.so.5 not found
    libQt5Gui.so.5 not found and so on....

    These errors show that Qt libraries where not installed in the device (target) where you want to run your app.
    Since you built the app in another device (host) and then you said you replaced those files until another different error appeared, right?

    I replaced the file libstdc++.so.6.
    when I want to execute this file on terminal, I have this error:
    “GLIBC_2.18 not found ”

    Well, it seems that although your devices (host and target) could be the same hardware version, they don't have exactly the same OS version (and supporting libraries)



  • You should build dependent Qt libraries too, to run your exec. Didn't you installed build dependencies and builded Qt version to your board?


Log in to reply