From 54861b58c62b8cd9eec2017c20db6bd897014b2d Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 21 Apr 2023 21:44:35 +0200 Subject: [PATCH] Log which Qt version is used --- src/fime/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fime/main.py b/src/fime/main.py index 26b57cb..8318f5e 100755 --- a/src/fime/main.py +++ b/src/fime/main.py @@ -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()