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. New install of qt5, won't compile
Forum Updated to NodeBB v4.3 + New Features

New install of qt5, won't compile

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

    Hi all,
    first off, new user to Qt. Downloaded 5.0.0 for windows with vc2010. Installed on three computers running Win 7 x64, x86, and Win 8 x86, all exhibit same problem. Opened QtCreator and created a new project based off "Qt Quick 1 Application (Built-in Elements)". Click Run. Error comes up: "Qt Creator needs a compiler set up to build. Configure a compiler in the kit options." Okay, so google it, few people with same error, no solution. So go to Tools>Options... Go to Build&Run>Compilers... nothing in there. How do I get a compiler to be auto detected? Is there a compiler included with Qt5? Why doesn't this work straight from the box? Tried 4.8.4 with both VC2010 and MinGW, fail. Do I have to go to an older version to get something to compile?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You need to install the compiler yourself. Qt does not ship a compiler with it, because MS licensing does not permit that.

      You can get MSVC for free from MS SDK 7.1, or MS Visual Studio Express.

      (Z(:^

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

        There is no compiler included with Qt 5: The binaries are built with MSVC 2010 and you need MSVC 2010 to work with them. This compiler is made by microsoft and not freely distributable, so it is not included in the Qt 5 packages.

        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