Cute (Qt) binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
Find a file
2015-11-13 18:44:32 +01:00
bluetooth windows x64 fix 2015-11-13 18:44:32 +01:00
core windows x64 fix 2015-11-13 18:44:32 +01:00
dbus windows x64 fix 2015-11-13 18:44:32 +01:00
gui windows x64 fix 2015-11-13 18:44:32 +01:00
help windows x64 fix 2015-11-13 18:44:32 +01:00
internal windows x64 fix 2015-11-13 18:44:32 +01:00
location windows x64 fix 2015-11-13 18:44:32 +01:00
macextras windows x64 fix 2015-11-13 18:44:32 +01:00
multimedia windows x64 fix 2015-11-13 18:44:32 +01:00
multimediawidgets windows x64 fix 2015-11-13 18:44:32 +01:00
network windows x64 fix 2015-11-13 18:44:32 +01:00
nfc windows x64 fix 2015-11-13 18:44:32 +01:00
positioning windows x64 fix 2015-11-13 18:44:32 +01:00
qml windows x64 fix 2015-11-13 18:44:32 +01:00
quick windows x64 fix 2015-11-13 18:44:32 +01:00
script windows x64 fix 2015-11-13 18:44:32 +01:00
scripttools windows x64 fix 2015-11-13 18:44:32 +01:00
sensors windows x64 fix 2015-11-13 18:44:32 +01:00
sql windows x64 fix 2015-11-13 18:44:32 +01:00
svg windows x64 fix 2015-11-13 18:44:32 +01:00
webchannel windows x64 fix 2015-11-13 18:44:32 +01:00
websockets windows x64 fix 2015-11-13 18:44:32 +01:00
widgets windows x64 fix 2015-11-13 18:44:32 +01:00
xml windows x64 fix 2015-11-13 18:44:32 +01:00
xmlpatterns windows x64 fix 2015-11-13 18:44:32 +01:00
LICENSE complete rewrite 2015-10-24 17:18:24 +02:00
qt.go windows + android support 2015-11-12 01:29:32 +01:00
README.md windows x64 fix 2015-11-13 18:44:32 +01:00
setup.bat windows x64 fix 2015-11-13 18:44:32 +01:00
setup.sh windows x64 fix 2015-11-13 18:44:32 +01:00

Qt binding for Go (Windows / Mac OS X / Linux / Android)

Desktop (Windows / Mac OS X / Linux)

  1. Install Go >= 1.5.1

  2. Install Qt 5.5.1 C:\Qt\Qt5.5.1\ or /usr/local/Qt5.5.1/

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

  4. Download the qt binding

    go get github.com/therecipe/qt

  5. Generate, install and test

    github.com/therecipe/qt/setup.bat (run as admin)

    or

    github.com/therecipe/qt/setup.sh

Mobile (Android)

  1. Make sure the binding is working by setting up the Desktop version

  2. Install the Android SDK C:\android\android-sdk\ or /opt/android-sdk/

  3. Install the SDK dependencies C:\android\android-sdk\tools\android.bat or /opt/android-sdk/tools/android

    • Tools
      • Android SDK Build-tools (23.0.2)
    • Android 6.0 (API 23)
      • SDK Platform
    • Extras (Windows only)
      • Google USB Driver
  4. Install the Android NDK C:\android\android-ndk\ or /opt/android-ndk/

  5. Install Apache-Ant C:\android\apache-ant\ or /opt/apache-ant/

  6. Install Java SE Development Kit (linux: /opt/jdk/)

  7. Install and test

    github.com/therecipe/qt/setup.bat android (run as admin)

    or

    github.com/therecipe/qt/setup.sh android