mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Workaround for PyQt import from Qt module bug
This commit is contained in:
parent
cb6151e4e1
commit
dd677e21cb
@ -4,11 +4,13 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
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…
x
Reference in New Issue
Block a user