QT QML (Pyside6) engine fails to load and show windows of application if there's an import like this: from canlib import canlib.
The root cause of the problem is calling the WIN32 API SetDefaultDllDirectories() in dllLoader.py.
Here you can find it: https://github.com/Kvaser/pycanlib/blob/v1.22.565/canlib/dllLoader.py#L191
The problem described here: https://stackoverflow.com/questions/75395798/qqmlapplicationengine-failed-to-load-component-when-im-trying-to-use-external-l