2013-02-14 17:30:28 +00:00
|
|
|
import sip
|
|
|
|
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)
|
2013-02-16 18:04:17 +00:00
|
|
|
sip.setapi(u'QVariant', 2)
|
|
|
|
|
2013-03-14 22:22:18 +00:00
|
|
|
#from PyQt4 import QtGui
|
2013-02-16 18:04:17 +00:00
|
|
|
|
2013-03-07 12:34:35 +00:00
|
|
|
# Only one QApplication can be created. Use QtGui.QApplication.instance() when you need to "create" an QApplication.
|
2013-03-14 22:22:18 +00:00
|
|
|
#application = QtGui.QApplication([])
|