1.Ubuntu18 install qt compiled program files of type application / x-sharedlib, not double-click to run directly. File type should be x-executable.
2. Solution
After you add the following content in the .pro file, delete the previously compiled files and re-compile, generate executable file.
QMAKE_LFLAGS += -no-pie