I had to build FFmpeg with x264 support on macO statically, so I had to look around for a bunch of scattered commands. This is why I thought I should gather them up into a single post for easier reference later on. Here’s the result.
Continue reading “How to Build Static FFmpeg with x264 on macOS”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 From Source Codes
In this post you’ll find information about how to build Qt from source. We’ll be building the latest version of Qt, released about a week ago, using its source codes, both dynamically and statically and with various customized configurations. So without further ado, let’s start.
Continue reading “How to Build Qt From Source Codes”Qt Application Fonts Missing or Invisible in Linux (Fixed)
By default Qt does not copy fonts along with your application when you deploy them under Linux. I recently faced this issue and none of the texts or labels on my Qt windows showed anything on them. All labels and text were blank and the forms looked completely empty.
Continue reading “Qt Application Fonts Missing or Invisible in Linux (Fixed)”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 Configure Qt to Use OpenCV Static Build in Linux
First of all I assume you have seen this post which describes how to build opencv statically for Linux. If that is the case then you can just add the following code to your qmake .PRO file to use opencv with Qt.
unix: {
CONFIG += link_pkgconfig
PKGCONFIG += opencv
}
Build Qt Statically for Linux
In this post I’ll describe how to build a static version of Qt under Linux (Ubuntu flavor) and I will use Qt 5.7.0 and Ubuntu 16.04 64-Bit for that matter. Static builds ease the process of app deployment under Linux cause it is quite complex (much more complex than Windows and Mac OS X) so without further ado, here it is.
Continue reading “Build Qt Statically for Linux”Build OpenCV Statically for Linux
This post describes how to build an static version of OpenCV for Linux operating systems. I am going to use OpenCV version 3.1.0 and Ubuntu 16.04 64-bit but the process should be more or less the same under CentOS or other flavors of Linux. So let’s start.
Continue reading “Build OpenCV Statically for Linux”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”
How to Build Qt 5.6 Statically Using MSVC++ 2010
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”