diff options
Diffstat (limited to 'build_scripts/options.py')
| -rw-r--r-- | build_scripts/options.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/options.py b/build_scripts/options.py index d384be2c9..e4593f71d 100644 --- a/build_scripts/options.py +++ b/build_scripts/options.py @@ -546,7 +546,8 @@ class CommandMixin(object): # We also don't do auto-searching if qt-target-path is passed # explicitly. This is to help with the building of host tools # while cross-compiling. - if not self.is_cross_compile and not self.qt_target_path: + # Skip this process for the 'build_rst_docs' command + if not self.is_cross_compile and not self.qt_target_path and 'build_rst_docs' not in sys.argv: # Enforce usage of qmake in QtInfo if it was given explicitly. if self.qmake: self.has_qmake_option = True |
