Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.5, 6.5, 6.6.3, 6.7.0 Beta3, 6.8.0 FF
-
6.4.3
-
None
-
Tested on Arch Linux and on macOS with Mac Mini M2 Pro.
-
-
b0efb7b30 (dev), eb3e2e578 (6.7), a773b38f8 (6.6), 01b24614d (tqtc/lts-6.5)
Description
When running qmllint against files which use WebView it will fail on most (all?) platforms.
Using the following test file, I get different warnings on different platforms:
import QtQuick import QtWebView Item { WebView { } }
On Android and iOS I get the following:
Warning: Test.qml: QQuickItem was not found. Did you add all import paths? Warning: Test.qml:5:5: Type WebView is used but it is not resolved WebView {
On Linux I get this:
Warning:Test.qml:2:1: Warnings occurred while importing module "QtWebView": import QtWebView ^^^^^^ --- Warning: /usr/lib/qt6/qml/QtWebChannel/plugins.qmltypes:15:37: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 1.0. ---
qmllint is excuted as follows:
Android: /opt/Qt/6.4.3/gcc_64/bin/qmllint --bare -I /opt/Qt/6.4.3/android_arm64_v8a/qml/ Test.qml iOS: qmllint --bare -I ~/Qt/6.4.3/ios/./qml Test.qml Linux: /usr/lib/qt6/bin/qmllint Test.qml or: /usr/lib/qt6/bin/qmllint --bare -I /usr/lib/qt6/qml Test.qml