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
Attachments
For Gerrit Dashboard: QTBUG-112346 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
607512,3 | Unix printing: Update printer settings before checking page ranges | dev | qt/qtbase | Status: NEW | -1 | 0 |
535844,2 | WebViewQuick: Fix QML module | dev | qt/qtwebview | Status: MERGED | +2 | 0 |
536738,2 | WebViewQuick: Fix QML module | 6.7 | qt/qtwebview | Status: MERGED | +2 | 0 |
536928,2 | WebViewQuick: Fix QML module | 6.6 | qt/qtwebview | Status: MERGED | +2 | 0 |
536972,2 | WebViewQuick: Fix QML module | tqtc/lts-6.5 | qt/tqtc-qtwebview | Status: MERGED | +2 | 0 |