Solved How do I double click to run QT program on Ubuntu16.10?
-
I can run the released version of "HelloWolrd" on terminal with "./HelloWorld".
But everytime when I double click it , the window can not pop up.And the type of the file is : shared library (application/x-sharedlib).
So How can I double click the program to run it directly?
Thanks! -
@ALLINXXX said in How do I double click to run QT program on Ubuntu16.10?:
And the type of the file is : shared library (application/x-sharedlib).
A shared library cannot be executed at its own. I guess HelloWorld is your executable and not a shared library, right? You need to deploy your application to be able to execute it outside of QtCreator. See http://doc.qt.io/qt-5/linux-deployment.html
-
@jsulm Thanks man!