Tag Archives: Visual Studio

Building Qt 5.9.1 on Windows 7/10 with Visual Studio 2017

2017-08-18 5 comments

Time again for an follow-up to my post on Qt’s LTS release, now that Qt 5.9 has been published as a new long-term supported (LTS) release. And since Qt 5.9.1 does not build with Visual Studio 2010 anylonger, this was also a good reason to switch to the freshly released Visual Studio 2017 Community Edition.… »»»

Building Qt 5.6.2 on Windows 7 with Visual Studio 2010

2016-11-28 1 comment

This is an update to my previously published post Building Qt 5.2.1 on Windows 7 with Visual Studio 2010. Not much has changed for me: I’m still running Windows 7 (Windows 10 can wait a bit longer) and Visual Studio 2010 (I’ll probably switch to version “2017” when it’s done — and if it still… »»»

Building Qt for static linking

2015-03-31 1 comment

One of the drawbacks of using such a comprehensive framework as Qt is the massively increased size of you program. When my pet project RandFill was only using the plain Win32-API, it was a single executable file of a couple of hundred kilobytes. Now, using dynamically linked Qt, the whole package (with DLLs, MSVC redistributables,… »»»

CMake, Visual Studio and Qt 5 with MOC…

2014-06-15 3 comments

After building a 64-bit version of Qt with/for Microsoft Visual Studio, building a simple Qt test program and doing first steps with the CMake build system the next hurdle appeared on the horizon in the form of support for Qt and its Q_OBJECT features (I am currently fighting more with the changes I made to… »»»

Generating 64-bit projects for Visual Studio with CMake

2014-05-31 2 comments

Generator Hm, interesting… I thought for some reason that by invoking CMake from the 64-bit Visual Studio command prompt, the project would automatically be generated as a 64-bit target — turns out that this is not the case: Checking the Solution File, the configuration is still set to Win32 (instead of x64) and in the… »»»

Building a simple Qt application on Windows with Visual Studio

2014-04-12 1 comment

After preparing the Qt framework, I needed to check if everything works; therefore I built a very simple Qt5.2.1 application, the GUI-equivalent of a “Hello-World” program. Building the sample application Open “Visual Studio 2010” and create a new, blank project: File → New → Project… Visual C++ → General → Empty Project Add a source… »»»

Building Qt 5.2.1 on Windows 7 with Visual Studio 2010

2014-04-12 5 comments

For my first steps with Qt, I wanted to use the 64-bit libraries of Qt 5.2.1 on Windows 7 with Visual Studio 2010; unfortunately the project doesn’t offer a binary package download for this combination, so I had to build the framework myself. After some failures at this (mostly due to out of date tutorials… »»»