Go builder broken for Qt 5.12
Compiling the go template with Qt 5.12 using !336 (merged) results in:
export GOPATH=~/go
mkdir $GOPATH
go get -d github.com/nanu-c/qml-go
clickable create # choose go template
cd appname
clickable build -a arm64 # or armhf or amd64
Output:
# github.com/nanu-c/qml-go
In file included from /gopath/path0/src/github.com/nanu-c/qml-go/cpp/private/qobject_p.h:2:0,
from /usr/include/aarch64-linux-gnu/qt5/QtCore/5.12.9/QtCore/private/qmetaobject_p.h:58,
from /gopath/path0/src/github.com/nanu-c/qml-go/cpp/private/qmetaobject_p.h:2,
from cpp/govalue.h:7,
from cpp/capi.cpp:11,
from all.cpp:2:
/usr/include/aarch64-linux-gnu/qt5/QtCore/5.12.9/QtCore/private/qobject_p.h:55:38: fatal error: QtCore/private/qglobal_p.h: No such file or directory
compilation terminated.
The file exists:
$ clickable -a arm64 run "find / -name qglobal_p.h"
/usr/include/aarch64-linux-gnu/qt5/QtCore/5.12.9/QtCore/private/qglobal_p.h
So it can only be the missing include directory. It is weird though that qobject_p.h
has been found, even though it is located at the same path.
Edited by Jonatan Hatakeyama Zeidler