# -*- coding: utf-8 -*-
import sip

# Reference: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-PyQt4-API-Version

sip.setapi(u'QDate', 2)
sip.setapi(u'QDateTime', 2)
sip.setapi(u'QString', 2)
sip.setapi(u'QTextStream', 2)
sip.setapi(u'QTime', 2)
sip.setapi(u'QUrl', 2)
sip.setapi(u'QVariant', 2)

# -*- coding: utf-8 -*-
import sip

# Reference: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-PyQt4-API-Version

sip.setapi(u'QDate', 2)
sip.setapi(u'QDateTime', 2)
sip.setapi(u'QString', 2)
sip.setapi(u'QTextStream', 2)
sip.setapi(u'QTime', 2)
sip.setapi(u'QUrl', 2)
sip.setapi(u'QVariant', 2)

# -*- coding: utf-8 -*- # Reference: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-PyQt4-API-Version