Results 1 to 2 of 2

Thread: Incorrect .ELF file generated

  1. #1
    Join Date
    May 2014
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Incorrect .ELF file generated

    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

  2. #2
    Join Date
    May 2014
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Incorrect .ELF file generated

    Quote Originally Posted by MadMike View Post
    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

Similar Threads

  1. How to combine the ui file generated by QtDesigner?
    By stereoMatching in forum Newbie
    Replies: 2
    Last Post: 30th January 2014, 17:14
  2. QMake Incorrect Makefile generated
    By Octal in forum Qt Tools
    Replies: 7
    Last Post: 19th March 2011, 16:05
  3. uic: file generated with too old version
    By dacrawler in forum Newbie
    Replies: 4
    Last Post: 22nd January 2011, 13:32
  4. Replies: 2
    Last Post: 28th May 2010, 16:26
  5. Problems with nmake: vc90.pdb header file incorrect
    By deville75 in forum Installation and Deployment
    Replies: 1
    Last Post: 28th July 2009, 23:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.