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
2017-12-19 03:33:56 +01:00
androidextras fix android ptr issue + mxe win 64 docker issue + remove warnings for msys2 and pkg-config 2017-07-28 22:07:13 +02:00
bluetooth fix invokeMethod signature errors 2017-08-18 00:08:07 +02:00
charts update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
cmd fix windows docker issue + new slow flag for qtmoc 2017-09-25 19:11:52 +02:00
core update to Qt 5.9.3 + fixes for Qt 5.10.0 2017-12-19 02:23:01 +01:00
datavisualization update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
dbus add missing OpenGL classes + new OpenGL examples 2017-08-01 19:43:48 +02:00
designer fix invokeMethod signature errors 2017-08-18 00:08:07 +02:00
gamepad update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
gui update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
help update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
internal fix CI 2017-12-19 03:33:56 +01:00
location update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
macextras cleanup callback functions 2017-07-18 00:35:33 +02:00
multimedia update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
network update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
nfc update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
positioning update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
printsupport update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
purchasing cleanup callback functions 2017-07-18 00:35:33 +02:00
qml update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
quick update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
quickcontrols2 update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
remoteobjects update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
sailfish cleanup callback functions 2017-07-18 00:35:33 +02:00
script cleanup callback functions 2017-07-18 00:35:33 +02:00
scripttools cleanup callback functions 2017-07-18 00:35:33 +02:00
scxml cleanup callback functions 2017-07-18 00:35:33 +02:00
sensors update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
serialbus update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
serialport cleanup callback functions 2017-07-18 00:35:33 +02:00
speech update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
sql update to Qt 5.9.3 + fixes for Qt 5.10.0 2017-12-19 02:23:01 +01:00
svg fix invokeMethod signature errors 2017-08-18 00:08:07 +02:00
testlib add missing OpenGL classes + new OpenGL examples 2017-08-01 19:43:48 +02:00
uitools cleanup callback functions 2017-07-18 00:35:33 +02:00
webchannel fix invokeMethod signature errors 2017-08-18 00:08:07 +02:00
webengine update to Qt 5.9.3 + fixes for Qt 5.10.0 2017-12-19 02:23:01 +01:00
webkit fix invokeMethod signature errors 2017-08-18 00:08:07 +02:00
websockets update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
webview android jni related fixes + clear finalizers upon destroy + qtmoc fix 2017-06-09 01:47:53 +02:00
widgets update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
xml cleanup callback functions 2017-07-18 00:35:33 +02:00
xmlpatterns update to Qt 5.9.1 + new module 2017-08-30 23:38:52 +02:00
.gitignore initial inclusion of vagrant + register missing std types for moc 2017-07-11 23:33:08 +02:00
.travis.yml fix makefile issue + android support on windows 2017-09-04 21:08:11 +02:00
_config.yml Set theme jekyll-theme-cayman 2017-04-08 21:13:04 +02:00
appveyor.yml fix CI 2017-12-19 03:33:56 +01:00
LICENSE Dropping exec permissions on files 2017-04-12 15:21:13 +07:00
qt.go fix android ptr issue + mxe win 64 docker issue + remove warnings for msys2 and pkg-config 2017-07-28 22:07:13 +02:00
qt_android.go android jni related fixes + clear finalizers upon destroy + qtmoc fix 2017-06-09 01:47:53 +02:00
README.md fix webkit issue + homebrew deployments + update readme 2017-09-20 01:19:37 +02:00
screenshots.md fix screenshot urls 2017-04-15 00:20:53 +02:00

Introduction

therecipe/qt is Go binding for Qt application framework which allows you to write GUI applications entirely in Go. This package supports almost all platform that supported by Qt, including Windows, Linux, macOS, iOS, Android, SailfishOS and Raspberry Pi.

The main target of this binding are :

  1. easing the development of GUI application by making Qt's API accessible from Go; and
  2. simplifying the development and deployment processes to multiple platforms.

Even though this binding is still work in progress, it's quite stable and most of Qt's API is already accessible from this binding, so it should already contain everything you need to build a fully featured applications. If you still missing something, feel free to open an issue.

Do note that there are no godoc entry for this package, because most of binding code is generated by generator. However, when building Qt app you can use official Qt documentation because almost every Qt's API is mapped by this binding to same or predictable name in Go.

Deployment Targets

The following targets are currently supported for deployment :

Target Arch Linkage Docker Deployment Host OS
Windows (32 / 64) (dynamic / static / system libs) Yes Any
Android (+Wear) arm dynamic Yes Any
Android-Emulator (+Wear) 32 dynamic No Windows/macOS/Linux
Linux 64 (dynamic / system libs) Yes Any
Raspberry Pi (1/2/3) arm (dynamic / system libs) Yes Any
macOS 64 (dynamic / system libs) No macOS
iOS (arm + arm64) static No macOS
iOS-Simulator (32 + 64) static No macOS
SailfishOS arm system libs No Windows/macOS/Linux
SailfishOS-Emulator 32 system libs No Windows/macOS/Linux
AsteroidOS arm system libs No Linux

Resources

  • Gallery, which contains example of GUI applications that created using this binding.
  • Frequently asked questions, especially the licensing section, because LGPLv3 license that used in this binding might be not suitable for your projects.
  • Installation, which shows you how to install this binding on Windows, Linux and macOS.
  • Getting started, which shows you a simple Hello World example using widgets and QML.

Community

Like any other GitHub projects, you can ask your question by creating new issue. You can also join #qt-binding Slack channel by inviting yourself here.

Besides the official examples, you can also check these 3rd party examples from the community :

Feel free to add your project here!

License

This binding is released under LGPLv3 license, while Qt is available under multiple licenses.