cutego/README.md

78 lines
3.9 KiB
Markdown
Raw Normal View History

2017-04-07 00:22:01 +03:00
Introduction
2018-03-20 16:52:35 +03:00
------------
2017-04-07 00:22:01 +03:00
2018-03-20 16:52:35 +03:00
[Qt](https://en.wikipedia.org/wiki/Qt_(software)) 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.
2017-04-07 00:22:01 +03:00
2018-03-20 16:52:35 +03:00
[Go](https://en.wikipedia.org/wiki/Go_(programming_language)) (often referred to as golang) is a programming language created at Google.
2017-04-07 00:22:01 +03:00
2018-12-18 22:22:12 +03:00
This package allows you to write Qt applications entirely in Go and makes deploying them later very easy.
[Gallery](https://github.com/therecipe/qt/wiki/Gallery) of example applications making use of this package.
2017-04-07 00:22:01 +03:00
[WebAssembly Live Demo](https://therecipe.github.io/widgets_playground) | *[repo](https://github.com/therecipe/widgets_playground)*
2018-12-18 22:22:12 +03:00
2018-03-20 16:52:35 +03:00
Status
------
2017-04-07 00:22:01 +03:00
2018-12-18 22:22:12 +03:00
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.
2018-03-20 16:52:35 +03:00
2018-12-18 22:22:12 +03:00
(A special exception are the WebEngine/WebView packages, these aren't available for Windows yet.)
2018-03-20 16:52:35 +03:00
Installation
------------
2019-01-13 05:39:57 +03:00
##### Windows [(more info)](https://github.com/therecipe/qt/wiki/Installation-on-Windows)
```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
```
2019-01-13 05:39:57 +03:00
##### macOS [(more info)](https://github.com/therecipe/qt/wiki/Installation-on-macOS)
```bash
xcode-select --install; go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup
```
2019-01-13 05:39:57 +03:00
##### Linux [(more info)](https://github.com/therecipe/qt/wiki/Installation-on-Linux)
```bash
go get -u -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup
```
2018-03-20 16:52:35 +03:00
Resources
---------
2018-12-18 22:22:12 +03:00
- [General Installation](https://github.com/therecipe/qt/wiki/Installation)
2018-03-20 16:52:35 +03:00
- [Getting Started](https://github.com/therecipe/qt/wiki/Getting-Started)
2018-12-18 22:22:12 +03:00
- [Wiki](https://github.com/therecipe/qt/wiki)
2018-03-20 16:52:35 +03:00
- [Qt Documentation](https://doc.qt.io/qt-5/classes.html)
2018-12-18 22:22:12 +03:00
- [FAQ](https://github.com/therecipe/qt/wiki/FAQ)
2018-03-20 16:52:35 +03:00
- [#qt-binding](https://gophers.slack.com/messages/qt-binding/details) Slack channel ([invite](https://invite.slack.golangbridge.org)\)
Deployment Targets
------------------
2017-04-07 00:22:01 +03:00
| Target | Arch | Linkage | Docker Deployment | Host OS |
|:------------------------:|:--------:|:-------------------------:|:-----------------:|:-------:|
| Windows | 32 / 64 | dynamic / static | Yes | Any |
| Linux | 64 | dynamic / static / system | Yes | Any |
| Android (+Wear) | arm | dynamic | Yes | Any |
| Android-Emulator (+Wear) | 32 | dynamic | Yes | Any |
| Raspberry Pi (1/2/3) | arm | dynamic / system | Yes | Any |
| SailfishOS | arm | system | Yes | Any |
| SailfishOS-Emulator | 32 | system | Yes | Any |
| Ubuntu Touch | arm / 64 | system | Yes | Any |
| JavaScript | 32 | static | Yes | Any |
| WebAssembly | 32 | static | Yes | Any |
| macOS | 64 | dynamic | No | macOS |
| iOS | arm64 | static | No | macOS |
| iOS-Simulator | 64 | static | No | macOS |
| AsteroidOS | arm | system | No | Linux |
2017-04-07 00:22:01 +03:00
License
2018-03-20 16:52:35 +03:00
-------
2018-11-06 20:16:33 +03:00
This package is released under [LGPLv3](https://opensource.org/licenses/LGPL-3.0)
2018-11-06 20:16:33 +03:00
Qt is available under multiple [licenses](https://www.qt.io/licensing)