Setting up Qt5


#1
  1. 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/

  2. Extract it to C:\Qt5 (this is the place where all my projects will be pointed to)

  3. 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.

  1. Open the Visual Studio command prompt

  2. cd to your Qt5 folder

configure.bat -static -opensource -no-opengl -no-angle -no-harfbuzz -nomake tests -nomake examples -skip qtwebengine
  1. jom

  2. Install the Visual Studio Add-in for Qt5


#2