Back to Pan Light

README

qt/README.md

0.0.1preview3.9 KB
Original Source

本模块基于 therecipe/qt 修改, 详细文档请访问原项目


Introduction

Qt is a cross-platform application framework that is used for developing application software that can be run on various software and hardware platforms with little or no change in the underlying codebase.

Go (often referred to as golang) is a programming language created at Google.

This package allows you to write Qt applications entirely in Go and makes deploying them later very easy.

Gallery of example applications making use of this package.

WebAssembly Demo | repo

Status

Almost all Qt functions and classes are accessible from Go and you should be able to find everything you need to build fully featured applications.

(A special exception are the WebEngine/WebView packages, these aren't available for Windows yet.)

Installation

Windows (more info)
powershell
go get -u -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup
macOS (more info)
bash
xcode-select --install; go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup
Linux (more info)
bash
go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup

Resources

Deployment Targets

TargetArchLinkageDocker DeploymentHost OS
Windows32 / 64dynamic / staticYesAny
Linux64dynamic / systemYesAny
Android (+Wear)armdynamicYesAny
Android-Emulator (+Wear)32dynamicYesAny
Raspberry Pi (1/2/3)armdynamic / systemYesAny
SailfishOSarmsystemYesAny
SailfishOS-Emulator32systemYesAny
Ubuntu Toucharm / 64systemYesAny
JavaScript32staticYesAny
WebAssembly32staticYesAny
macOS64dynamicNomacOS
iOSarm64staticNomacOS
iOS-Simulator64staticNomacOS
AsteroidOSarmsystemNoLinux

License

This package is released under LGPLv3

Qt is available under multiple licenses