Important: Please read the Qt Code of Conduct -

Error qmake on native build of QT5

  • Hey,
    I am trying to Build QT5 on my Raspi natively, as i don't have linux on my pc to cross compile.
    For that matter, I followed the guide from here.
    But when i try to run the configure, it shows me this error:

    collect2: error: ld returned 1 exit status
    Makefile:143: recipe for target '../bin/qmake' failed
    make: ***[../bin/qmake] Error 1

    Thanks in advance.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You should post the complete error log, with this there's no way to know what is happening.

  • Hey, so just a update: As I was trying to compile again to get the complete error message, another problem came up and I decided to reformat my SD-card and try again. Now it is compiling without problems so far, so the thread can be closed :)

  • Lifetime Qt Champion

    Glad your found out and thanks for sharing your findings !

    You can close it: click on the "Topic Tool" button from there you can mark the thread as solved

Log in to reply