How to make a qt5 app on Linux (Ubuntu) run when user double click?

446 Views Asked by At

I'm building a Qt5 app on Linux (Ubuntu). Everything work well but when user wants to run myapp, they have to run it from terminal. I saw there are some apps can run when double click. Please give me some hints or keywords? Thank you very much!

1

There are 1 best solutions below

0
aviit On

I found the root here. Add this flag to .pro: QMAKE_LFLAGS += -no-pie