Hi,
I am using Qt 5.9 and Felgo 2.14.1 on mac os sierra 10.12.6. Also I installed every Qt/Felgo module and latest update for ios and android with the maintenance tool.
When I compile for android with a cable connected android phone, everything works fine.
But if I compile with the new Felgo Live it ends with an error on desktop and mobile either:
QQmlComponent: Component is not ready
/Users/arnegockeln/Library/Application Support/Felgo Live Client/qml/Main.qml:28: Type ArticlePage unavailable
/Users/arnegockeln/Library/Application Support/Felgo Live Client/qml/pages/ArticlePage.qml:3: module "QtWebView" is not installed
My .pro file starts like this:
# allows to add DEPLOYMENTFOLDERS and links to the Felgo library and QtCreator auto-completion
CONFIG += v-play
QT += webview
In main.cpp I use this:
#include <QApplication>
#include <VPApplication>
#include <QQmlApplicationEngine>
#include <QtWebView>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QtWebView::initialize();
VPApplication vplay;
// Use platform-specific fonts instead of Felgo's default font
vplay.setPreservePlatformFonts(true);
QQmlApplicationEngine engine;
vplay.initialize(&engine);
// use this during development
// for PUBLISHING, use the entry point below
vplay.setMainQmlFileName(QStringLiteral("qml/Main.qml"));
// use this instead of the above call to avoid deployment of the qml files and compile them into the binary with qt's resource system qrc
// this is the preferred deployment option for publishing games to the app stores, because then your qml files and js files are protected
// to avoid deployment of your qml files and images, also comment the DEPLOYMENTFOLDERS command in the .pro file
// also see the .pro file for more details
// vplay.setMainQmlFileName(QStringLiteral("qrc:/qml/Main.qml"));
engine.load(QUrl(vplay.mainQmlFileName()));
return app.exec();
}
The imports of my ArticlePage.qml looks like this:
import Felgo 3.0
import QtQuick 2.0
import QtWebView 1.1
import "../util"
import "../../assets/backend.js" as Backend
import "../R24"
So, I can’t find any information about the availability in the docs. Is the QtWebView not yet supported in Felgo Live?
Thanks for your support.
Best, Arne