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. Qt 6.4.2 installed but no starting executable
QtWS25 Last Chance

Qt 6.4.2 installed but no starting executable

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 4 Posters 767 Views
  • 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.
  • B Offline
    B Offline
    bhargavah
    wrote on 13 Mar 2023, 11:44 last edited by
    #1

    Hi Team,

    Looks like I am destined to use QT even after many problems are there. :)

    Recently, I posted this here
    https://forum.qt.io/topic/143509/can-not-install-qt-6-4-2

    And when I could not get an answer to that, I started to install Qt from the sources. Exactly like this:

    https://doc.qt.io/qt-6/macos-building.html

    Strange that even after following all the steps, I do not see qt or qtcreator in the /usr/local/Qt-6.4.2/bin directory. These are the contents of /usr/local/Qt-6.4.2/bin:

    47f87a5d-756e-44b4-9d8b-0f994cecc3a4-image.png

    I am wondering how to even start qt now? :) I tried qt, qt-creator but to not avail.

    Thank a lot in advance.

    J 1 Reply Last reply 13 Mar 2023, 11:57
    0
    • B bhargavah
      13 Mar 2023, 11:44

      Hi Team,

      Looks like I am destined to use QT even after many problems are there. :)

      Recently, I posted this here
      https://forum.qt.io/topic/143509/can-not-install-qt-6-4-2

      And when I could not get an answer to that, I started to install Qt from the sources. Exactly like this:

      https://doc.qt.io/qt-6/macos-building.html

      Strange that even after following all the steps, I do not see qt or qtcreator in the /usr/local/Qt-6.4.2/bin directory. These are the contents of /usr/local/Qt-6.4.2/bin:

      47f87a5d-756e-44b4-9d8b-0f994cecc3a4-image.png

      I am wondering how to even start qt now? :) I tried qt, qt-creator but to not avail.

      Thank a lot in advance.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 13 Mar 2023, 11:57 last edited by
      #2

      @bhargavah said in Qt 6.4.2 installed but no starting executable:

      I started to install Qt from the sources

      Why do you want to build Qt from sources?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply 13 Mar 2023, 13:11
      0
      • J jsulm
        13 Mar 2023, 11:57

        @bhargavah said in Qt 6.4.2 installed but no starting executable:

        I started to install Qt from the sources

        Why do you want to build Qt from sources?

        B Offline
        B Offline
        bhargavah
        wrote on 13 Mar 2023, 13:11 last edited by
        #3

        @jsulm Hey. Because I could not install from online installer. Link to my original question is also pinned in the question.

        J J 2 Replies Last reply 13 Mar 2023, 13:14
        0
        • B bhargavah
          13 Mar 2023, 13:11

          @jsulm Hey. Because I could not install from online installer. Link to my original question is also pinned in the question.

          J Offline
          J Offline
          JonB
          wrote on 13 Mar 2023, 13:14 last edited by JonB
          #4

          @bhargavah
          I don't know about getting your original question to work, doubtless it's doable. Choosing to build Qt from source is a non-trivial exercise, you will probably end up with even more problems that way. Get the download working instead.

          B 1 Reply Last reply 13 Mar 2023, 15:18
          1
          • B bhargavah
            13 Mar 2023, 13:11

            @jsulm Hey. Because I could not install from online installer. Link to my original question is also pinned in the question.

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 13 Mar 2023, 14:31 last edited by jsulm
            #5

            @bhargavah In that other thread from you you got some suggestions (changing mirror): did you try them? Building Qt just because the installer can't download from the mirror is not the right solution (simply because building Qt is far from trivial).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            B 1 Reply Last reply 13 Mar 2023, 15:29
            1
            • J JonB
              13 Mar 2023, 13:14

              @bhargavah
              I don't know about getting your original question to work, doubtless it's doable. Choosing to build Qt from source is a non-trivial exercise, you will probably end up with even more problems that way. Get the download working instead.

              B Offline
              B Offline
              bhargavah
              wrote on 13 Mar 2023, 15:18 last edited by
              #6

              @JonB He He. I see. That is fine. Nevermind. I think we are close on the new issue. If you see the earlier screenshot, you would get that most of the things are there. In fact, I see that qt is already installed through this below screenshot.

              54eb2ad7-16d8-4dd8-b025-c7a78ab4e88f-image.png

              I just need to invoke qt somehow.

              J 1 Reply Last reply 13 Mar 2023, 15:25
              0
              • B bhargavah
                13 Mar 2023, 15:18

                @JonB He He. I see. That is fine. Nevermind. I think we are close on the new issue. If you see the earlier screenshot, you would get that most of the things are there. In fact, I see that qt is already installed through this below screenshot.

                54eb2ad7-16d8-4dd8-b025-c7a78ab4e88f-image.png

                I just need to invoke qt somehow.

                J Offline
                J Offline
                JoeCFD
                wrote on 13 Mar 2023, 15:25 last edited by JoeCFD
                #7

                @bhargavah I guess: add /usr/local/Qt-6.4.2/bin to $PATH at beginning of $PATH( in front of all other paths)
                /usr/local/Qt-6.4.2/bin is not in the PATH currently.

                /usr/local is not a great place. The default path of Qt installation is /opt

                B 1 Reply Last reply 13 Mar 2023, 15:53
                0
                • J jsulm
                  13 Mar 2023, 14:31

                  @bhargavah In that other thread from you you got some suggestions (changing mirror): did you try them? Building Qt just because the installer can't download from the mirror is not the right solution (simply because building Qt is far from trivial).

                  B Offline
                  B Offline
                  bhargavah
                  wrote on 13 Mar 2023, 15:29 last edited by
                  #8

                  @jsulm Hey. No. I haven't. Since I started working/compiling on through the sources. Please see my latest post and update. I think we are close.

                  1 Reply Last reply
                  0
                  • J JoeCFD
                    13 Mar 2023, 15:25

                    @bhargavah I guess: add /usr/local/Qt-6.4.2/bin to $PATH at beginning of $PATH( in front of all other paths)
                    /usr/local/Qt-6.4.2/bin is not in the PATH currently.

                    /usr/local is not a great place. The default path of Qt installation is /opt

                    B Offline
                    B Offline
                    bhargavah
                    wrote on 13 Mar 2023, 15:53 last edited by
                    #9

                    @JoeCFD Hey. Thanks for the comment. It is there in the path currently actually.

                    This is

                    echo $PATH
                    /usr/local/Qt-%VERSION%/bin:/usr/local/Qt-6.4.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

                    J 1 Reply Last reply 13 Mar 2023, 16:29
                    0
                    • B bhargavah
                      13 Mar 2023, 15:53

                      @JoeCFD Hey. Thanks for the comment. It is there in the path currently actually.

                      This is

                      echo $PATH
                      /usr/local/Qt-%VERSION%/bin:/usr/local/Qt-6.4.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

                      J Offline
                      J Offline
                      JoeCFD
                      wrote on 13 Mar 2023, 16:29 last edited by JoeCFD
                      #10

                      @bhargavah You can add it manually in Qt Creator.
                      go to Tools->Options->Kits->Qt-Versions and press Add button. Then select /usr/local/Qt-6.4.2/bin/qmake

                      2023-03-13-123306_1920x1080_scrot.png

                      switch to Kits tab and click Desktop(default) under Manual. Select Qt version and click Apply button and then OK button to close Options dialog. You are good to go.

                      2023-03-13-123315_1920x1080_scrot.png

                      B 1 Reply Last reply 14 Mar 2023, 04:12
                      0
                      • J JoeCFD
                        13 Mar 2023, 16:29

                        @bhargavah You can add it manually in Qt Creator.
                        go to Tools->Options->Kits->Qt-Versions and press Add button. Then select /usr/local/Qt-6.4.2/bin/qmake

                        2023-03-13-123306_1920x1080_scrot.png

                        switch to Kits tab and click Desktop(default) under Manual. Select Qt version and click Apply button and then OK button to close Options dialog. You are good to go.

                        2023-03-13-123315_1920x1080_scrot.png

                        B Offline
                        B Offline
                        bhargavah
                        wrote on 14 Mar 2023, 04:12 last edited by
                        #11

                        @JoeCFD How to even open Qt-creator? What command should I do?

                        J 1 Reply Last reply 14 Mar 2023, 05:14
                        0
                        • B bhargavah
                          14 Mar 2023, 04:12

                          @JoeCFD How to even open Qt-creator? What command should I do?

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 14 Mar 2023, 05:14 last edited by
                          #12

                          @bhargavah said in Qt 6.4.2 installed but no starting executable:

                          How to even open Qt-creator? What command should I do?

                          Well, did you build QtCreator? Since you desided to build Qt by yourself instead of simply using the installer you will either need to build QtCreator or download and install pre-built version...

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0

                          10/12

                          13 Mar 2023, 16:29

                          • Login

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