2.8 KiB
Executable file
Qt binding for Go (Windows / Mac OS X / Linux / Android)
Desktop (Windows / Mac OS X / Linux)
(windows is currently not working) -> https://support.microsoft.com/kb/830473
-
Install Go >= 1.5.1
-
Install Qt 5.5.1
C:\Qt\Qt5.5.1\
or/usr/local/Qt5.5.1/
- https://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-windows-x86-android-5.5.1.exe
- https://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-mac-x64-android-5.5.1.dmg
- https://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-linux-x86-android-5.5.1.run
- https://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-linux-x64-android-5.5.1.run
-
Setup the environment
-
Windows
-
Add the directory that contains "gcc" to your PATH
C:\Qt\Qt5.5.1\Tools\mingw492_32\bin
-
-
Mac OS X
- Install Xcode >= 7.0.1
-
Linux
-
Install "g++"
sudo apt-get install g++
-
Install OpenGL dependencies
sudo apt-get install mesa-common-dev
-
-
-
Download the qt binding
go get github.com/therecipe/qt
-
Generate, install and test
github.com/therecipe/qt/setup.bat
or
github.com/therecipe/qt/setup.sh
Mobile (Android)
(windows host is currently not working) -> https://support.microsoft.com/kb/830473
-
Make sure the binding is working by setting up the Desktop version
-
Install the Android SDK
/opt/android-sdk/
-
Install the SDK dependencies
/opt/android-sdk/tools/android
- Tools
- Android SDK Build-tools
- Android 6.0 (API 23)
- SDK Platform
- Tools
-
Install the Android NDK
/opt/android-ndk/
-
Install Apache-Ant
/opt/apache-ant/
-
Install Java SE Development Kit (linux:
/opt/jdk/
) -
Install and test
github.com/therecipe/qt/setup.bat android
or
github.com/therecipe/qt/setup.sh android