Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 4.12.0, Qt Creator 4.14.0
-
1b134a69090c7326554157494f89271a5c088ae2 (qt-creator/qt-creator/4.13)
Description
Import a module without a version is supported in Qt 6:
import QtQuick
However, Creator complains about it:
[...]/ErrorPopup.qml:3: error: package import requires a version number
This makes for a very noisy Issues pane for any project with more than a trivial amount of QML files.
Personally I have ~2550 QML errors as a result of this, which makes it hard to see the legitimate errors.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-24849 QML import without version fails
- Closed
For Gerrit Dashboard: QTCREATORBUG-24533 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
314965,3 | QmlJS: Suppress "package import requires a version number" message | master | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |
315687,7 | QmlJS: accept import without version | 4.13 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
331141,2 | qmljs: Suppress "package requires a version number" with unknown Qt | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |