The Qt Qml extension on VS Code keeps reporting:
/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick.2/plugins.qmltypes:(row):(column): Meta object revision and export version differ.
Revision (x) corresponds to version 0.(x); it should be 2.0.
This occurs everywhere the line: exportMetaObjectRevisions: [0] is found.
Note: Debian 13 and Qt 5.15 are used.
What I have tried:
- Defining specific include paths inside the extension's settings
- changing the number in the problematic line
exportMetaObjectRevisions: [0]to 2, 2.0, and "2.0" which didn't work - I have tried using
qmlplugindumpto rebuild it however it reports another error (QtQml.WorkerScript not installed) which belongs in its own question.
Edit: It turns out qt5 doesn't seem to have any form of qmlls, but qt6 does. Any explanations for why it still worked and why it reported these errors will be accepted