src/eric7/eric7_configure.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
10 This is the main Python script to configure the eric IDE from the outside. 10 This is the main Python script to configure the eric IDE from the outside.
11 """ 11 """
12 12
13 import os 13 import os
14 import sys 14 import sys
15
16 from PyQt6.QtGui import QGuiApplication
15 17
16 for arg in sys.argv[:]: 18 for arg in sys.argv[:]:
17 if arg.startswith("--config="): 19 if arg.startswith("--config="):
18 from eric7 import Globals 20 from eric7 import Globals
19 21
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_configure.desktop") 59 QGuiApplication.setDesktopFileName("eric7_configure.desktop")
60 60
61 options = [ 61 options = [
62 ( 62 (
63 "--config=configDir", 63 "--config=configDir",

eric ide

mercurial