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

Qt 6.4.2 installed but no starting executable

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 4 Posters 771 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 bhargavah

    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.

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on 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
    0
    • jsulmJ jsulm

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

      JonBJ jsulmJ 2 Replies Last reply
      0
      • B bhargavah

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

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on 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
        1
        • B bhargavah

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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
          1
          • JonBJ JonB

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

            JoeCFDJ 1 Reply Last reply
            0
            • B bhargavah

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

              JoeCFDJ Online
              JoeCFDJ Online
              JoeCFD
              wrote on 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
              0
              • jsulmJ jsulm

                @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 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
                • JoeCFDJ JoeCFD

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

                  JoeCFDJ 1 Reply Last reply
                  0
                  • B bhargavah

                    @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

                    JoeCFDJ Online
                    JoeCFDJ Online
                    JoeCFD
                    wrote on 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
                    0
                    • JoeCFDJ JoeCFD

                      @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 last edited by
                      #11

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

                      jsulmJ 1 Reply Last reply
                      0
                      • B bhargavah

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

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 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

                        • Login

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