<p>Last commit a year ago <a href="https://github.com/go-qml/qml">https://github.com/go-qml/qml</a> . There is an open issue that it does not work with Go 1.6.</p>
<p>Does go-qml depend on QT version? Any other alternatives?</p>
<p>The only other option seems to be <a href="https://github.com/visualfc/goqt">https://github.com/visualfc/goqt</a> but it does not seem to support qml.</p>
<hr/>**评论:**<br/><br/>kl0nos: <pre><p>Here author answers your question:</p>
<p><a href="https://groups.google.com/d/msg/go-qml/P_jkCWRyF1g/P8kEeYN1BgAJ">https://groups.google.com/d/msg/go-qml/P_jkCWRyF1g/P8kEeYN1BgAJ</a></p></pre>tomarus: <pre><p>I just tried this last week using Qt5.5 and the data visualization module from Qt5.7 alpha (which was opensourced just last week). I needed to set my PKG_CONFIG_PATH and put a go debug flag to 0 (as mentioned in the go-qml issue). Furthermore everything more or less worked out of the box but i haven't played much with it, other than running some examples from the Qt website.</p>
<p>This is an example of visualizing a heightmap i generated in go using the data visualization module <a href="http://s.chiparus.org/8/8cacb6eb48d9df9f.png" rel="nofollow">http://s.chiparus.org/8/8cacb6eb48d9df9f.png</a></p></pre>mc_hammerd: <pre><p>i got three impressions from goqml</p>
<ol>
<li>the author was doing it for fun or was impatient as theres no solid ui libs for go</li>
<li>it was complete/pretty much done</li>
<li>the code is really good</li>
</ol>
<p>i doubt its dead hes probably just making QML apps now :></p>
<p>i asked a Q about it in #go-nuts on irc and he was there and actually answered my question.</p>
<p>Does it depend on QT version: no</p></pre>Druage: <pre><blockquote>
<p>Does go-qml depend on Qt version? </p>
</blockquote>
<p>Do you mean does it depend upon any specific version? The wiki seems to mention Qt 5.1 and 5.0 support, but you should try it with a newer version as well. I cannot attest to whether or not the project is still going on, but maybe the development has reached a stable state, which is why the commit history is old.</p>
<p>I do not believe there to be any alternative QML wrappers for Go.</p></pre>m3wm3wm3wm: <pre><p>I just tried it with qt 5.5 and it worked. Not sure if there is a hard dependency with qt versioning or not.</p>
<blockquote>
<p>but maybe the development has reached a stable state, which is why the commit history is old.</p>
</blockquote>
<p>The readme mentions the alpha release. There are some bugs causing crashing on windows which are open.</p></pre>mc_hammerd: <pre><p><a href="http://espeleta.info/2016/03/16/Swift-ang-Go/" rel="nofollow">http://espeleta.info/2016/03/16/Swift-ang-Go/</a> this article has 7 alternative libs to QML</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传