mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
DRYer
This commit is contained in:
parent
75ffbbba42
commit
2dd562b731
@ -69,18 +69,16 @@ QT_PLUGINS = [
|
|||||||
# 'audio', 'printsupport', 'bearer', 'position',
|
# 'audio', 'printsupport', 'bearer', 'position',
|
||||||
]
|
]
|
||||||
|
|
||||||
if not ismacos and not iswindows:
|
|
||||||
QT_PLUGINS.append('platforminputcontexts')
|
|
||||||
else:
|
|
||||||
QT_PLUGINS.append('styles')
|
|
||||||
|
|
||||||
if islinux:
|
if islinux:
|
||||||
QT_PLUGINS += [
|
QT_PLUGINS += [
|
||||||
|
'platforminputcontexts',
|
||||||
'wayland-decoration-client',
|
'wayland-decoration-client',
|
||||||
'wayland-graphics-integration-client',
|
'wayland-graphics-integration-client',
|
||||||
'wayland-shell-integration',
|
'wayland-shell-integration',
|
||||||
'xcbglintegrations',
|
'xcbglintegrations',
|
||||||
]
|
]
|
||||||
|
else:
|
||||||
|
QT_PLUGINS.append('styles')
|
||||||
|
|
||||||
PYQT_MODULES = (
|
PYQT_MODULES = (
|
||||||
'Qt',
|
'Qt',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user