From 95c7304e5cb0a0b1dc35e88c6072b0d6c0d24a81 Mon Sep 17 00:00:00 2001 From: Francesco Date: Fri, 14 Feb 2025 10:58:49 +0100 Subject: [PATCH] chore: print Qt version with `acdc -v` command --- cellacdc/__main__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cellacdc/__main__.py b/cellacdc/__main__.py index d7b0d5ef..d11d6c07 100755 --- a/cellacdc/__main__.py +++ b/cellacdc/__main__.py @@ -57,6 +57,11 @@ def run(): print(f'Installed in "{cellacdc_path}"') print(f'Python {python_version}') print(f'Platform: {platform.platform()}') + try: + from qtpy import QtCore + print(f'Qt {QtCore.__version__}') + except Exception as err: + print(f'Qt: Not installed') print('='*100) exit()