WIP: pymod tests work for Qt4 now too.

This commit is contained in:
Matthias Koefferlein
2018-06-04 00:32:02 +02:00
parent f3f6e2e7ba
commit 98256ebc66
9 changed files with 26 additions and 11 deletions
+1
View File
@@ -29,6 +29,7 @@ class BasicTest(unittest.TestCase):
self.assertEqual("QFormBuilder" in QtDesigner.__all__, True)
def test_2(self):
app = QtCore.QCoreApplication([ "appname" ])
q = QtDesigner.QFormBuilder()
# run unit tests
+2 -1
View File
@@ -18,7 +18,8 @@
import pykl.QtCore
import pykl.QtGui
import pykl.QtWidgets
if not "QApplication" in pykl.QtGui.__all__:
import pykl.QtWidgets # Qt5
import pykl.lay as lay
import unittest
import sys