I tried the qmldemo example (with my fix #3) and I was able to compile it both in linux and windows using the github.com/qtchina/qt512_qtenv_* libraries. But both in linux and windows it fails with a long list of errors for every qml related component:
2020/04/29 14:50:22 demo.go:40: rect mod qml:
file:///C:/qtenv64/bin/qml/loader-production.qml:1:1: module "QtQuick" is not installed
import QtQuick 2.6
^
It looks like the QtQuick libraries are not part of the dll/so.
In windows I get an extra couple of errors:
2020/04/29 14:50:21 ffi_invoke.go:366: dl: "ffi_call_ex": The specified procedure could not be found. Qt5Inline.dll ffi_
call_ex
2020/04/29 14:50:21 ffi_invoke.go:366: dl: "ffi_call_var_ex": The specified procedure could not be found. Qt5Inline.dll
I'm also wondering why loading the qml files from a file you build the rcc_rc.go? I did try to change the path to qrc:/qml/loader-production.qml without success. Is there any examples around on how to use qrc resources with qt.go?
Thank you for the library, I really like the approach.
I tried the qmldemo example (with my fix #3) and I was able to compile it both in linux and windows using the
github.com/qtchina/qt512_qtenv_*
libraries. But both in linux and windows it fails with a long list of errors for every qml related component:It looks like the QtQuick libraries are not part of the dll/so.
In windows I get an extra couple of errors:
I'm also wondering why loading the qml files from a file you build the
rcc_rc.go
? I did try to change the path toqrc:/qml/loader-production.qml
without success. Is there any examples around on how to use qrc resources with qt.go?Thank you for the library, I really like the approach.