diff options
| author | Dennis Oberst <dennis.oberst@qt.io> | 2023-10-31 09:01:54 +0100 |
|---|---|---|
| committer | Dennis Oberst <dennis.oberst@qt.io> | 2024-04-12 11:12:48 +0200 |
| commit | 5a38771ba936584fe84537a4b01b4e8a0efc8505 (patch) | |
| tree | f8f5dcc311298b0d2260ca6ce71d12f526f17664 /build_scripts/options.py | |
| parent | f86293210f657f3c33f06018a846e80791aec560 (diff) | |
Remove deprecated command 'build_rst_docs'
... has been removed in favor of 'build_base_docs'.
[ChangeLog][PySide6] 'build_rst_docs' has been removed in favor of
'build_base_docs'.
Fixes: PYSIDE-2504
Change-Id: I2abcd6d1cef8c6b6095c9f25500380adc748ab83
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/options.py')
| -rw-r--r-- | build_scripts/options.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/build_scripts/options.py b/build_scripts/options.py index bfaf03262..806d4a8a3 100644 --- a/build_scripts/options.py +++ b/build_scripts/options.py @@ -123,8 +123,7 @@ def _jobs_option_value(): def find_qtpaths(): # for these command --qtpaths should not be required - no_qtpaths_commands = ["--help", "--help-commands", "--qt-target-path", "build_base_docs", - "build_rst_docs"] + no_qtpaths_commands = ["--help", "--help-commands", "--qt-target-path", "build_base_docs"] for no_qtpaths_command in no_qtpaths_commands: if any(no_qtpaths_command in argument for argument in sys.argv): @@ -461,7 +460,7 @@ class CommandMixin(object): qt_target_path=qt_target_path, cmake_toolchain_file=cmake_toolchain_file) - if 'build_base_docs' not in sys.argv and 'build_rst_docs' not in sys.argv: + if 'build_base_docs' not in sys.argv: try: QtInfo().prefix_dir except Exception as e: @@ -551,9 +550,8 @@ class CommandMixin(object): # while cross-compiling. # Skip this process for the 'build_base_docs' command if (not self.is_cross_compile - and not self.qt_target_path - and 'build_base_docs' not in sys.argv - and 'build_rst_docs' not in sys.argv): + and not self.qt_target_path + and 'build_base_docs' not in sys.argv): # Enforce usage of qmake in QtInfo if it was given explicitly. if self.qmake: self.has_qmake_option = True |
