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. Solved: First-time user Qt Creator configuration Windows 7 64-bit
QtWS25 Last Chance

Solved: First-time user Qt Creator configuration Windows 7 64-bit

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 5.2k Views
  • 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.
  • D Offline
    D Offline
    dieven
    wrote on last edited by
    #1

    I've installed Qt from http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-windows-x86-msvc2012_64_opengl-5.2.1.exe onto a Windows 7 64-bit system.

    I'm trying to compile the first sample problem. I'm told I need to configure a compiler. Tools-Options-Kits has auto-detected the presence of MSVC 2012 64-bit, but it says "no compiler". When I go to the "Compilers" tab, I see three MSVC 2012 compilers, X86, AMD64, and ARM. I clicked AMD64 and "Apply", but that doesn't seem to satisfy the "Kit" tab's compiler choice.

    How do I configure the MSVC 2012 compiler? Why isn't it already configured; it seems to have been installed as part of the Qt install package?

    Thanks!
    Dick

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi, and welcome to the Qt Dev Net!

      Are you sure you installed MSVC 2012? These are the version numbers:

      • MSVC 2005 -- Visual C++ 8.0
      • MSVC 2008 -- Visual C++ 9.0
      • MSVC 2010 -- Visual C++ 10.0
      • MSVC 2012 -- Visual C++ 11.0
      • MSVC 2013 -- Visual C++ 12.0

      (Full list at https://en.wikipedia.org/wiki/Visual_C++ )

      [quote author="dieven" date="1395543185"]How do I configure the MSVC 2012 compiler? Why isn't it already configured; it seems to have been installed as part of the Qt install package?[/quote]No, the Qt Project is not legally allowed to distribute the Visual Studio compilers. You must get it from Microsoft directly.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dieven
        wrote on last edited by
        #3

        I have installed Microsoft Visual Studio 2013, which is installed in c:\Program Files (x86)\Microsoft Visual Studio 12.0, and the VC folder has x86, amd64, and arm C++ compilers. Qt Creator, Tools, Options, Compilers, lists as "Auto-detected" three Microsoft Visual C++ Compiler 12.0 (x86, amd64, and ARM), the "Type" is MSVC.
        When I go to the "Kits" tab, there's a red exclamation point and the error is "no compiler set up" and warning "No Debugger set up". The Edit box below for "Compiler" is blank. If I choose "Manage" next to that, I can see the three auto detected compilers. I click the x86 compiler, "Apply", but the "Kits" tab still doesn't have any compiler.
        Somehow there's a way to tell the "Kit" that one of these three auto-detected compilers is the one to use, but I haven't found it...
        Dick

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Your Qt library and your compiler need to have matching versions

          Your MSVC 2013 compiler cannot work with Qt for MSVC 2012. You need to:

          • EITHER uninstall Qt for MSVC 2012 and install "Qt for MSVC 2013":http://download.qt-project.org/snapshots/qt/5.3/5.3.0-beta/2014-03-22_26/qt-opensource-windows-x86-msvc2013_64_opengl-5.3.0-beta_2014-03-22_08-37-57-26.exe (note: these is a pre-beta package, not a final release)
          • OR install Visual Studio 2012.

          After you do one of the above, Qt Creator will auto-detect and set up your kits.

          [quote]“No Debugger set up”[/quote]To address this, install Debugging Tools for Windows. (IIRC, it's part of the Visual Studio installer)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dieven
            wrote on last edited by
            #5

            It's working now.

            I ended up installing Visual Studio 2010, Windows 7.1 SDK for the debugger (which had a few challenges unrelated to Qt), and Visual Studio 2012, and now I can use Qt Creator to compile and run the first sample program.

            I was confused by the names Visual Studio 2012 (Microsoft Visual Studio 11.0), Visual Studio 2013 (Microsoft Visual Studio 12.0), Qt's name "MSVC 2012", the latest Qt Creator Windows download shown on the "normal user" page is for a back-level Visual Studio, and you can't use an up-level compiler.

            Thank you, JKSH, for your help with this!

            Dick

            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