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 to set path for running QT c++ program from command prompt.
Qt 6.11 is out! See what's new in the release blog

how to set path for running QT c++ program from command prompt.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 640 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    shashi prasads
    wrote on last edited by
    #1

    Hi

    i installed QT 5.10.1 and tried to run example.
    it is working fine.

    now trying to run simple a QT hello program from command
    prompt. it is not working.

    a QT c++ program is on desktop. i think need to set some path.

    please help me how to do this.

    Thanks
    shashi

    T JKSHJ 2 Replies Last reply
    0
    • S shashi prasads

      Hi

      i installed QT 5.10.1 and tried to run example.
      it is working fine.

      now trying to run simple a QT hello program from command
      prompt. it is not working.

      a QT c++ program is on desktop. i think need to set some path.

      please help me how to do this.

      Thanks
      shashi

      T Offline
      T Offline
      Tirupathi Korla
      wrote on last edited by
      #2

      @shashi-prasads Are you running compiled binary from command prompt??

      1 Reply Last reply
      1
      • S shashi prasads

        Hi

        i installed QT 5.10.1 and tried to run example.
        it is working fine.

        now trying to run simple a QT hello program from command
        prompt. it is not working.

        a QT c++ program is on desktop. i think need to set some path.

        please help me how to do this.

        Thanks
        shashi

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @shashi-prasads said in how to set path for running QT c++ program from command prompt.:

        now trying to run simple a QT hello program from command
        prompt. it is not working.

        a QT c++ program is on desktop. i think need to set some path.

        Hi @shashi-prasads, you should not set your PATH. Instead, you should deploy your application: http://doc.qt.io/qt-5/windows-deployment.html

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        4

        • Login

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