PDA

View Full Version : Incorrect .ELF file generated



MadMike
2nd December 2019, 10:42
A readelf of the ELF executable generated by Qt Creator shows the wrong type: "DYN (Shared object file)" - it should be "EXEC (Executable file)"
Any ideas on how to correct this?
UBUNTU 18.04
Qt Creator 4.10.1
Qt 5.13.1

Thanks - Mike

MadMike
4th November 2020, 10:52
A readelf of the ELF executable generated by Qt Creator shows the wrong type: "DYN (Shared object file)" - it should be "EXEC (Executable file)"
Any ideas on how to correct this?
UBUNTU 18.04
Qt Creator 4.10.1
Qt 5.13.1

Thanks - Mike

Just add "QMAKE_LFLAGS = -no-pie" to .pro file