diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-13 13:49:22 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-13 13:49:22 +0200 |
commit | ded8496439c0a1bfa2d244470cbd99113b8e84be (patch) | |
tree | f691d38fffadf4c314b615bccff027de5f14d970 /nephilim.py | |
parent | 56b63e7929bc9a2b74535107e7a9bb5f317bacc1 (diff) |
Port to PyQt5.
Diffstat (limited to 'nephilim.py')
-rwxr-xr-x | nephilim.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nephilim.py b/nephilim.py index 32c868f..7091eb7 100755 --- a/nephilim.py +++ b/nephilim.py @@ -25,12 +25,9 @@ import logging from traceback import print_exc from optparse import OptionParser try: - import sip - sip.setapi('QString', 2) - sip.setapi('QVariant', 2) - from PyQt4 import QtGui + from PyQt5 import QtGui except ImportError: - sys.exit('PyQt4 not found. Ensure that it is installed.') + sys.exit('PyQt5 not found. Ensure that it is installed.') from nephilim.nephilim_app import NephilimApp |