2 ms·
Go programs can link the Qt library, specifically the GUI components, statically? ... it produces one output binary per target OS?
by tosseraccount 11y ago
Go programs can link the Qt library, specifically the GUI components, statically? ... it produces one output binary per target OS?
- Cyph0n 11y agoI have not tried Qt with Go to be honest, but in general yes compiled Go code produces a single statically linked binary on the target OS.
- deleted 11y ago[deleted]
- noselasd 11y agoYou can't currently link to Qt statically though. (And holy smokes, that would be a huge binary if it did, just libQt5Widgets.so links to 49 other libraries, everyting from X11 libs to libbz2 to opengl)
- rhodysurf 11y agoNo it cannot unless you pay for commercial. This is because of Qt licensing last I knew. So ta not totally static but no worse than C++