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. MSVC2015 64bit compiler kit - installation requirements
Forum Updated to NodeBB v4.3 + New Features

MSVC2015 64bit compiler kit - installation requirements

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 8.4k 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.
  • VagabondV Offline
    VagabondV Offline
    Vagabond
    wrote on last edited by
    #1

    Initially, I have installed Qt Creator 4.2.2 along with the latest MinGW build kits. For my current project I need to add in the 64bit MSVC2015 compiler running with Qt 5.7.1. So far I have used the MaintananceTool located under C:/Qt/MaintananceTool.exe to add in the relevant Qt dependencies to get this compiler running. Additionally, I downloaded and installed the Microsoft Build Tools 2015.

    I can get an empty test project to build using the added kit. Running it still does not work though. I am getting a 'The program has unexpectedly finished.' directly after hitting run.

    Am I missing anything here?

    (Note: I have access to licensed versions of Visual Studio, but wanted to avoid having to install it, since I do not use it as a coding environment currently. If it makes getting this all setup easier, I will install it)

    jsulmJ 1 Reply Last reply
    0
    • VagabondV Vagabond

      Initially, I have installed Qt Creator 4.2.2 along with the latest MinGW build kits. For my current project I need to add in the 64bit MSVC2015 compiler running with Qt 5.7.1. So far I have used the MaintananceTool located under C:/Qt/MaintananceTool.exe to add in the relevant Qt dependencies to get this compiler running. Additionally, I downloaded and installed the Microsoft Build Tools 2015.

      I can get an empty test project to build using the added kit. Running it still does not work though. I am getting a 'The program has unexpectedly finished.' directly after hitting run.

      Am I missing anything here?

      (Note: I have access to licensed versions of Visual Studio, but wanted to avoid having to install it, since I do not use it as a coding environment currently. If it makes getting this all setup easier, I will install it)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Vagabond Did you configure the Kit for MSVC2015 manually? Are there any warnings/errors in this Kit? Can you try to debug the app?

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

      VagabondV 1 Reply Last reply
      1
      • VagabondV Offline
        VagabondV Offline
        Vagabond
        wrote on last edited by Vagabond
        #3

        @jsulm I had no warnings or errors for the kit. It just crashed giving only the output mentioned in my first post.
        My installation was divided only into the steps I posted. Here is a more detailed explanation.

        I.) Use MaintainanceTool.exe to add component:

        1. run C:/Qt/MaintainanceTool.exe
        2. choose add/remove component (wait for Qt to retrieve info)
        3. check Qt > Qt 5.7 > msvc2015 64-bit
        4. hit next and wait for installation to complete

        II.) Install Microsoft Build Tools 2015 (found at link in initial post)

        I went ahead and installed Visual Studio 2017 along with 2015 compiler support. Now everything works as expected. Maybe the build tools didn't install the msvc2015 compiler at the path Qt expects it to be!? My problem is solved... Not sure why MS Build tools didn't work at my first go...

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @Vagabond Did you configure the Kit for MSVC2015 manually? Are there any warnings/errors in this Kit? Can you try to debug the app?

          VagabondV Offline
          VagabondV Offline
          Vagabond
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • S Offline
            S Offline
            SmileHAHAHAH
            wrote on last edited by
            #5

            Do you set the PATH on your computer? Check it from "this PC">>"Properties">>"Advandced setting">>"Enviroment V...">>"Path">>Edit

            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