summaryrefslogtreecommitdiffstats
path: root/src/designer
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2024-03-18 16:19:43 +0100
committerLucie Gérard <lucie.gerard@qt.io>2024-04-04 15:52:34 +0100
commitf79d8986501e960a2e8bf4e936e259bbc854afcc (patch)
tree1e09f15887da5c67a261e06c0df97f0c7f3bf9f0 /src/designer
parent12bfbe304329ef5c908958a5cf44969f91719771 (diff)
Modify name ending of python script
With the new ending it is the file is identify as a tool according to the rules in QUIP 18-[1] [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I8ce307079d37a27046afac8d9f96c095ec1effab Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'src/designer')
-rw-r--r--src/designer/data/README2
-rw-r--r--src/designer/data/generate_ui.py (renamed from src/designer/data/generate_ui)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/data/README b/src/designer/data/README
index b7160b8f6..5b05ffa26 100644
--- a/src/designer/data/README
+++ b/src/designer/data/README
@@ -1,4 +1,4 @@
-You may generate ui4.h and ui4.cpp parser files by using the generate_ui script
+You may generate ui4.h and ui4.cpp parser files by using the generate_ui.py script
or manually by invoking the xsltproc command:
xsltproc generate_header.xsl ui4.xsd > ui4.h
diff --git a/src/designer/data/generate_ui b/src/designer/data/generate_ui.py
index c5cfb76df..05472c7f5 100644
--- a/src/designer/data/generate_ui
+++ b/src/designer/data/generate_ui.py
@@ -12,7 +12,7 @@ from tempfile import NamedTemporaryFile
DESCRIPTION = """
-Usage: generate_ui
+Usage: generate_ui.py
Generates the source files ui4.cpp, ui4.h used in the uic tool, the QtUiTools library and
Qt Widgets Designer from the XML schema used for .ui files.