cutego/README.md
2015-11-09 18:23:42 +01:00

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

  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)

(windows host is currently not working) -> https://support.microsoft.com/kb/830473

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

  2. Install the Android SDK /opt/android-sdk/

  3. Install the SDK dependencies /opt/android-sdk/tools/android

    • Tools
      • Android SDK Build-tools
    • Android 6.0 (API 23)
      • SDK Platform
  4. Install the Android NDK /opt/android-ndk/

  5. Install Apache-Ant /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