Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved]can't run Qt via terminal directly

[solved]can't run Qt via terminal directly

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.6k 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.
  • R Offline
    R Offline
    rocket42
    wrote on last edited by
    #1

    hello everyone
    My platform is ubuntu 12.04 LTS
    I already have installed Qt4.8.5 in default directory (/usr/local/Trolltech/Qt-4.8.6/bin)
    when I type "designer" in terminal. it showed error that:
    _The program 'designer' can be found in the following packages:

    • qt4-designer
    • qt3-designer_

    I rechecked PATH environment variable by typing "echo $PATH". Terminal showed that:
    /usr/local/Trolltech/Qt-4.8.6/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

    When I type fully as following:
    /usr/local/Trolltech/Qt-4.8.5/bin/designer
    then Qt's designer is lauched.
    I don't understand why it is such. please show me solution
    thank you very much

    hung.rocket42@gmail.com

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Theres's something not clear here, you are mixing 4.8.5 and 4.8.6. Are these typos ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rocket42
        wrote on last edited by
        #3

        OK
        thank you SGaist.
        I add path to $PATH incorrectly.
        it is usr/local/Trolltech/Qt-4.8.5/bin

        hung.rocket42@gmail.com

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          On a side note, 4.8.6 is out, you might want to update.

          Anyway, since you have everything working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rocket42
            wrote on last edited by
            #5

            ok
            thank you!

            hung.rocket42@gmail.com

            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