setdestroyonexit (#907)
This commit is contained in:
parent
31c42a4f75
commit
463fec1158
@ -8,6 +8,11 @@ from anki.utils import isWin, isMac
|
||||
sip.setapi('QString', 2)
|
||||
sip.setapi('QVariant', 2)
|
||||
sip.setapi('QUrl', 2)
|
||||
try:
|
||||
sip.setdestroyonexit(False)
|
||||
except:
|
||||
# missing in older versions
|
||||
pass
|
||||
from PyQt4.QtCore import *
|
||||
from PyQt4.QtGui import *
|
||||
from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings
|
||||
|
Loading…
Reference in New Issue
Block a user