Qt Declarative (Quick 2)
Go to file
Fabian Kosmale 131db085a7 QML: Don't unconditionally invalidate cache if inline component is used
With inline components, we might have the case that an outer components
depends on an inline component defined in the same file. In that case,
the ResolvedType of the inline component has some very specific
characteristics we can recognize when adding to the hash.

We don't actually have to add  such inline components to the hash since
they are just part of the same file. If they change, the file will
change, leading to a different timestamp, which is caught earlier.

Pick-to: 6.5 6.5.0 6.2
Fixes: QTBUG-111042
Change-Id: I8ae716e55dd783cc8409039bd7baffe051df2b96
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-03-02 13:17:47 +01:00
LICENSES Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
cmake Make Sure that `qml_compile_hash_p.h` Isn't Missing 2022-10-26 14:02:58 +02:00
coin QML DOM: Remove support for Qt < 6.5 2023-01-30 15:58:11 +01:00
dist
examples qmldom: link qmldomloadeditwrite example to non-standalone qmldom 2023-03-02 08:59:15 +00:00
features
src QML: Don't unconditionally invalidate cache if inline component is used 2023-03-02 13:17:47 +01:00
tests QML: Don't unconditionally invalidate cache if inline component is used 2023-03-02 13:17:47 +01:00
tools qmltyperegistrar: Guard against file system failures 2023-02-17 11:06:21 +01:00
.cmake.conf Remove QT_USE_SYNCQT_CPP 2023-01-02 19:43:56 +01:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
.gitmodules
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
conanfile.py Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2023-02-24 05:34:04 +00:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy
sync.profile qmlls: move into own private static library 2023-02-07 19:23:13 +01:00