5

This question is specifically about Qt libraries 5.0.0 for Windows (VS 2010 406 MB) at http://qt-project.org/downloads (but I assume it will apply to future 5.x.x versions too), and installing that on a "clean" Windows workstation.

What is needed to get it work? I am after exact minimal set of download packages, meaning an ordered list of "fully qualified" download names, preferably with links to Microsoft downloads.

The latest Qt Creator from same download page will be used as IDE, so Visual Studio is not required to be installed, and indeed it would be better if that can be avoided.

My current understanding is, I will need to find VC++ Express, then find SP1 update for it, then find debugging package to get debugger backend for Qt Creator. Not sure if I need a Windows SDK package, or if I can replace VS with some version of Windows SDK. And no, the qt-project web pages do not answer this, the instructions there are pretty vague for this specific scenario (using the binary library download without the full non-free Visual Studio 2010).

2 Answers 2

12

Strictly, all you need is the Windows SDK v7.1 and its SP1 compiler update. Be sure to install the "Debugging tools for Windows" as well (needed by Qt Creator for debugger integration). This will install the commandline compiler and tools included in VS2010.

As an IDE, you can use Qt Creator, which is just awesome for Qt projects and great even for non-Qt projects. Of course you're free to use any IDE you want, it's just that Qt Creator comes with, well, everything: integrated Qt documentation, integrated GUI designer, integrated QML designer, version control integration (svn/git need to be installed seperately).

Alternatively, you will need to find VS2010 Express, and its update, though this will leave you without Qt integration in the IDE (because the free VS versions do not support extensions).

Edit by hyde to add links (tested Jan 2013):

10
  • I got the Win7 installation to a state where it refuses to install Win SDK 7.1, so with VC++2010 Express and SP1 for Visual Studio 2010 installed, I can compile and run with Qt Creator, but no debugging.
    – hyde
    Jan 1, 2013 at 17:35
  • @hyde: you should be able to install the Debugging tools for Windows as a standalone package. Check the Windows SDK ISO. It seems they removed all the true standalone installers from their website, so you'll have to go through the SDK image if you can't get its installer to run.
    – rubenvb
    Jan 2, 2013 at 10:35
  • Tested on another computer, it seems installing just SDK and update will produce C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory, when compiling under QtC. This is fixed by installing VC++2010 Express, so looks like no way around that... So, in addition to SDK links in your answer (for debugger), VC++2010 Express and VS2010 SP1 update are needed, and then updates to this whole mess from Windows Update. Whew.
    – hyde
    Jan 8, 2013 at 14:20
  • You can also use the new Visual Studio 2012 Express For Windows Desktop. You'll get the latest and greatest compiler from Microsoft.
    – rubenvb
    Jan 9, 2013 at 7:39
  • At the moment there is no binary package for that, and I'm pretty sure Qt libs for VS2010 do not work with VS2012...? And compiling Qt on Windows is a bit of a hassle, many pre-requisites etc.
    – hyde
    Jan 9, 2013 at 7:57
1

For Windows 10 and Qt 5.7, I downloaded and installed the following tools:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.