Hello,
When using QWebView through deployment (using QtIosCmake), I had to manually add:
Q_IMPORT_PLUGIN(QWebViewModule)
Q_INIT_RESOURCE(qmake_QtWebView)
This has been found as follows:
λ nm ./qml/QtWebView/libdeclarative_webview.a | c++filt | grep -i static
---------------- T qt_static_plugin_QWebViewModule()
...
λ nm ./qml/QtWebView/libdeclarative_webview.a | c++filt | grep -i init
...
---------------- T qInitResources_qmake_QtWebView()
...
libdeclarative_webview.a is correctly scanned, but these corresponding macros are missing from either qt_generate_qml_plugin_import or qt_generate_plugin_import.
Adding these macros results in successful device and simulator build and deployment.
With a little guidance I'll be glad provide a merge request.
Finally, big ups for this very very impressive, helpful and functional set of cmake macros.
Hello,
When using
QWebViewthrough deployment (usingQtIosCmake), I had to manually add:Q_IMPORT_PLUGIN(QWebViewModule)Q_INIT_RESOURCE(qmake_QtWebView)This has been found as follows:
libdeclarative_webview.ais correctly scanned, but these corresponding macros are missing from eitherqt_generate_qml_plugin_importorqt_generate_plugin_import.Adding these macros results in successful device and simulator build and deployment.
With a little guidance I'll be glad provide a merge request.
Finally, big ups for this very very impressive, helpful and functional set of cmake macros.