mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
Workaround for PyQt import from Qt module bug
This commit is contained in:
parent
cb6151e4e1
commit
dd677e21cb
1 changed files with 2 additions and 0 deletions
|
|
@ -4,11 +4,13 @@
|
|||
import os, sys, Queue, threading, glob
|
||||
from threading import RLock
|
||||
from urllib import unquote
|
||||
import PyQt5.QtWebKitWidgets # This is needed to ensure that import from the Qt shortcut module work
|
||||
from PyQt5.Qt import (
|
||||
QFileInfo, QObject, QBuffer, Qt, QStyle, QByteArray, QTranslator,
|
||||
QCoreApplication, QThread, QEvent, QTimer, pyqtSignal, QDateTime,
|
||||
QDesktopServices, QFileDialog, QFileIconProvider, QSettings, QIcon,
|
||||
QApplication, QDialog, QUrl, QFont, QFontDatabase, QLocale, QFontInfo)
|
||||
del PyQt5
|
||||
|
||||
ORG_NAME = 'KovidsBrain'
|
||||
APP_UID = 'libprs500'
|
||||
|
|
|
|||
Loading…
Reference in a new issue