openlp/tests/interfaces/__init__.py

14 lines
368 B
Python
Raw Normal View History

2013-02-14 17:30:28 +00:00
import sip
2013-08-31 18:17:38 +00:00
sip.setapi('QDate', 2)
sip.setapi('QDateTime', 2)
sip.setapi('QString', 2)
sip.setapi('QTextStream', 2)
sip.setapi('QTime', 2)
sip.setapi('QUrl', 2)
sip.setapi('QVariant', 2)
2013-02-16 18:04:17 +00:00
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([])