therecipe/qt

Languages and libraries

gui binding

SHOW HN2017

therecipe/qt

Qt binding for Go with support for all major operating systems

therecipe.github.io

#qt#golang#cgo#cross compilation#gui

222points
74comments
#133of 2,242 in 2017
Top 6%of 2017 by points

How HN took it

CuriousMostly questions and neutral comments

4 positive, 16 neutral or asking, 0 mixed, 1 critical, out of 21 comments about the project. Thread score +0.09.

Execution: 3 for, 0 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Works well and productive for Qt users who prefer Go

    From 2 comments
    • I've been using c++/Qt for quite some time now, but i really prefer to work in go. Feels like i'm a lot more productive while writing, and i don't have to spend doubledigit…
      farrisbris on HN
    • Have used it and hang out in the Gophers slack channel. You provide great support and when I followed instructions it worked perfect!
      cridenour on HN
  • Responsive maker support

    From 1 comment
    • Have used it and hang out in the Gophers slack channel. You provide great support and when I followed instructions it worked perfect!
      cridenour on HN

Objections

  • Binaries may be large (around 50mb dynamically linked)

    From 2 comments
    • The file size depends on the target and what modules you use, for dynamically linked projects I would guess it's around 50mb for an average project. Maybe 20mb more on windows…
      therecipe on HN
    • I'm curious how this affects file sizes? I like my static binaries and portability, but I fear this would make things balloon quite a bit to get the same broad distribution. I've…
      pbnjay on HN
  • Requires cgo

    From 2 comments
    • Does this require CGo?
      pspeter3 on HN
    • Yes. For example, the dbus package: https://github.com/therecipe/qt/blob/053d54a2eb0658bae6e32597a276af4245d10806/dbus/dbus.go#L5-L17…
      TheDong on HN

Requests

  • Support for non-Linux plugins and cgo-free usage

    From 2 comments
    • Can gc load a cgo plugin [1]? If so, could you build therecipe/qt into a plugin and load it at runtime to avoid being forced to use cgo? E.g. your project has `type Qt interface…
      infogulch on HN
    • It could probably work, but plugins currently only work on linux.
      therecipe on HN

Questions

  • Qt LGPL licensing implications for static linking

    From 3 comments
    • I am confused by QT licensing model. What are limitation of free QT plan used by commercial (downloadable) application?
      dejv on HN
    • Qt is LGPL. So there are no limitations unless you make changes to the Qt library (which you probably won't do). If you do make changes, though, then you would have to release…
      brcha on HN
    • The open source version of Qt is LGPL, which basically means you may use it in a proprietary application if you use dynamic linking. If you link statically or copy any of its…
      slavik81 on HN
  • Whether embedded devices like BeagleBone are supported

    From 2 comments
    • Does this work on embedded devices without desktop environment?
      eberkund on HN
    • IS a beaglebone black sufficiently close to a raspberry pi3 that I can use the RPI3 environment for beaglebone black dev? If not, what's required to implement on a new platform?
      niccl on HN

Alternatives named

  • go-qml

    From 1 comment
    • what are the differences with go-qml? https://github.com/go-qml/qml/blob/v1/README.md
      gwenzek on HN
  • Qt Quick / QML

    From 1 comment
  • Lazarus

    From 1 comment
    • I also prefer golang over c++ for simplicity. But does it have IDE support? I mean Qt Creator. In the meantime, my first choice for cross-platform GUI development is Lazarus -…
      edwinyzh on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/14068525)