How to Build Qt 5.9.2 Static Using MinGW

You can follow the instructions below to build Qt 5.9.2 from sources using MinGW, and statically. To be able to proceed further, you need to make sure you have all the prerequisites on your PC, which are mentioned in this post, then return here.Assuming that you have taken care of all the requirements, you can start by downloading MinGW and Qt 5.9.2 source codes, or take the better and “recommended” route and simply download both of them using the Qt 5.9.2 all-in-one installer for Windows.

Continue reading “How to Build Qt 5.9.2 Static Using MinGW”

How to Build Qt 5.7 Statically Using MSVC14 (Microsoft Visual Studio 2015)

In this post I will describe how to build Qt 5.7 statically for Windows using MSVC 14 compiler or in other words Microsoft Visual C++ 2015 which is included in Microsoft Visual Studio 2015. Quite obviously you need to install Microsoft Visual Studio 2015 (Community edition is free) before continuing with this guide. You can find it here: https://www.visualstudio.com/

Continue reading “How to Build Qt 5.7 Statically Using MSVC14 (Microsoft Visual Studio 2015)”

How to Build OpenCV 2.4.13 Static/Dynamic with MSVC2010

OpenCV 2.4.13 was released just a few days ago and as a tradition I had to check if a static build with Microsoft Visual C++ 2010 (MSVC2010) 32-bit produced any errors or not. Fortunately, everything went quite smoothly (except a few common warnings here and there) and I was able to successfully build it so if you need to build the latest OpenCV release statically using MSVC2010 you can follow the steps below:

Continue reading “How to Build OpenCV 2.4.13 Static/Dynamic with MSVC2010”