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:
If you have already seen my Guide on How to Build Qt 5.5 Static wit MSVC then you probably won’t find anything new in this article. This only covers the paths and configurations for Qt 5.6 and it’s titled MSVC 2010 because Qt 5.6 installation includes pre-built libraries for all Compiler versions except MSVC 2010.Continue reading “How to Build Qt 5.6 Statically Using MSVC++ 2010”
OpenCV 3.1 was released yesterday and with a first look I noticed that prebuilt libraries for x86 VC10 (MSVC2010) are nowhere to be found in the installation folder. In fact there is no x86 folder to begin with. Some of my recent apps all are built using MSVC2010 so I had to build OpenCV myself. Here is what I did and what I suggest you should do.
Following steps will help you with building Qt 5.5 Static Libraries with any MSVC Compiler. I have used MSVC2010 in this example but it should be the same for any compiler version from 2005 to 2015 (Visual Studio 2005 (8.0), VC++ 14.0)
Note that building Qt like this will remove all dependencies meaning there won’t be any need for MSVC dlls)Continue reading “How to build Qt 5.5 Static Libraries using any Microsoft Visual C++ Compiler”
I keep the following notes (steps) as a personal guideline for building Qt Statically using Microsoft Visual C++ and I never fail to do it but please keep in mind that these are NOT some exact steps and they need to be changed (slightly though 🙂 ) in some cases. Leave comments if you have any questions.
I have used Qt 5.4.0 with Microsoft Visual C++ 2010 (MSVC2010) but it is more or less the same for similar compilers and others Qt versions.