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. qtcreator command not found
Forum Updated to NodeBB v4.3 + New Features

qtcreator command not found

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 7.2k Views 2 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.
  • W Offline
    W Offline
    waschbaer
    wrote on 15 Dec 2017, 22:05 last edited by A Former User
    #1

    Hi,

    I am using macOS, type qtcreator in terminal, bash will tell me qtcreator command can not found.

    Try

    echo $PATH

    It shows:

    echo $PATH
    blablabla......../Users/yuminsun/Qt/5.8/clang_64/bin:..........blalabla

    Please help, I spend whole day on this problem.

    Thank you.

    Best,
    Yu

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 15 Dec 2017, 22:16 last edited by
      #2

      Hi
      and its not just called
      Creator.app ?

      Im 100% macOS ignorant but docs show something like that
      http://doc.qt.io/qtcreator/creator-cli.html

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 15 Dec 2017, 22:20 last edited by
        #3

        Hi and welcome to devnet,

        Because there's no qtcreator executable nor command. Much less in the Qt/5.8/clang_64/bin as Qt Creator is not part of the Qt Framework.

        If you want to start Qt Creator from the command line:

        ~/Qt/Qt\ Creator.app/Contents/MacOS/Qt\ Creator.

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

        W 1 Reply Last reply 15 Dec 2017, 22:25
        2
        • S SGaist
          15 Dec 2017, 22:20

          Hi and welcome to devnet,

          Because there's no qtcreator executable nor command. Much less in the Qt/5.8/clang_64/bin as Qt Creator is not part of the Qt Framework.

          If you want to start Qt Creator from the command line:

          ~/Qt/Qt\ Creator.app/Contents/MacOS/Qt\ Creator.

          W Offline
          W Offline
          waschbaer
          wrote on 15 Dec 2017, 22:25 last edited by
          #4

          @SGaist Meaning it is impossible to do something similar in Ubuntu: qtcreator CMakeLisets.txt? That is so disappointed.:(

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 15 Dec 2017, 22:26 last edited by
            #5

            No, meaning that the name is different, that's all. You can do exactly the same stuff.

            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
            2
            • M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 15 Dec 2017, 22:30 last edited by mrjj
              #6

              Hi
              I also thought it looked odd
              but then i realized it has spaces and all space are just escaped
              so basically it just says ( if "\ " was not needed)
              ~/Qt/Qt Creator.app/Contents/MacOS/Qt Creator

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 15 Dec 2017, 22:32 last edited by
                #7

                The spaces are present, hence my line with them escaped.

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

                M 1 Reply Last reply 15 Dec 2017, 22:35
                1
                • S SGaist
                  15 Dec 2017, 22:32

                  The spaces are present, hence my line with them escaped.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 15 Dec 2017, 22:35 last edited by
                  #8

                  @SGaist
                  Could he add "~/Qt/Qt Creator.app/Contents/MacOS/" to path as just to execute it ?

                  W 1 Reply Last reply 15 Dec 2017, 22:55
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 15 Dec 2017, 22:41 last edited by
                    #9

                    Yes he can.

                    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
                    • M mrjj
                      15 Dec 2017, 22:35

                      @SGaist
                      Could he add "~/Qt/Qt Creator.app/Contents/MacOS/" to path as just to execute it ?

                      W Offline
                      W Offline
                      waschbaer
                      wrote on 15 Dec 2017, 22:55 last edited by
                      #10

                      @mrjj What do you mean? After add this path i can just type qtcreator?

                      M 1 Reply Last reply 15 Dec 2017, 22:59
                      0
                      • W waschbaer
                        15 Dec 2017, 22:55

                        @mrjj What do you mean? After add this path i can just type qtcreator?

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 15 Dec 2017, 22:59 last edited by mrjj
                        #11

                        @waschbaer
                        Yes as it just an normal path as i understand it so
                        if added it should then be able to find "Qt creator"
                        It seems to be name that and not qtcreator.
                        It seems to have space in name :)
                        But go look in folder. should be obvious what name is.
                        and make sure to add path with spaces as it really has.

                        W 1 Reply Last reply 15 Dec 2017, 23:02
                        1
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 15 Dec 2017, 23:00 last edited by
                          #12

                          I insists: the spaces must be properly escaped.

                          The documentation is being updated on that aspect.

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

                          W 1 Reply Last reply 15 Dec 2017, 23:08
                          2
                          • M mrjj
                            15 Dec 2017, 22:59

                            @waschbaer
                            Yes as it just an normal path as i understand it so
                            if added it should then be able to find "Qt creator"
                            It seems to be name that and not qtcreator.
                            It seems to have space in name :)
                            But go look in folder. should be obvious what name is.
                            and make sure to add path with spaces as it really has.

                            W Offline
                            W Offline
                            waschbaer
                            wrote on 15 Dec 2017, 23:02 last edited by
                            #13

                            @mrjj Thank you ,it works. And thanks to @SGaist

                            1 Reply Last reply
                            1
                            • S SGaist
                              15 Dec 2017, 23:00

                              I insists: the spaces must be properly escaped.

                              The documentation is being updated on that aspect.

                              W Offline
                              W Offline
                              waschbaer
                              wrote on 15 Dec 2017, 23:08 last edited by waschbaer
                              #14

                              @SGaist This is what I do in the bash_profile

                              export PATH="/Users/yuminsun/Qt/Qt Creator.app/Contents/MacOS/:$PATH"

                              This works well, previously I write slash in the Path, and therefore it not works, a space bewteen Qt and Creator is enough.

                              1 Reply Last reply
                              0

                              7/14

                              15 Dec 2017, 22:32

                              • Login

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