hplip/hplip-qt5-smart-install.py
Zdenek Dohnal fea1bc106d 2015910 - [GUI] hp-setup crashes when loading smart_install module
1959242 - hplip-3.21.12 is available
2022-01-17 16:12:31 +01:00

14 lines
827 B
Python

diff --git a/base/smart_install.py b/base/smart_install.py
index ec30aef..dd95e09 100755
--- a/base/smart_install.py
+++ b/base/smart_install.py
@@ -226,7 +226,7 @@ def disable(mode, ui_toolkit='qt4', dialog=None, app=None, passwordObj = None):
dialog.init(printer_names, "", QUEUES_SMART_INSTALL_ENABLED)
else: # If QT object is not created, creating QT app
try:
- from ui4.queuesconf import QueuesDiagnose
+ from ui5.queuesconf import QueuesDiagnose
except ImportError:
log.error("Unable to load Qt4 support. Is it installed?")
else: # app = QApplication(sys.argv) # caller needs to inoke this, if already QApplication object is not created.