therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.41k stars 741 forks source link

Kirigami #267

Closed rkakrik closed 6 years ago

rkakrik commented 7 years ago

It is possible to use github.com/KDE/kirigami?

therecipe commented 7 years ago

Hey

Yes, it should be possible in theory, as you are just accessing the QML API and therefore don't need to port the C++ part.

However, I tried to get it working real quick but failed because I couldn't get cmake working and the qmake version seems to be broken? But I only tried it for macOS and android. I will try it again once I got more time.

therecipe commented 7 years ago

@rkakrik Got kirigami working (on macOS + android) You can find it here: https://github.com/therecipe/qt/tree/master/internal/examples/qml/kirigami Just run the init.go or manually install kirigami and then use the QML api like usual.

(If you are on windows or linux, then you might need to edit the init.go to point to your qmake)