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