Log which Qt version is used

This commit is contained in:
Fabian 2023-04-21 21:44:35 +02:00
parent fb7d3439fe
commit 54861b58c6

View File

@ -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()