qtdeclarative/tools/qmltc
Ulf Hermann 576fafd1e6 Pass qmldir to qmlcachegen, qmllint and qmltc, not the qmltypes file
The tools will still grudgingly accept qmltypes files being passed via
the -i option. We generally expect qmldir files, though. Ignoring the
qmldir file and importing the qmltypes directly, ignores qmldir imports,
dependencies and other component entries. This leads to unresolvable
types.

[ChangeLog][QML Tooling] qmllint expects qmldir files, not qmltypes
files to be passed via the -i option now. This enables it to see the
imports and dependencies of the module being imported. For backwards
compatibility it still accepts qmltypes files, with a warning.

Pick-to: 6.3
Fixes: QTBUG-99043
Change-Id: I5ed32d7e78df1e604aaf1bfa2ebda09d5d57b628
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-12-13 11:51:13 +00:00
..
CMakeLists.txt qmltc: Learn to set QML context for objects 2021-11-17 18:04:41 +01:00
main.cpp Pass qmldir to qmlcachegen, qmllint and qmltc, not the qmltypes file 2021-12-13 11:51:13 +00:00
qmltccodewriter.cpp qmltc: Learn to set QML context for objects 2021-11-17 18:04:41 +01:00
qmltccodewriter.h qmltc: Learn to set QML context for objects 2021-11-17 18:04:41 +01:00
qmltccommandlineutils.cpp
qmltccommandlineutils.h
qmltccompiler.cpp qmltc: Support literal bindings 2021-11-23 18:01:09 +01:00
qmltccompiler.h qmltc: Support literal bindings 2021-11-23 18:01:09 +01:00
qmltccompilerpieces.h qmltc: Support literal bindings 2021-11-23 18:01:09 +01:00
qmltccompilerutils.h qmltc: Compile QML methods to C++ 2021-11-17 18:04:41 +01:00
qmltcoutputir.h qmltc: Learn to set QML context for objects 2021-11-17 18:04:41 +01:00
qmltcoutputprimitives.h qmltcoutputprimitives.h: Fix simple CodeChecker issues 2021-10-25 15:36:42 +02:00
qmltcpropertyutils.h qmltc: Compile QML properties into C++ 2021-11-17 18:04:41 +01:00
qmltctyperesolver.h QmlCompiler: Tighten the constness of various method parameters 2021-11-26 11:57:57 +01:00
qmltcvisitor.cpp Pass qmldir to qmlcachegen, qmllint and qmltc, not the qmltypes file 2021-12-13 11:51:13 +00:00
qmltcvisitor.h Pass qmldir to qmlcachegen, qmllint and qmltc, not the qmltypes file 2021-12-13 11:51:13 +00:00