Go GTK vs QT for Linux

471 views
Skip to first unread message

Subramanian Sridharan

unread,
Jun 17, 2019, 9:56:04 AM6/17/19
to golang-nuts
Hi guys

I've been fiddling around this package which uses GTK bindings in Go to achieve systray functionality.
But it depends on libgtk-3-dev and libappindicator3-dev which amount to around 300 MB.

Have you guys come across any other package that implements GTK or QT binding in Go?

How do GTK and QT weight against each other with respect to Go?

Tyler Compton

unread,
Jun 17, 2019, 12:49:24 PM6/17/19
to Subramanian Sridharan, golang-nuts
I haven't personally used this library, but I'd think you'd only need libgtk-3-dev and libappindicator3-dev at compile-time. You should be able to get away with the smaller runtime packages libgtk-3-dev and libappindicator3-1 once your application is built.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c9d629e6-4e09-4c1a-ac69-906cd259f2af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

yvan....@gmail.com

unread,
Jun 18, 2019, 11:47:46 AM6/18/19
to golang-nuts
Hello

only played with Go and gotk3 to check a simple demo in Linux Mint 64b  (Ubuntu based)
on Linux very easy because most of GTK3 lib are already present
some difficult to make it work on Windows and create a binary with all DLL but after some struggle success

you can see the result including binaries for my naive  clock here

not tested with QT because I find this lib to much heavy

cheers

Tyler Compton

unread,
Jun 18, 2019, 12:36:55 PM6/18/19
to Subramanian Sridharan, golang-nuts
Just noticed that I mentioned the wrong package. The runtime package for GTK is libgtk-3-0.
Reply all
Reply to author
Forward
0 new messages