在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:go-qml/qml开源软件地址:https://github.com/go-qml/qml开源编程语言:Go 63.3%开源软件介绍:QML support for the Go languageDocumentationThe introductory documentation as well as the detailed API documentation is available at gopkg.in/qml.v1. Blog postsSome relevant blog posts:
VideosThese introductory videos demonstrate the use of Go QML:
CommunityPlease join the mailing list for following relevant development news and discussing project details. InstallationTo try the alpha release you'll need:
See below for more details about getting these requirements installed in different environments and operating systems. After the requirements are satisfied, go get should work as usual:
Requirements on UbuntuIf you are using Ubuntu, the Ubuntu SDK will take care of the Qt dependencies:
and Go >= 1.2 may be installed using godeb:
Requirements on Ubuntu TouchAfter following the installation instructions for Ubuntu Touch, run the following commands to get a working build environment inside the device:
At the end of setup.sh, the phablet user will have GOPATH=$HOME in the environment, the qml package will be built, and the particle example will be built and run. For stopping it from the command line, run as the phablet user:
for running it again:
These commands depend on the following file, installed by setup.sh:
Requirements on Mac OS XOn Mac OS X you'll need QT5. It's easiest to install with Homebrew, a third-party package management system for OS X. Installation instructions for Homebrew are here:
Then, install the qt5 and pkg-config packages:
Then, force brew to "link" qt5 (this makes it available under /usr/local):
And finally, fetch and install go-qml:
Requirements on WindowsOn Windows you'll need the following:
Then, assuming Qt was installed under
After reopening the shell for the environment changes to take effect, this should work:
Requirements everywhere elseIf your operating system does not offer these dependencies readily, you may still have success installing Go >= 1.2 and Qt 5.0.2 directly from the upstreams. Note that you'll likely have to adapt environment variables to reflect the custom installation path for these libraries. See the instructions above for examples. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论