Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt.qpa.plugin: Could not load the Qt platform plugin "windows"



  • When I use PySide2, I have a error just like:

    qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Available platform plugins are: direct2d, minimal, offscreen, windows.
    

    I don't know how to fix it with out adding 'QT_QPA_PLATFORM_PLUGIN_PATH' in os environment PATH, has anyone ever met this error?


Log in to reply