Compile exemple go qml

Try compile

and have many errors

panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 1 [running, locked to thread]:, 0x2ec29728, 0x2ec1ab20, 0x5e1ca0)
C:/GOpath/src/ +0x47, 0x4df8a0, 0x3f136170, 0x1, 0x0)
C:/GOpath/src/ +0x1bb, 0x3f136170, 0x3f136190, 0x3f0f8480, 0x442a01)
C:/GOpath/src/ +0x17a*Context).SetVar.func1()
C:/GOpath/src/ +0x7a
C:/GOpath/src/ +0x54 +0x17 +0x33, 0x0, 0x0)
C:/GOpath/src/ +0xba

I set GODEBUG environment and compile successful

That still sounds like a problem that should be fixed in the qml package. You haven’t solved the problem, just disabled the check for it. But go-qml hasn’t been updated in several years from what I can see, and this problem originates with Go 1.6:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.