1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Bucket of various tweaks

This commit is contained in:
Paweł Jastrzębski
2014-01-15 10:24:31 +01:00
parent 878e92b527
commit 19b438844d
6 changed files with 21 additions and 21 deletions

6
kcc.py
View File

@@ -27,15 +27,15 @@ import sys
import os
try:
# noinspection PyUnresolvedReferences
from PyQt4 import QtCore, QtGui, QtNetwork
from PyQt5 import QtCore, QtGui, QtNetwork
except ImportError:
print("ERROR: PyQT4 is not installed!")
print("ERROR: PyQT5 is not installed!")
if sys.platform.startswith('linux'):
import tkinter
import tkinter.messagebox
importRoot = tkinter.Tk()
importRoot.withdraw()
tkinter.messagebox.showerror("KCC - Error", "PyQT4 is not installed!")
tkinter.messagebox.showerror("KCC - Error", "PyQT5 is not installed!")
exit(1)
from kcc import KCC_gui
from multiprocessing import freeze_support