Skip to content

QT QML engine fails to load .py file with canlib import inside #4

Description

@AlexanderPoverennov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions