Hi I just started using felgo and I need to use c++ with it. I’m following the tutorial on c++ integration but I’m running into trouble. I’m following here but when I get to Expose an Object to QML as a Context Property I get this error at engine.rootContext()->setContextProperty:
main.cpp:34:25: error: member access into incomplete type ‘QQmlContext’
qqml.h:570:7: note: forward declaration of ‘QQmlContext’
I can get to engine.rootContext() but setContextProperty doesn’t seem to exist.
Any help and/or advice?