The latest versions of Qt5 do not support Windows XP any longer. Past version 5.7.1 there are issues getting SQLite to work properly.
-
Download Qt 5.4+ source ZIP (must be ZIP), Qt Online Installer, Visual Studio Add-in for Qt5, and jom
http://qt-project.org/downloads
http://download.qt-project.org/official_releases/jom/ -
Extract it to C:\Qt5 (this is the place where all my projects will be pointed to)
-
Edit qt.pro and remove everything but qtbase unless you need the other modules included
addModule(qtbase)
3a. Edit qtbase\mkspecs\win32-msvc2013\qmake.conf
Add
_USING_V110_SDK71_
to DEFINES if you plan to target XP.
-
Open the Visual Studio command prompt
-
cd to your Qt5 folder
configure.bat -static -opensource -no-opengl -no-angle -no-harfbuzz -nomake tests -nomake examples -skip qtwebengine
-
jom
-
Install the Visual Studio Add-in for Qt5