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. Can't compile with MSCV2012
Forum Updated to NodeBB v4.3 + New Features

Can't compile with MSCV2012

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 2.1k 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.
  • R Offline
    R Offline
    racingame
    wrote on last edited by
    #1

    So, I've just started with Qt and currently following a book guide. The thing that I can't understand is why I can't compile using MSVC2012 64 but I can using MinGW 32?

    The error i get using MSVC is the following one:

    15:50:18: Could not determine which "make" command to run. Check the "make" step in the build configuration.
    Error while building/deploying project TestInstallazioneW7 (kit: Desktop Qt 5.0.2 MSVC2012 64bit)
    When executing step "qmake"

    raven-worxR 1 Reply Last reply
    0
    • R racingame

      So, I've just started with Qt and currently following a book guide. The thing that I can't understand is why I can't compile using MSVC2012 64 but I can using MinGW 32?

      The error i get using MSVC is the following one:

      15:50:18: Could not determine which "make" command to run. Check the "make" step in the build configuration.
      Error while building/deploying project TestInstallazioneW7 (kit: Desktop Qt 5.0.2 MSVC2012 64bit)
      When executing step "qmake"

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @racingame
      are you compiling from command line or from within Visual Studio?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • R Offline
        R Offline
        racingame
        wrote on last edited by
        #3

        I only compile in Qt Creator.

        raven-worxR 1 Reply Last reply
        0
        • R racingame

          I only compile in Qt Creator.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @racingame
          i guess there is something wrong with your build chain configuration in the QtCreator settings.

          Are you sure that Qt 5.02 is really compiled using MSVC2012 64bit?!

          Out of curiosity, why don't you use a more recent version of Qt?

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          R 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @racingame
            i guess there is something wrong with your build chain configuration in the QtCreator settings.

            Are you sure that Qt 5.02 is really compiled using MSVC2012 64bit?!

            Out of curiosity, why don't you use a more recent version of Qt?

            R Offline
            R Offline
            racingame
            wrote on last edited by racingame
            #5

            @raven-worx I'm just following the book step-by-step. Since it was using QT 5.0.2, I went for using the same exact version for not having issues. When I chose to install it, it came with 4 kits (https://i.imgur.com/o2Pm9xp.png), but only MinGW works.

            EDIT: Actually found the reason: "No compiler can produce code for this Qt version". That's what Qt Creator says going in the Kit/Compiler options.

            EDIT2: I installed Qt 5.10.1 with MSVC 2017 64 and it doesn't work anyway, same error.

            raven-worxR 1 Reply Last reply
            0
            • R racingame

              @raven-worx I'm just following the book step-by-step. Since it was using QT 5.0.2, I went for using the same exact version for not having issues. When I chose to install it, it came with 4 kits (https://i.imgur.com/o2Pm9xp.png), but only MinGW works.

              EDIT: Actually found the reason: "No compiler can produce code for this Qt version". That's what Qt Creator says going in the Kit/Compiler options.

              EDIT2: I installed Qt 5.10.1 with MSVC 2017 64 and it doesn't work anyway, same error.

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #6

              @racingame
              how does your QtCreator settings for the kits look like?

              @racingame said in Can't compile with MSCV2012:

              I installed Qt 5.10.1 with MSVC 2017 64 and it doesn't work anyway, same error.

              i hope it's clear that you should of course have installed the MSVC2017 compiler (e.g. by Installing the VS 2017 community edition is already sufficient)

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              1
              • R Offline
                R Offline
                racingame
                wrote on last edited by racingame
                #7

                I have it installed: https://i.imgur.com/s4YHbxZ.png but I have no debugger apparently, even tho it was automatically selected when installing Qt: https://i.imgur.com/FhYTpwd.png

                Now I can compile but I keep having the warning: https://i.imgur.com/EzIJQdT.png

                raven-worxR 1 Reply Last reply
                0
                • R racingame

                  I have it installed: https://i.imgur.com/s4YHbxZ.png but I have no debugger apparently, even tho it was automatically selected when installing Qt: https://i.imgur.com/FhYTpwd.png

                  Now I can compile but I keep having the warning: https://i.imgur.com/EzIJQdT.png

                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #8

                  @racingame
                  What does the red icon next to the kit item tell?
                  Also make sure to select a C/C++ compiler from the combobox.

                  Also note that since a recent MSVC version the debugger need to be installed separately, by installing the Debugging Tools for Windows

                  You may also take a look at this.

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  3

                  • Login

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