golang notes (8)---therecipe/qt binding

这篇博客介绍了如何在Golang中使用therecipe/qt库进行项目构建,无需安装Qt库,库会自动安装所需环境。文章讨论了通过go build与qtdeploy构建qt项目的方法,以及两者在生成可执行文件大小上的区别。
摘要由CSDN通过智能技术生成

6/5 update on therecipe/qt binding:

refer to: https://github.com/therecipe/qt

export GO111MODULE=off; go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false

Note: no need to install Qt library. therecipe/qt/cmd will automatically install therecipe/env_linux_amd64_513.

(00:35 dabs@CNU1343VF8 src) > pwd
/home/dabs/go/src

(00:35 dabs@CNU1343VF8 src) > tree github.com/ -L 2
github.com/
├── [dabs     4.0K]  sirupsen
│   └── [dabs     4.0K]  logrus
└── [dabs     4.0K]  therecipe
    ├── [dabs     4.0K]  env_linux_amd64_513
    └── [dabs     4.0K]  qt

How to build qt project?

git clone https://github.com/therecipe/examples.git therecipe_example
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值