eric4-uipreviewer.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
1 #!/usr/bin/env python 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2004 - 2009 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2004 - 2009 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 6
12 of the integrated ui previewer. 12 of the integrated ui previewer.
13 """ 13 """
14 14
15 import sys 15 import sys
16 import os 16 import os
17
18 import sip
19 sip.setapi("QString", 2)
20 sip.setapi("QVariant", 2)
21 17
22 for arg in sys.argv: 18 for arg in sys.argv:
23 if arg.startswith("--config="): 19 if arg.startswith("--config="):
24 import Utilities 20 import Utilities
25 configDir = arg.replace("--config=", "") 21 configDir = arg.replace("--config=", "")

eric ide

mercurial