Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
6.8.0 Beta1
-
Qt 6.8 Beta1
QtCreator 14.0.0. Beta1
-
-
b1ff6073a (dev), 2f4a57773 (6.8)
Description
this is a follow up of https://bugreports.qt.io/browse/QTBUG-126504
got issues with ekkeTestNested project, attached to QTBUG-126504
tested withQt 6.8 Beta1 and QtC 14.0.0 Beta1, where QML Language Server is used
–
Main.qml import Ekke.Apps.Main:
Main.qml:-1: warning: Failed to import Ekke.Apps.Main. Are your import paths set up properly?
QML_SINGLETON MyApp in Main.qml getting 'unqualified access'
-
HomePage
pages/HomePage.qml:34: warning: LabelTitle was not found. Did you add all import paths?
pages/HomePage.qml:34: warning: 'LabelTitle' is used but it is not resolved
same for FloatingActionButton, AdminDialog
explicit import doesnt help
-
AdminDialog
with explicit import:
popups/AdminDialog.qml:-1: warning: Failed to import Ekke.Apps.Main. Are your import paths set up properly?
LabelTitle and LabelSubheading now not found
QML_ELEMENT SettingsData not recognized:
popups/AdminDialog.qml:25: warning: SettingsData was not found. Did you add all import paths?
QML_ELEMENT not recognized and QML_SINGLETON DataManager 'unqualified access'
-
probably the issues with QML_SINGLETONs 'unqualified access' and QML_ELEMENTs not recognized are gone with https://codereview.qt-project.org/c/qt/qtdeclarative/+/570271
Would be great if import paths - errors will go away and qmlls will know about nested QML dirs and implicit imports.
will test again immediately with 6.8 Beta2
Attachments
Issue Links
- is duplicated by
-
QTBUG-126504 QML Nested Imports - some problems
- Closed
-
QTBUG-129991 QML singletons error without manually creating qmldir file
- Closed
- resulted from
-
QTBUG-126504 QML Nested Imports - some problems
- Closed
For Gerrit Dashboard: QTBUG-126680 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
582254,18 | qmlls: find and use resource files from .qt/rcc | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
589815,2 | qmlls: find and use resource files from .qt/rcc | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
590198,1 | qmlls: find and use resource files from .qt/rcc | 6.7 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |