9481:0b936ff1bbb9 | 9482:a2bc06a54d9d |
---|---|
12 standalone version of the integrated PyRegExp wizard. | 12 standalone version of the integrated PyRegExp wizard. |
13 """ | 13 """ |
14 | 14 |
15 import os | 15 import os |
16 import sys | 16 import sys |
17 | |
18 from PyQt6.QtGui import QGuiApplication | |
17 | 19 |
18 for arg in sys.argv[:]: | 20 for arg in sys.argv[:]: |
19 if arg.startswith("--config="): | 21 if arg.startswith("--config="): |
20 from eric7 import Globals | 22 from eric7 import Globals |
21 | 23 |
53 | 55 |
54 def main(): | 56 def main(): |
55 """ | 57 """ |
56 Main entry point into the application. | 58 Main entry point into the application. |
57 """ | 59 """ |
58 from PyQt6.QtGui import QGuiApplication | |
59 | |
60 QGuiApplication.setDesktopFileName("eric7_re.desktop") | 60 QGuiApplication.setDesktopFileName("eric7_re.desktop") |
61 | 61 |
62 options = [ | 62 options = [ |
63 ( | 63 ( |
64 "--config=configDir", | 64 "--config=configDir", |