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-12 01:29:32 +01:00
bluetooth windows + android support 2015-11-12 01:29:32 +01:00
core windows + android support 2015-11-12 01:29:32 +01:00
dbus windows + android support 2015-11-12 01:29:32 +01:00
gui windows + android support 2015-11-12 01:29:32 +01:00
help windows + android support 2015-11-12 01:29:32 +01:00
internal windows + android support 2015-11-12 01:29:32 +01:00
location windows + android support 2015-11-12 01:29:32 +01:00
macextras windows + android support 2015-11-12 01:29:32 +01:00
multimedia windows + android support 2015-11-12 01:29:32 +01:00
multimediawidgets windows + android support 2015-11-12 01:29:32 +01:00
network windows + android support 2015-11-12 01:29:32 +01:00
nfc windows + android support 2015-11-12 01:29:32 +01:00
positioning windows + android support 2015-11-12 01:29:32 +01:00
qml windows + android support 2015-11-12 01:29:32 +01:00
quick windows + android support 2015-11-12 01:29:32 +01:00
script windows + android support 2015-11-12 01:29:32 +01:00
scripttools windows + android support 2015-11-12 01:29:32 +01:00
sensors windows + android support 2015-11-12 01:29:32 +01:00
sql windows + android support 2015-11-12 01:29:32 +01:00
svg windows + android support 2015-11-12 01:29:32 +01:00
webchannel windows + android support 2015-11-12 01:29:32 +01:00
websockets windows + android support 2015-11-12 01:29:32 +01:00
widgets windows + android support 2015-11-12 01:29:32 +01:00
xml windows + android support 2015-11-12 01:29:32 +01:00
xmlpatterns windows + android support 2015-11-12 01:29: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 + android support 2015-11-12 01:29:32 +01:00
setup.bat android support 2015-11-09 18:23:42 +01:00
setup.sh android support 2015-11-09 18:23:42 +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

    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

    or

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