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. Where is qmake.exe
Forum Updated to NodeBB v4.3 + New Features

Where is qmake.exe

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 2.3k 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.
  • Q Offline
    Q Offline
    Q74r3wq-
    wrote on last edited by Q74r3wq-
    #1

    Edit: I figured that maybe the extension is just a tool to bind VS and QT, and I need to install QT, as the extension seems to be too small. I'm installing QT and will see what happens.


    OK I spent an hour and gave up, and searching on this forum doesn't really help (Somehow this seems to be a routine issue by the look of it).

    Long story short, I installed QT for VS2019 through...well, VS2019. I then clicked Options->Qt->Version and it asked me to find qmake.exe (why doesn't it know by itself?).

    But I couldn't find it. It's nowhere to be found. I even searched in WIndows explorer and the only thing I got is some qmakefilereader.exe under the extension folder. Can you please let me know where it is? Do I need to re-install the plugin maybe? Thanks~~

    BTW neither contains a solution:
    https://doc.qt.io/qtvstools/qtvstools-managing-projects.html#managing-qt-versions
    https://doc.qt.io/qtvstools/qtvstools-getting-started.html

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #3

      Hi, welcome to the forum

      @Q74r3wq said in Where is qmake.exe:

      Long story short, I installed QT for VS2019 through...well, VS2019

      No, there's no way to install Qt(the library) through VS2019. You installed a Qt extension for VS, not Qt itself. This adds integration, wizards etc, but it doesn't install the library. That's also why it doesn't fill your Qt information for you - you might have multiple versions installed, or, like in your case, none.

      The links you posted will be of use after you install the Qt library.

      The easiest way to install Qt is to use the online installer. Just make sure you only select one version, the one for VS2019, because there's a lot of them there to choose from.
      After you install Qt you can set it up in the VS extension. The qmake.exe will be located in the bin folder in the installation directory for the version you choose to install.

      Q 1 Reply Last reply
      2
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #2

        When Qt is installed, there is a path setting. What did you set? Reinstall Qt and write down your path.

        Q 1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by Chris Kawa
          #3

          Hi, welcome to the forum

          @Q74r3wq said in Where is qmake.exe:

          Long story short, I installed QT for VS2019 through...well, VS2019

          No, there's no way to install Qt(the library) through VS2019. You installed a Qt extension for VS, not Qt itself. This adds integration, wizards etc, but it doesn't install the library. That's also why it doesn't fill your Qt information for you - you might have multiple versions installed, or, like in your case, none.

          The links you posted will be of use after you install the Qt library.

          The easiest way to install Qt is to use the online installer. Just make sure you only select one version, the one for VS2019, because there's a lot of them there to choose from.
          After you install Qt you can set it up in the VS extension. The qmake.exe will be located in the bin folder in the installation directory for the version you choose to install.

          Q 1 Reply Last reply
          2
          • JoeCFDJ JoeCFD

            When Qt is installed, there is a path setting. What did you set? Reinstall Qt and write down your path.

            Q Offline
            Q Offline
            Q74r3wq-
            wrote on last edited by
            #4

            @JoeCFD Hi (I just edited the question) I just realized that maybe QT extension does NOT include QT, but simply provides me a way to bind VS2019 and QT. I'm isntalling QT and will see what happens. But I'm sure it should solve my issue. Thanks for the help~~

            1 Reply Last reply
            1
            • Chris KawaC Chris Kawa

              Hi, welcome to the forum

              @Q74r3wq said in Where is qmake.exe:

              Long story short, I installed QT for VS2019 through...well, VS2019

              No, there's no way to install Qt(the library) through VS2019. You installed a Qt extension for VS, not Qt itself. This adds integration, wizards etc, but it doesn't install the library. That's also why it doesn't fill your Qt information for you - you might have multiple versions installed, or, like in your case, none.

              The links you posted will be of use after you install the Qt library.

              The easiest way to install Qt is to use the online installer. Just make sure you only select one version, the one for VS2019, because there's a lot of them there to choose from.
              After you install Qt you can set it up in the VS extension. The qmake.exe will be located in the bin folder in the installation directory for the version you choose to install.

              Q Offline
              Q Offline
              Q74r3wq-
              wrote on last edited by
              #5

              @Chris-Kawa Thanks (I just edited the question) I just realized that maybe QT extension does NOT include QT, but simply provides me a way to bind VS2019 and QT. I'm isntalling QT right now and it should solve my issue. Thanks!

              BTW is it possible to add an one-liner on VS2019 extension page (please ignore if it's already there) saying that "Please install QT before you can use this product."

              Chris KawaC 1 Reply Last reply
              0
              • Q Q74r3wq-

                @Chris-Kawa Thanks (I just edited the question) I just realized that maybe QT extension does NOT include QT, but simply provides me a way to bind VS2019 and QT. I'm isntalling QT right now and it should solve my issue. Thanks!

                BTW is it possible to add an one-liner on VS2019 extension page (please ignore if it's already there) saying that "Please install QT before you can use this product."

                Chris KawaC Offline
                Chris KawaC Offline
                Chris Kawa
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @Q74r3wq said in Where is qmake.exe:

                BTW is it possible to add an one-liner on VS2019 extension page (please ignore if it's already there) saying that "Please install QT before you can use this product."

                Well technically you can use it without Qt, it just doesn't do anything interesting in that case :)
                But yeah, a mention that it doesn't install the library wouldn't hurt. You can post a suggestion for the extension project team on bugreports.qt.io.

                1 Reply Last reply
                1
                • JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by JoeCFD
                  #7
                  This post is deleted!
                  Chris KawaC 1 Reply Last reply
                  0
                  • JoeCFDJ JoeCFD

                    This post is deleted!

                    Chris KawaC Offline
                    Chris KawaC Offline
                    Chris Kawa
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    @JoeCFD That's a wrong link. You linked to the Qt Installer Framework. That's not the Qt library. I already posted a link to the online installer for the library.
                    Also OP has already installed the VS extension and that can be done directly from VS, so there's no need to use the standalone installer.

                    JoeCFDJ 1 Reply Last reply
                    0
                    • Chris KawaC Chris Kawa

                      @JoeCFD That's a wrong link. You linked to the Qt Installer Framework. That's not the Qt library. I already posted a link to the online installer for the library.
                      Also OP has already installed the VS extension and that can be done directly from VS, so there's no need to use the standalone installer.

                      JoeCFDJ Offline
                      JoeCFDJ Offline
                      JoeCFD
                      wrote on last edited by
                      #9

                      @Chris-Kawa Sorry. My bad. I posted the wrong link. Thanks.

                      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