diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2025-03-31 16:27:06 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2025-04-17 12:10:21 +0200 |
| commit | 672e181ccc590722c49dc9b3c6db05f29aa68790 (patch) | |
| tree | 430d07572a3e66e15bdcd1e76512083a83fc316c /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | a86367089035645e80ee9502265652a73e7493dd (diff) | |
tst_qmllint: add shorthand to enable categories
Add a CallOption struct that allows to control how qmllint is invoked,
and an callQmllint() overload that accepts this CallOption struct.
Currently it only allows to enable disabled categories. This is useful
to test warnings that are disabled by default, for example the
"function-used-before-declaration" opt-in category that will be added in
a later commit.
Task-number: QTBUG-129307
Change-Id: I82b2201e1389dd1f95364109e159eaa5f5b87115
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
