Browse Source

Load qt gui when qt 4.7 is not available

283
Maran 13 years ago
parent
commit
f540adaf2a
  1. 8
      electrum

8
electrum

@ -157,10 +157,14 @@ if __name__ == '__main__':
error_message = QErrorMessage()
error_message.setFixedSize(350,200)
error_message.showMessage("<p>Sorry, Electrum requires Qt >= 4.7 to run.</p><p>Check your distributions packages or download it at http://qt.nokia.com/downloads</p>")
error_message.showMessage("<p>Sorry, the Electrum 'Lite GUI' requires Qt >= 4.7 to run. The pro GUI will be started instead.</p><p>Check your distributions packages for upgrades.</p>")
app.exec_()
sys.exit(0)
try:
import lib.gui_qt as gui
except ImportError:
import electrum.gui_qt as gui
else:
try:
import lib.gui_lite as gui
except ImportError:

Loading…
Cancel
Save