Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.12.4
-
None
Description
When using QML WebView (import QtWebView 1.1), I receive the following runtime error message:
module "QtWebView" is not installed
I build Qt for iOS using the following configure command (shadow build)
../5124/configure -xplatform macx-ios-clang -developer-build -nomake examples -nomake tests -opensource -confirm-license -static -no-icu
The generated qrc file does not contain the required QtWebView's qmldir:
:/qt-project.org/imports/QtWebView/qmldir
but instead contains the following files (which are not recognised at runtime):
:/qt-project.org/imports/QtWebView/5124Build :/qt-project.org/imports/QtWebView/5124Build/qtwebview :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src/imports :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src/imports/qmldir
A workaround (and possible solution) is to modify in the generated qrc file:
/qt/build/path/qtwebview/src/imports/.rcc/release
the alias of the qmldir to
qmldir
instead of some weird path.