Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How do I double click to run QT program on Ubuntu16.10?
Forum Updated to NodeBB v4.3 + New Features

How do I double click to run QT program on Ubuntu16.10?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ALLINXXXA Offline
    ALLINXXXA Offline
    ALLINXXX
    wrote on last edited by
    #1

    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!

    jsulmJ 1 Reply Last reply
    0
    • ALLINXXXA ALLINXXX

      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!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      ALLINXXXA 1 Reply Last reply
      2
      • jsulmJ jsulm

        @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

        ALLINXXXA Offline
        ALLINXXXA Offline
        ALLINXXX
        wrote on last edited by
        #3

        @jsulm Thanks man!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved