Skip to content

Installation on Windows

therecipe edited this page Jul 11, 2018 · 31 revisions

Official Version (with Android support)

MSYS2 Version (without Android support)

  • Install MSYS2 and export QT_MSYS2=true

  • Open a MinGW shell (the 64-bit version, if you want to deploy 64-bit applications) alternatively export QT_MSYS2_ARCH=amd64 or QT_MSYS2_ARCH=386

  • pacman -Syyu

  • Install Qt

    • to deploy dynamically linked 32-bit applications: pacman -S mingw-w64-i686-qt-creator mingw-w64-i686-qt5

      • optional install the experimental webkit module: pacman -S mingw-w64-i686-qtwebkit and export QT_WEBKIT=true
    • to deploy dynamically linked 64-bit applications: pacman -S mingw-w64-x86_64-qt-creator mingw-w64-x86_64-qt5

      • optional install the experimental webkit module: pacman -S mingw-w64-x86-qtwebkit and export QT_WEBKIT=true
    • to deploy statically linked 32-bit applications: pacman -S mingw-w64-i686-qt-creator mingw-w64-i686-qt5-static

    • to deploy statically linked 64-bit applications: pacman -S mingw-w64-x86_64-qt-creator mingw-w64-x86_64-qt5-static

  • pacman -Scc

  • Use the MinGW shell for the setup and deployments (the 64-bit version, if you want to deploy-64 bit applications) alternatively export QT_MSYS2_ARCH=amd64 or QT_MSYS2_ARCH=386

  • Export QT_MSYS2_STATIC=true if you want to deploy statically linked applications


Now that you are done with the installation you can start reading the usage instructions and build the examples.

Clone this wiki locally