Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. MSVC2015 32bit not compiling
Qt 6.12 LTS is out! See what's new in the release blog

MSVC2015 32bit not compiling

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.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.
  • V Offline
    V Offline
    valerio.j
    wrote on last edited by
    #1

    So I got a new laptop with Windows 10 64-bit.
    I installed Visual Studio 17 and the distributables, Qt finds the VC compiler but when I try to compile I get a error: Cannot run compiler 'cl'. Maybe you forgot to setup the environment?. I had this working properly on my Windows 8 Laptop, but can't seem to get it going here. I have the correct Qt installed for MSVC2015 32 bit as well. Any help here will be appreciated.5_1508596023984_Capture5.PNG 4_1508596023984_Capture4.PNG 3_1508596023984_Capture3.PNG 2_1508596023984_Capture2.PNG 1_1508596023984_Capture1.PNG 0_1508596023968_Capture.PNG

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Does vcvarsall.bat report any errors?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        valerio.j
        wrote on last edited by
        #3

        No I didn't see any errors reported by vcvarsall.bat.
        I'm about to uninstall visual studio and Qt and reinstall and if that helps.
        Any specific sequence these should be done?

        1 Reply Last reply
        0
        • DiracsbracketD Offline
          DiracsbracketD Offline
          Diracsbracket
          wrote on last edited by Diracsbracket
          #4

          From the image you posted, the MinGW 32bit is the default kit. Maybe selecting the MSVC2015 32bit kit and clicking the Make Default button may help. Also I see you use the GNU gdb 7.10.1 MinGW as debugger. Does that work when you use the MSVC compiler? (That's a question of mine, I don't know). I had to install the Debugging Tools for Windows to use the cdb.exe debugger of Microsoft.

          1 Reply Last reply
          1

          • Login

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