Open mw25 opened 1 month ago
@mw25 please try the development branch code
Unfortunately, it doesn't work yet. I think because of another os.environ["QT_API"] = "pyside6"
:
https://github.com/danielhrisca/asammdf/blob/development/src/asammdf/gui/__init__.py#L3
Python version
('python=3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]') 'os=Windows-10-10.0.19045-SP0' 'numpy=1.26.4' 'asammdf=7.4.5'
Code
Code snippet
Console:
Python:
Traceback
When I activate the commented lines:
Description
I have an application with PyQt5 in which I use asammdf as a library for reading files (I have not installed the asammdf GUI). However, when asammdf is imported, the QT_API environment variable is set to pyside6. In my case (the commented out code is a minimal example of my application), the application crashes when I import qasync. This is because this library queries the environment variable with the wrong value.