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 icon editor and starts the Qt event loop. This is a standalone version |
11 of the icon editor and starts the Qt event loop. This is a standalone version |
12 of the integrated icon editor. |
12 of the integrated icon editor. |
13 """ |
13 """ |
14 |
14 |
15 from __future__ import unicode_literals # __IGNORE_WARNING__ |
15 from __future__ import unicode_literals |
16 try: # Only for Py2 |
16 try: # Only for Py2 |
17 import sip |
17 import sip |
18 sip.setapi('QString', 2) |
18 sip.setapi('QString', 2) |
19 sip.setapi('QVariant', 2) |
19 sip.setapi('QVariant', 2) |
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__ |