-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
-
704ce91eb (dev), 8d6796c14 (6.9), 39c761ac7 (6.8), d34330abb (dev)
Make qmlls working on all examples, such that users can open the example projects in Qt Creator without getting submerged by bogus and real warnings.
(Archive) Status for Qt 6.10.0b4 examples:
QML examples (possible status: tick = qmllint + qmlls clean,
= not qmllint clean,
= won't do, 🐞 = has qmllint or qmlls bug )
Example name | Status | CI runs qmllint | Comment |
---|---|---|---|
applicationmanager/animated-windows | ![]() |
![]() |
|
applicationmanager/application-features | ![]() |
![]() |
the imports are also not recognized in the embedded code model |
applicationmanager/bubblewrap-example | ![]() |
![]() |
|
applicationmanager/frame-timer | ![]() |
![]() |
|
applicationmanager/hello-world | ![]() |
![]() |
|
applicationmanager/intents | ![]() |
![]() |
uses directory import for "shared" which qmlls/qmllint can't find |
applicationmanager/launch-intents | ![]() |
![]() |
|
applicationmanager/minidesk | ![]() |
![]() |
|
applicationmanager/multi-views | ![]() |
![]() |
|
applicationmanager/package-installation | ![]() |
![]() |
|
applicationmanager/process-status | ![]() |
![]() |
has 2 easy to fix unqualified accesses |
charts/qmlchartsgallery | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module(). Also warning while importing qtcharts, probably because of handwritten qmltypes files? qtcharts is in maintenance mode so probably won't be fixed. |
charts/qmloscilloscope | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module(). Also warning while importing qtcharts, probably because of handwritten qmltypes files? qtcharts is in maintenance mode so probably won't be fixed. |
charts/qmlweather | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module(). Also warning while importing qtcharts, probably because of handwritten qmltypes files? qtcharts is in maintenance mode so probably won't be fixed. |
coap/quickmulticastclient | ![]() |
![]() |
|
coap/quicksecureclient | ![]() |
![]() |
|
core/permissions | ![]() |
![]() |
|
datavisualization/qmlaxishandling | ![]() |
![]() |
|
datavisualization/qmlbars | ![]() |
![]() |
|
datavisualization/qmlscatter | ![]() |
![]() |
|
datavisualization/qmlsurfacegallery | ![]() |
![]() |
|
graphs/2d/cockpit | ![]() |
![]() |
|
graphs/2d/hellographs | ![]() |
![]() |
|
graphs/2d/quickwidgetgraph | ![]() |
![]() |
one unqualified access, maybe it was qmllint-cleaned already and then regressed? |
graphs/3d/axishandling | ![]() |
![]() |
there is QValue3DAxisFormatter was not found. Did you add all imports and dependencies? [import] because of a missing DEPENDENCIES TARGET QtGraphs in AxisHandlingExample + other warnings |
graphs/3d/bars | ![]() |
![]() |
there is No type found for property "selectionMode". This may be due to a missing import statement or incomplete qmltypes files. [missing-type] which should be fixed in QtGraphs module + other warnings |
graphs/3d/equation | ![]() |
![]() |
|
graphs/3d/scatter | ![]() |
![]() |
|
graphs/3d/surfacegallery | ![]() |
![]() |
there is Type "QSurface3DSeries::DrawFlags" of property "drawMode" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively. [unresolved-type] which should be fixed in QtGraphs module + other warnings |
graphs/graphprinting | ![]() |
![]() |
|
grpc/chat/client | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added + other warnings |
grpc/magic8ball | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added + other warnings |
grpc/vehicle | ![]() |
![]() |
|
interfaceframework/addressbook | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added (maybe inside some code generator?) + other warnings |
interfaceframework/climate | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added (maybe inside some code generator?) + other warnings |
interfaceframework/qface-tutorial | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added (maybe inside some code generator?) + other warnings |
interfaceframework/remote | ![]() |
![]() |
Some warnings seem to indicate a missing DEPENDENCIES entry, but I can't tell where it should be added (maybe inside some code generator?) + other warnings |
linguist/localizedclock | ![]() |
![]() |
|
linguist/localizedclock-switchlocale | ![]() |
![]() |
|
location/geojson_viewer | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/itemview_transitions | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/mapviewer | ![]() |
![]() |
|
location/minimal_map | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/places | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/places_list | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/places_map | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
location/placespotter | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
lottie/lottietoqml | ![]() |
![]() |
|
lottie/qtlottieviewer | ![]() |
![]() |
Can't be configured, missing lottie file... |
mqtt/quickpublication | ![]() |
![]() |
Just missing some DEPENDENCIES TARGET QtMqtt |
mqtt/quicksubscription | ![]() |
![]() |
|
multimedia/declarative-camera | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
multimedia/video/mediaplayer | ![]() |
![]() |
|
multimedia/video/recorder | ![]() |
![]() |
Adds qml files via qt6_add_resources, no qt_add_qml_module() |
nfc/ndefeditor | ![]() |
![]() |
|
note: skipped examples between nfc/ndefeditor to quick/ folder | |||
quick/advancedtext | ![]() |
![]() |
|
quick/animation | ![]() |
![]() |
|
quick/canvas | ![]() |
![]() |
|
quick/customitems/dialcontrol | ![]() |
![]() |
|
quick/customitems/flipable | ![]() |
![]() |
|
quick/customitems/paintedItem | ![]() |
![]() |
|
quick/dragandrop | ![]() |
![]() |
🐞? qmllint complains about the color Invalid color "#FCC". [Quick.color] |
note: skipped examples between quick/dragandrop to quick/shared | |||
quick/shared | ![]() |
![]() |
propagates its qmllint warnings on all other quick/* examples that includes it |
... |
See QTBUG-137075 for the application example status, currently 10 out of 14 done, missing application examples added as "depends on".
Summary for 6.10.0b4: out of 64 tested normal examples:
- 21 examples have no warnings
- 1 example has bogus (🐞) warnings
- 38 examples have qmllint warnings (unqualified access & friends)
- 3 examples are not using qt_add_qml_module
out of 14 application examples: - 10 have no warnings
- 0 have bogus (🐞) warnings
- 4 examples have qmllint warnings (unqualified access & friends)
(Archive) Status for Qt 6.8.2 examples:
- axishandling:
- charts with qml gallery
- desktop system UI example
- filesystemexplorer:
needs
DEPENDENCIES
QtQml.Models - geojson_viewer
- mapviewer
- location/itemview_transitions
- minimal_map
- abstractitemmodel example
- objectlistmodel
- photosurface
- places
- places list
- places map
- planespotter
- samegame1
- samegame2
- samegame3
- samegame4
- declarative_camara
- dynamicview1- 4
- mediaplayer
- uses directory import "content"
- qmlpreviewer
- qmlvideoexample
- qmlvideorecorder
- qmlwebsocketclient
- does not use qt_add_qml_module, gets warnings:
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:15:37: Meta object revision and export version differ.
Revision 0 corresponds to version 0.0; it should be 1.0.
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:15:40: Meta object revision and export version differ.
Revision 1 corresponds to version 0.1; it should be 1.1.
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:67:37: Meta object revision and export version differ.
Revision 0 corresponds to version 0.0; it should be 1.0.
[import] - should be fixed in QtWebSockets
- does not use qt_add_qml_module, gets warnings:
- qmlwebsocketserver
- qmloscilloscope
- qmlweather
- qt3d multiview port
(real warning but the problem is in the Qt3D.extras module, not the example)
- Qt3D.extras needs to be fixed (
QTBUG-106079) - InputSettings not found
- Qt3D.extras needs to be fixed (
- qt3d pbr materials
- can't assign string to QColor - bogus warning
- InputSettings not found
- Qt3D.extras needs to be fixed (
QTBUG-106079)
- qt3d simple custom material
- bogus warnings: wrong parent is found:
Member "fragment" not found on type "Qt3DCore::QNode" [missing-property]
Member "vertex" not found on type "Qt3DCore::QNode" [missing-property] - Qt3D.extras needs to be fixed (
QTBUG-106079)
- bogus warnings: wrong parent is found:
- qt3d simple example
- Qt3D.extras needs to be fixed (
QTBUG-106079)
- Qt3D.extras needs to be fixed (
- qt3d wireframe example
- Qt3D.extras needs to be fixed (
QTBUG-106079)
- Qt3D.extras needs to be fixed (
- qt interface framework generator
(no qt_add_qml_module)
- does not use qt_add_qml_module
- quick3d custom geometry
- quick3d procedural texture
- contactlist
- example broken: two ContactModel (one in QML and one in C++ defined)
- flatstyle
(no qt_add_qml_module)
- example broken: does not use qt_add_qml_module for the QML modules in the subfolders, only for the "main" QML module
- clocks
- restful api client
- rssnews
- qtquick examples animation
- qtquick example canvas
- drag and drop
- image elements
- keyinteractions
- localstorage
- mousearea
- positioners
- text
- views
- window and screen
- qt quick i18n
- particle affectors
- particle emitters
- image particles
- particles - system
- conway game of life
- pixelator
- missing DEPENDENCIES QtQml.Models
- water pump
- quickwidget
- chat client
- QtWebSockets is broken
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:15:37: Meta object revision and export version differ.
Revision 0 corresponds to version 0.0; it should be 1.0.
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:15:40: Meta object revision and export version differ.
Revision 1 corresponds to version 0.1; it should be 1.1.
/Users/sami/Qt/6.8.2/macos/qml/QtWebSockets/plugins.qmltypes:67:37: Meta object revision and export version differ.
Revision 0 corresponds to version 0.0; it should be 1.0.
[import]
- QtWebSockets is broken
- traffic light dynamic
- traffic light simple + static
- during compilation:
Warning: trafficlight-qml.h:12: TrafficLightStateMachine is declared as foreign type, but cannot be found.
Warning: trafficlight-qml.h:12: Refusing to generate non-lowercase name TrafficLightStateMachine for unknown foreign type
□ leads to 'TrafficLightStateMachine' is used but it is not resolved [unresolved-type] in qmlls
- during compilation:
- samegame
- satellite info
- direct3d 11 qml + metal qml + opengl + RHI + Vulkan
- missing DEPENDENCIES QtQuick
- simple bar graph
- bogus warning in JS method when using untyped parameter:
Member "x" not found on type "undefined" [missing-property]
- bogus warning in JS method when using untyped parameter:
- simple scatter graph
- todolist
- qmlls can't find the ToDoList import
- vectorimage
- 'VectorImage' is used but it is not resolved [unresolved-type]
- also, it seems there is a DEPENDENCIES QtQuick missing in QtQuick.VectorImage it seems...
- virtualassistent
- can't find the robotassistant QML module
- waterpump
- doesn't use qt_add_qml_module
- weatherinfo
- nano browser
TL;DR for Qt 6.8.2:
- 15 examples have true positive warnings
- 12 examples have bogus warnings
- 23 examples have qmllint warnings (unqualified access & friends)
- 33 examples are ok
- from 76 qml examples (found via QtC's example search with "QML")
- depends on
-
QTBUG-138936 qmllint doesn't recognize the type of the root component of the current file
-
- Reported
-
-
QTBUG-137076 Fix qmllint warnings for Calqlatr example
-
- Reported
-
-
QTBUG-138163 Car Configurator: 1686 warnings from qmllint
-
- Reported
-
-
QTBUG-138173 Lightning Viewer: qmllint warnings
-
- Reported
-
-
QTBUG-138189 To Do List: qmllint warnings
-
- In Progress
-
-
QTBUG-106079 qmllint produces warnings from Qt3D imports and components
-
- Closed
-
- is duplicated by
-
QTBUG-135449 Problem with qmlls : VectorImage is used but it is not resolved
-
- Closed
-
- relates to
-
QTBUG-137075 Make all Qt Application Examples warning free
-
- Open
-
- resulted from
-
QTCREATORBUG-32591 qmlls still not work in qt creator
-
- Closed
-
For Gerrit Dashboard: QTBUG-134589 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
631847,4 | VectorImage example: Fix qmllint warnings | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
632264,2 | VectorImage example: Fix qmllint warnings | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
632569,5 | QDS lint plugin: Do not warn about translation functions | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
634756,2 | VectorImage example: Fix qmllint warnings | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
638790,1 | QDS lint plugin: Do not warn about translation functions | 6.9 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |