11 of the SQL browser and starts the Qt event loop. |
11 of the SQL browser and starts the Qt event loop. |
12 """ |
12 """ |
13 |
13 |
14 from __future__ import unicode_literals |
14 from __future__ import unicode_literals |
15 try: # Only for Py2 |
15 try: # Only for Py2 |
16 import sip |
|
17 sip.setapi('QString', 2) |
|
18 sip.setapi('QVariant', 2) |
|
19 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
16 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
20 except (ImportError): |
17 except (ImportError): |
21 pass |
18 pass |
22 |
19 |
23 import sys |
20 import sys |