I spend a considerable amount of time compiling Qt4 and Qt5 with MySQL and OpenSSL support on Windows using Microsoft Visual Studio. I compile all libraries statically and dynamically, in release and debug mode, for both 32- and 64-bit. I do split-builds, i.e. each configuration in its own directory. Qt is a big beast that comes along with plenty of quirks when it comes to building it from scratch. It keeps improving however. It takes me around a day’s worth of compiling to build both Qt4 and Qt5, together with their dependencies.

If you are looking for older builds, head to the Precompiled Qt4 and Qt5 (Past Builds) page.

The binaries posted here are experimental and any comments would be welcome.

If you use these Qt builds, you should know the following:

  • Time is limited and custom Qt builds to satisfy everyone are not possible. However, I can do custom builds as paid work (Contact me at stathis@npcglib.org if interested)
  • You should only use these Qt precompiled libraries, and their dependencies, with the respective MSVC only.
  • All static libraries use Static Runtimes (built with /MT or /MTd).
  • All shared libraries use Dynamic Runtimes (built with /MD or /MDd).
  • Webkit has been replaced by WebEngine.
  • I do not compile or include demos, examples and translations.
  • I build only shared version of the Qt tools (assistant, designer, etc.) in Release mode.
  • Perl, Python and Ruby, are useful tools for building Qt, but Qt does not link against them and thus you won’t need them for using the libraries.
  • I no longer build Qt with ICU support (it is no longer mandatory in upstream). If you are looking for ICU, I compile it also and is available in the ICU pages.
  • Qt, MariaDB and OpenSSL precompiled binaries are custom-built.
  • Downloading official binary releases won’t work with the rest of the binaries here!!.
  • Instead of Oracle’s MySQL I use MariaDB, both work just fine with Qt.
  • MSVC 2008 and 2010 are no longer supported upstream, so I don’t build them either.
  • Qt Creator is reported to not work with my split-builds. I do not use it, so there isn’t any support coming in the foreseeable future.


Precompiled Qt5 v5.7.1 for MSVC, with OpenSSL and MySQL support!

  • Updated: 5 February 2017
  • Sources: Qt5 5.7.1 Sources
  • Release Announcement
  • What’s new
  • Known Issues:
    • Known Issues (Qt5 Official)
    • Currently qmake will not work as expected with this release as prl files have hard-coded paths from the build system. Use your own configuration (e.g. via cmake) or email me for help with qmake. (Thanks to Mark)
    • The MSVC 2008, 2010, 2012 compilers are not supported by the Qt5 upstream (no C++11 support), so there are no such builds.
    • ICU is no longer a mandatory dependency.
Qt v5.7.1
Download Size Arch Build Link Dependencies
Qt5 v5.7.1 (MSVC2015) [md5] 1.2 GB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.54-vs2015.7z [md5]
openssl-1.0.2k-vs2015.7z [md5]
MariaDB Page
OpenSSL Page
Qt5 v5.7.1 (MSVC2013) [md5] 1.15 GB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.54-vs2013.7z [md5]
openssl-1.0.2k-vs2013.7z [md5]
MariaDB Page
OpenSSL Page


Precompiled Qt5 v5.6.2 for MSVC, with OpenSSL and MySQL support!

  • Updated: 5 February 2017
  • Sources: Qt5 5.6.2 Sources
  • Release Announcement
  • What’s new
  • Known Issues:
    • Known Issues (Qt5 Official)
    • Currently qmake will not work as expected with this release as prl files have hard-coded paths from the build system. Use your own configuration (e.g. via cmake) or email me for help with qmake. (Thanks to Mark)
    • MSVC 2010 and 2012 are no longer built. I no longer have the time to build for these compilers.
    • The MSVC 2008 compiler is not supported by upstream Qt5, so there is no such build (no need to email me asking for Qt5 MSVC 2008, it doesn’t compile, I tried already).
    • ICU is no longer a dependency.
Qt v5.6.2
Download Size Arch Build Link Dependencies
Qt5 v5.6.2 (MSVC2015) [md5] 1.02 GB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.54-vs2015.7z [md5]
openssl-1.0.2k-vs2015.7z [md5]
MariaDB Page
OpenSSL Page
Qt5 v5.6.2 (MSVC2013) [md5] 1.1 GB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.54-vs2013.7z [md5]
openssl-1.0.2k-vs2013.7z [md5]
MariaDB Page
OpenSSL Page


Precompiled Qt4 v4.8.7 for MSVC, with OpenSSL and MySQL support!

Qt v4.8.7
Download Size Arch Build Link Dependencies
Qt4 v4.8.7 (MSVC2013) [md5] 223 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.43-vs2013.7z [md5]
openssl-1.0.1m-vs2013.7z [md5]
MariaDB Page
OpenSSL Page
Qt4 v4.8.7 (MSVC2012) [md5] 265 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.43-vs2012.7z [md5]
openssl-1.0.1m-vs2012.7z [md5]
MariaDB Page
OpenSSL Page
Qt4 v4.8.7 (MSVC2010) [md5] 249 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.43-vs2010.7z [md5]
openssl-1.0.1m-vs2010.7z [md5]
MariaDB Page
OpenSSL Page
Qt4 v4.8.7 (MSVC2008) [md5] 290 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
mariadb-5.5.44-vs2008.7z [md5]
openssl-1.0.2d-vs2008.7z [md5]
MariaDB Page
OpenSSL Page


Disclaimer

Downloads in this website are exclusively here for my own personal use and have not been properly tested or verified.