eric6.py

changeset 3708
4fbb91fb6a31
parent 3670
f0cb7579c0b4
child 3709
191ccdf78966
equal deleted inserted replaced
3705:a88eb398a4ed 3708:4fbb91fb6a31
31 import os 31 import os
32 import traceback 32 import traceback
33 import time 33 import time
34 import logging 34 import logging
35 35
36 from PyQt5.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication 36 try:
37 from PyQt5.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication
38 except ImportError:
39 try:
40 from tkinter import messagebox
41 messagebox.showerror(
42 "eric6 Error",
43 "PyQt5 could not be imported. Please make sure"
44 " it is installed and accessible.")
45 except ImportError:
46 pass
47 sys.exit(100)
37 48
38 # some global variables needed to start the application 49 # some global variables needed to start the application
39 args = None 50 args = None
40 mainWindow = None 51 mainWindow = None
41 splash = None 52 splash = None

eric ide

mercurial