src/eric7/eric7_shell.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
11 of the ShellWindow module and starts the Qt event loop. 11 of the ShellWindow module and starts the Qt event loop.
12 """ 12 """
13 13
14 import os 14 import os
15 import sys 15 import sys
16
17 from PyQt6.QtGui import QGuiApplication
16 18
17 originalPathString = os.getenv("PATH") 19 originalPathString = os.getenv("PATH")
18 20
19 for arg in sys.argv[:]: 21 for arg in sys.argv[:]:
20 if arg.startswith("--config="): 22 if arg.startswith("--config="):
52 54
53 def main(): 55 def main():
54 """ 56 """
55 Main entry point into the application. 57 Main entry point into the application.
56 """ 58 """
57 from PyQt6.QtGui import QGuiApplication
58
59 QGuiApplication.setDesktopFileName("eric7_shell.desktop") 59 QGuiApplication.setDesktopFileName("eric7_shell.desktop")
60 60
61 options = [ 61 options = [
62 ( 62 (
63 "--config=configDir", 63 "--config=configDir",

eric ide

mercurial