Monday, October 23, 2017

Raspbian: /opt/qt/bin/qmake: cannot execute binary file: Exec format error

If you're cross-compiling Qt for Raspberry Pi (for instance following this guide), and once everything finished and seems Ok, you may encounter the following error while running qmake:
/opt/qt/bin/qmake: cannot execute binary file: Exec format error