diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-17 14:33:35 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-03-17 15:36:02 +0000 |
commit | fbcf3fbaf525fbf406bb76cbc8fd9b285776e73b (patch) | |
tree | cb570bf31c44c90d8daf42dd33f5c101e74d348a | |
parent | 79bb45ae7f3135c0f8a93a01f6dae36aa75196eb (diff) |
Fix test qtexttospeech_test.py to run in 6.4
The test was missing an application import, which did not show
in 6.5 since there, no text to speech engine can be found any more.
Amends 52e3888582ac3f3db322d7113734ce43dc325099.
Task-number: PYSIDE-1564
Change-Id: I5c7855889b2e1b5e6a836bd99c10ac761c0802ac
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit 992f782db1c1a7aeed264a3d89c5afec280be64f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/pyside6/tests/QtTextToSpeech/qtexttospeech_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtTextToSpeech/qtexttospeech_test.py b/sources/pyside6/tests/QtTextToSpeech/qtexttospeech_test.py index 53e0c4cc4..73c0bb370 100644 --- a/sources/pyside6/tests/QtTextToSpeech/qtexttospeech_test.py +++ b/sources/pyside6/tests/QtTextToSpeech/qtexttospeech_test.py @@ -16,6 +16,7 @@ init_test_paths(False) from helper.usesqapplication import UsesQApplication from PySide6.QtCore import QTimer +from PySide6.QtWidgets import QApplication try: from PySide6.QtTextToSpeech import QTextToSpeech, QVoice |