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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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

      waschbaerW 1 Reply Last reply
      2
      • SGaistS SGaist

        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.

        waschbaerW Offline
        waschbaerW Offline
        waschbaer
        wrote on 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
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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

              mrjjM 1 Reply Last reply
              1
              • SGaistS SGaist

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

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

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

                waschbaerW 1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 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
                  • mrjjM mrjj

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

                    waschbaerW Offline
                    waschbaerW Offline
                    waschbaer
                    wrote on last edited by
                    #10

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

                    mrjjM 1 Reply Last reply
                    0
                    • waschbaerW waschbaer

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

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 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.

                      waschbaerW 1 Reply Last reply
                      1
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 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

                        waschbaerW 1 Reply Last reply
                        2
                        • mrjjM mrjj

                          @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.

                          waschbaerW Offline
                          waschbaerW Offline
                          waschbaer
                          wrote on last edited by
                          #13

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

                          1 Reply Last reply
                          1
                          • SGaistS SGaist

                            I insists: the spaces must be properly escaped.

                            The documentation is being updated on that aspect.

                            waschbaerW Offline
                            waschbaerW Offline
                            waschbaer
                            wrote on 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

                            • Login

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