Skip to content

xland/qt

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 55.5%
  • C++ 32.8%
  • C 10.7%
  • Java 0.6%
  • QML 0.3%
  • JavaScript 0.1%