aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_HELP/tst_HELP04/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_HELP/tst_HELP04/test.py')
-rw-r--r--tests/system/suite_HELP/tst_HELP04/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/system/suite_HELP/tst_HELP04/test.py b/tests/system/suite_HELP/tst_HELP04/test.py
index 18e3ee45639..83941679b9f 100644
--- a/tests/system/suite_HELP/tst_HELP04/test.py
+++ b/tests/system/suite_HELP/tst_HELP04/test.py
@@ -69,7 +69,8 @@ def main():
startQC()
if not startedWithoutPluginError():
return
- addHelpDocumentation([os.path.join(qt4Path, "doc", "qch", "qt.qch")])
+ if qt4Available:
+ addHelpDocumentation([os.path.join(qt4Path, "doc", "qch", "qt.qch")])
# switch to help mode
switchViewTo(ViewConstants.HELP)
# verify that search widget is accessible