mirror of
https://github.com/ciromattia/kcc
synced 2026-05-21 15:02:15 +00:00
Add native Apple Silicon support by upgrading qt5 to qt6 (#523)
* initial upgrade * fix epub icon * pyside6 * fix tray icon * add spaces * add comment back * change exec * edit shared * Add CheckState enums * add mozJpeg * fix batch * import CheckedState * remove references to qt5 * add mozJpeg warning * Update package-linux.yml * Update package-linux.yml * Update Dockerfile-base * Update README.md * Update package-linux.yml * Update README.md * Update README.md * add mozjpeg to gitignore * add warning text * fix state issue * use same settings save location as qt5 * remove space * remove mozJpeg * update Dockerfile-base file version * use getattr instead of eval * undo readme changes * undo conda * undo gitignore --------- Co-authored-by: Alexander Xu <alexanderx@qualtrics.com> Co-authored-by: darodi <4682830+darodi@users.noreply.github.com>
This commit is contained in:
@@ -102,11 +102,11 @@ def dependencyCheck(level):
|
||||
missing = []
|
||||
if level > 2:
|
||||
try:
|
||||
from PyQt5.QtCore import qVersion as qtVersion
|
||||
if StrictVersion('5.6.0') > StrictVersion(qtVersion()):
|
||||
missing.append('PyQt 5.6.0+')
|
||||
from PySide6.QtCore import qVersion as qtVersion
|
||||
if StrictVersion('6.5.1') > StrictVersion(qtVersion()):
|
||||
missing.append('PySide 6.5.1+')
|
||||
except ImportError:
|
||||
missing.append('PyQt 5.6.0+')
|
||||
missing.append('PySide 6.5.1+')
|
||||
try:
|
||||
import raven
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user