Qt Declarative (Quick 2)
Go to file
Sami Shalayel 892ff6c8e2 qqmljscontextproperties: "grep" for setContextProperty calls
Add code to Grep the project folder for "setContextProperty" calls, so that
a later commit can warn about usages of those context properties.

Use grep to find files with setContextProperty calls, and then run a
QRegularExpression on the files to extract the names and locations of
the context properties.

Add a fallback in case there is no grep on the system, and don't run
grep on windows. Also avoid unused functions errors on windows where
grep is not run so its output also does not need to be parsed.

Task-number: QTBUG-128232
Change-Id: I15ceb2bbeb6ae6ac83f4bfa85b8a44d5a897d0a7
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
2025-05-22 09:19:47 +02:00
LICENSES Add REUSE.toml files and missing licenses 2024-10-29 14:00:19 +02:00
cmake QtQml: Drop checks for compile hash and Qt version from the CUs 2025-03-18 10:53:07 +01:00
coin Make module ready for source SBOM checking 2025-02-21 20:24:43 +01:00
dist Add REUSE.toml files and missing licenses 2024-10-29 14:00:19 +02:00
examples Doc: Fix Linking issues 2025-05-20 09:16:13 +00:00
features Add the skeleton for a D3D12 backend 2016-02-19 14:51:37 +00:00
src qqmljscontextproperties: "grep" for setContextProperty calls 2025-05-22 09:19:47 +02:00
tests qqmljscontextproperties: "grep" for setContextProperty calls 2025-05-22 09:19:47 +02:00
tools Improve builds for non-threaded qt 2025-05-20 15:04:51 +00:00
.cmake.conf Bump version to 6.10.0 2025-01-03 11:57:39 +01:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore QtQml: Drop checks for compile hash and Qt version from the CUs 2025-03-18 10:53:07 +01:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.gitreview Add .gitreview file 2025-02-26 20:54:40 +01:00
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Add RunCMake tests 2025-03-24 17:01:18 +01:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
REUSE.toml Update licensing of files with infrastructure type 2025-03-13 14:59:06 +01: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 2025-05-21 05:55:25 +00:00
licenseRule.json Update licensing of files with infrastructure type 2025-03-13 14:59:06 +01:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00