Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6dcaaca3a (dev), 6b2e05d9c (6.5), b9db5246b (6.4), 05c16d8e1 (dev), 5ee0ed790 (6.5)
Description
Suggestion
For both our source code and our published examples, establish tools and processes (manual or automatic) to achieve the following:
- Identify all the warnings that are now fixable
- Avoid introducing new fixable warnings
Why?
Because our published examples are meant to be used as references, and because https://doc.qt.io/qt-6/qtquickcontrols2-customize.html instructs users to copy our code from $QTDIR/qml/QtQuick/Controls/Basic/
Some possible outcomes of such processes are:
- When a new example is added, its warnings are reviewed and the fixable ones are fixed earlier (so
QTBUG-110831would've been prevented or addressed earlier) - When a new pragma is introduced, we would have be alerted to the places in our existing code that needs this pragma (so https://codereview.qt-project.org/c/qt/qtdeclarative/+/459949 would've been part of the Qt 6.4.0 release)
Attachments
Issue Links
- covers
-
QDS-10695 Qt Design Studio tutorials are broken
- Closed
- relates to
-
QTBUG-110827 Qt's Gallery example producing tons of warning/errors
- Closed
-
QDS-9809 Qt Quick Studio Components/Effects: Fix compilation warnings
- Closed
- resulted in
-
QTBUG-111176 Views pass either "model" or "modelData" to delegates, depending on type of model
- Closed
- split to
-
QTBUG-131978 Update our published QML code to reflect current best practices
- In Progress