src/eric7/eric7_sqlbrowser.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
11 of the SQL browser and starts the Qt event loop. 11 of the SQL browser 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 for arg in sys.argv[:]: 19 for arg in sys.argv[:]:
18 if arg.startswith("--config="): 20 if arg.startswith("--config="):
19 from eric7 import Globals 21 from eric7 import Globals
20 22
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_sqlbrowser.desktop") 60 QGuiApplication.setDesktopFileName("eric7_sqlbrowser.desktop")
61 61
62 options = [ 62 options = [
63 ( 63 (
64 "--config=configDir", 64 "--config=configDir",

eric ide

mercurial