diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-11-29 14:18:29 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-11-29 18:16:59 +0000 |
commit | d7d78d45a3a322cb45c0b0f8f1b754f4bda8407a (patch) | |
tree | 3be32ea62cd4a86fb088b5edf2332edddd0cafda /examples | |
parent | 389538e2ecb4b07c28ce274087baacdac51996d8 (diff) |
Fix customgeometry.pyproject file
It caused:
File "tools/example_gallery/main.py", line 298, in <module>
content_f += get_code_tabs(pyproject["files"], out_f)
KeyError: 'files'
Amends b9ec49942b3ad53343317e631320c58e59736c22.
As a drive-by, handle the error in the gallery tool.
Change-Id: Ideca9ccb72021780cf8ae7b3f2204733cc2f5e4f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 49353faf76fd8d9a26e6304a5816ccc026c5f9a1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick3d/customgeometry/customgeometry.pyproject | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick3d/customgeometry/customgeometry.pyproject b/examples/quick3d/customgeometry/customgeometry.pyproject index 45f906e20..3e31ac931 100644 --- a/examples/quick3d/customgeometry/customgeometry.pyproject +++ b/examples/quick3d/customgeometry/customgeometry.pyproject @@ -1,3 +1,3 @@ { - "file": ["examplepoint.py", "exampletriangle.py", "main.py", "main.qml", "resources.qrc"] + "files": ["examplepoint.py", "exampletriangle.py", "main.py", "main.qml", "resources.qrc"] } |