eric5_sqlbrowser.py

changeset 3534
325a637dbb14
parent 3178
f25fc1364c88
child 3656
441956d8fce5
equal deleted inserted replaced
3531:c4b36c72184d 3534:325a637dbb14
8 Eric5 SQL Browser. 8 Eric5 SQL Browser.
9 9
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
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
14 from __future__ import unicode_literals
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__
20 except (ImportError):
21 pass
13 22
14 import sys 23 import sys
15 24
16 for arg in sys.argv: 25 for arg in sys.argv:
17 if arg.startswith("--config="): 26 if arg.startswith("--config="):

eric ide

mercurial