mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Test importing of QtWin on windows
This commit is contained in:
parent
3ea989387b
commit
03332d261f
@ -144,6 +144,9 @@ class BuildTest(unittest.TestCase):
|
|||||||
na = QNetworkAccessManager()
|
na = QNetworkAccessManager()
|
||||||
self.assertTrue(hasattr(na, 'sslErrors'), 'Qt not compiled with openssl')
|
self.assertTrue(hasattr(na, 'sslErrors'), 'Qt not compiled with openssl')
|
||||||
from PyQt5.QtWebKitWidgets import QWebView
|
from PyQt5.QtWebKitWidgets import QWebView
|
||||||
|
if iswindows:
|
||||||
|
from PyQt5.Qt import QtWin
|
||||||
|
QtWin
|
||||||
QWebView()
|
QWebView()
|
||||||
del QWebView
|
del QWebView
|
||||||
del na
|
del na
|
||||||
|
Loading…
x
Reference in New Issue
Block a user