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. Problem assigning MS Visual Studio Complier to Qt 5.0
Forum Updated to NodeBB v4.3 + New Features

Problem assigning MS Visual Studio Complier to Qt 5.0

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.6k 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.
  • C Offline
    C Offline
    Corny
    wrote on last edited by
    #1

    I’m running ‘Windows 7 Service Pack 1’ with ‘MS Visual Studio Professional 2012’ and I’m simply attempting to build and run and example program supplied with Qt 5.0 and associated Qt Creator. Unfortunately I have been having some problems. I get the following error:

    ‘Qt creator needs a complier set up to build. Configure a compiler in the kit options’

    In Tools->Options->Build & Run->Kits the ‘Desktop Qt 5.0.0 MSVC2010 32bit (SDK) (default)’ is shown as auto-detected, however when I click on it and the details appear, there is no complier listed for it. I then click on ‘manage’ (for the compiler) and it takes me to the Tools->Options-> Build & Run->Compilers tab. On the compilers tab I have six ‘MS Visual C++ compiler 11.0’s listed as auto-detected. I have tried selecting a compiler and selecting ‘apply’ and it doesn’t assign a compiler to the Qt kit.

    I have tried installing MinGW and manually adding it to the list of compilers. I still can’t seem to assign it to the Qt Kit. I have tried uninstalling and reinstalling everything in different orders multiple times and I still am not having any luck. I am obviously missing something or doing something wrong. I would appreciate any suggestions.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      MSVC2012 is not compatible with MSVC2010. You will need to either build Qt with MSVC2012 or install a MSVC2010.

      Mingw is also incompatible with MSVC (all of them;-).

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Corny
        wrote on last edited by
        #3

        Thank you very much. I'm not sure how, but I'll try and figure out how to build Qt with MSVC12.

        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