qml-go icon indicating copy to clipboard operation
qml-go copied to clipboard

QML support for the Go language

Results 8 qml-go issues
Sort by recently updated
recently updated
newest added

I've installed go on Mac OS 10.12.4: https://storage.googleapis.com/golang/go1.8.1.darwin-amd64.pkg Then I did the following steps, but got an error when trying to install qml-go: ``` $ brew install qt5 pkg-config $...

While trying to run: `go get github.com/limetext/lime-qml/main/...` on linux `# github.com/limetext/qml-go` `In file included from /home/ricky/go/src/github.com/limetext/qml-go/cpp/private/qmetaobject_p.h:1,` ` from cpp/govalue.h:7,` ` from cpp/capi.cpp:11,` ` from all.cpp:2:` `/home/ricky/go/src/github.com/limetext/qml-go/cpp/private/qtheader.h:39:2: error: #error Unupported` `Qt...

I'm messing with the project for a quite while now, trying to figure out why I got this error when building: ``` In file included from ./cpp/private/qobject_p.h:2:0, from /usr/include/qt/QtCore/5.8.0/QtCore/private/qmetaobject_p.h:58, from...

i got this error when building qml-go. i solved it with this: `export CGO_CXXFLAGS_ALLOW="-pedantic-errors"` Maybe someone finds this useful. --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/61740526-invalid-flag-in-cgo-cxxflags-pedantic-errors?utm_campaign=plugin&utm_content=tracker%2F34597504&utm_medium=issues&utm_source=github)**...

`# github.com/limetext/qml-go/qpainter C:\Users\pnikh\AppData\Local\Temp\go-build489265622\github.com\limetext\qml-go\qpainter\_obj\painter.cpp.o: In function `painterSetCompositionMode': C:/Users/pnikh/Documents/go/src/github.com/limetext/qml-go/qpainter/painter.cpp:13: undefined reference to `_imp___ZN8QPainter18setCompositionModeENS_15CompositionModeE' C:\Users\pnikh\AppData\Local\Temp\go-build489265622\github.com\limetext\qml-go\qpainter\_obj\painter.cpp.o: In function `painterCompositionMode': C:/Users/pnikh/Documents/go/src/github.com/limetext/qml-go/qpainter/painter.cpp:16: undefined reference to `_imp___ZNK8QPainter15compositionModeEv' C:\Users\pnikh\AppData\Local\Temp\go-build489265622\github.com\limetext\qml-go\qpainter\_obj\painter.cpp.o: In function `painterSave': C:/Users/pnikh/Documents/go/src/github.com/limetext/qml-go/qpainter/painter.cpp:68: undefined reference to `_imp___ZN8QPainter4saveEv' C:\Users\pnikh\AppData\Local\Temp\go-build489265622\github.com\limetext\qml-go\qpainter\_obj\painter.cpp.o:...

Runing go-qml tests gives this panic report: ``` ---------------------------------------------------------------------- PANIC: qml_test.go:52: S.TearDownTest There are still objects alive; waiting for them to die: qml.Statistics{EnginesAlive:0, ValuesAlive:0, ConnectionsAlive:2} There are still objects alive;...

Currently it panics due to shared pointers without exporting GODEBUG=cgocheck=0. Some related discussions https://github.com/go-qml/qml/issues/170. ## --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36103203-support-go-1-6?utm_campaign=plugin&utm_content=tracker%2F34597504&utm_medium=issues&utm_source=github)** We accept bounties via...

bug