-
Notifications
You must be signed in to change notification settings - Fork 753
Installation on Windows
-
Install Qt; you can also define a custom location with QT_DIR
-
online installer: https://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
-
offline installer: https://download.qt.io/official_releases/qt/5.11/5.11.1/qt-opensource-windows-x86-5.11.1.exe
-
optional install the experimental webkit module: https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zip, extract it's content inside
C:\Qt\5.11.1\mingw53_32
(or similar) and export QT_WEBKIT=true
-
-
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
-
optional install the experimental webkit module:
-
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
-
optional install the experimental webkit module:
-
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
-
Install Go: https://golang.org/doc/install?download=go1.10.1.windows-amd64.msi
-
Clone the repo:
go get -u -v github.com/therecipe/qt/cmd/...
-
Run the setup:
$GOPATH/bin/qtsetup
Now that you are done with the installation you can start reading the usage instructions and build the examples.