Qt Bindings for Go

1,346 views
Skip to first unread message

Russel Winder

unread,
Oct 19, 2013, 3:40:17 AM10/19/13
to GoLang_Nuts
Given a project I am starting needs a GUI on GNOME, OSX and Windows, I
suspect Qt would be a better choice than Gtk. But whilst there is a good
Gtk binding for Go, there appears to be no publicly available Qt
binding.

http://go-lang.cat-v.org/library-bindings

leads to

https://github.com/visualfc/go-ui

which leads to

https://github.com/visualfc/goqt

which is an empty project. Clearly LiteIDE has absorbed this code as a
private API.

The question is whether there is a viable, but as yet unpublicized on
the standard Go place, Qt binding for Go. A binding that supports GUI
specification files generated from Qt Designer most welcome.

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel...@ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder

Gerard

unread,
Oct 19, 2013, 4:09:37 AM10/19/13
to golan...@googlegroups.com
Qt itself has some nasty C++ preprocessor functionality and requires cmake. This makes it not very well suitable for Go. Gustavo Niemeyer wrote go-qml and there is also a special group for it. Of course, you could also use tcl/tk. There is a very small package for it (google).


On Saturday, October 19, 2013 9:40:17 AM UTC+2, Russel Winder wrote:
Given a project I am starting needs a GUI on GNOME, OSX and Windows, I
suspect Qt would be a better choice than Gtk. But whilst there is a good
Gtk binding for Go, there appears to be no publicly available Qt
binding.

http://go-lang.cat-v.org/library-bindings

leads to

https://github.com/visualfc/go-ui

which leads to

https://github.com/visualfc/goqt

which is an empty project. Clearly LiteIDE has absorbed this code as a
private API.

The question is whether there is a viable, but as yet unpublicized on
the standard Go place, Qt binding for Go. A binding that supports GUI
specification files generated from Qt Designer most welcome.

Thanks.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russ...@ekiga.net

Peter Kleiweg

unread,
Oct 19, 2013, 11:55:04 AM10/19/13
to golan...@googlegroups.com
Op zaterdag 19 oktober 2013 10:09:37 UTC+2 schreef Gerard:

Qt itself has some nasty C++ preprocessor functionality and requires cmake. This makes it not very well suitable for Go. Gustavo Niemeyer wrote go-qml and there is also a special group for it. Of course, you could also use tcl/tk. There is a very small package for it (google).

Works like a charm.

Gustavo Niemeyer

unread,
Oct 19, 2013, 12:06:06 PM10/19/13
to Russel Winder, GoLang_Nuts
Hi Russel,

As Gerard said, the qml package for Go is supposed to cover that case
well, and I'd be glad to work with you to sort out your use case. If
you have any needs that you feel are uncovered, or need any help with
getting it to work, please come over to the mailing list and let's get
it rolling.
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--

gustavo @ http://niemeyer.net

Russel Winder

unread,
Oct 20, 2013, 6:03:23 AM10/20/13
to Gustavo Niemeyer, GoLang_Nuts
Gustavo,

On Sat, 2013-10-19 at 12:06 -0400, Gustavo Niemeyer wrote:
> Hi Russel,
>
> As Gerard said, the qml package for Go is supposed to cover that case
> well, and I'd be glad to work with you to sort out your use case. If
> you have any needs that you feel are uncovered, or need any help with
> getting it to work, please come over to the mailing list and let's get
> it rolling.

Splendid. I'll try getting tooled up to use qml and see if it Just
Works™.
Reply all
Reply to author
Forward
0 new messages