Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

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

    General and Desktop
    3
    3
    371
    Loading More Posts
    • 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
      shashi prasads last edited by

      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 JKSH 2 Replies Last reply Reply Quote 0
      • T
        Tirupathi Korla @shashi prasads last edited by

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

        1 Reply Last reply Reply Quote 1
        • JKSH
          JKSH Moderators @shashi prasads last edited by

          @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 Reply Quote 4
          • First post
            Last post