Log which Qt version is used
This commit is contained in:
parent
fb7d3439fe
commit
54861b58c6
@ -205,6 +205,10 @@ def main():
|
||||
# important for QStandardPath to be correct
|
||||
QtCore.QCoreApplication.setApplicationName("fime")
|
||||
init_logging()
|
||||
if PYSIDE_6:
|
||||
logger.info("using PySide6 / Qt6")
|
||||
else:
|
||||
logger.info("using PySide2 / Qt5")
|
||||
# also catches exceptions in other threads
|
||||
sys.excepthook = excepthook
|
||||
app = App()
|
||||
|
Loading…
Reference in New Issue
Block a user