Qt Platform Plugin Windows Install

  среда 26 декабря
      42

I had an issue where my python code worked fine, but the compiled.exe file would provide the 'could not find or load the Qt platform plugin windows' problem. I fixed the problem by copying the ~PyQt5 Qt plugins platforms folder from the program's directory, generated by using pyinstaller --onedir main.py, to the folder holding the.exe file. It seems that in my case the only way 'helping' my program detect the required.dlls was having the platforms folder next to the main.exe.

Its products include personal computers, tablet computers, mobile phones, workstations, servers, electronic storage devices, IT management software and smart televisions. Lenovo a536 specifications. Lenovo A536 introduction Lenovo Group Limited (SEHK: 0992) is a Chinese multinational computer hardware and electronics company with its operational headquarters in Morrisville, North Carolina, United States and its registered office in Hong Kong. Lenovo is the world's second-largest PC vendor by 2011 market share (after Hewlett-Packard) and markets the ThinkPad line of notebook computers and the ThinkCentre line of desktops.

First off, is your system running Windows natively, or are you using any sort of emulator or virtual machine? Next it would be helpful if you could type out the.

Pasting the platforms folder to the program's directory after using pyinstaller --onefile main.py also makes the program work.

Installing

When trying to install the PySide2 wheel onto another workstation than the one we used to compile PySide2 we get the following error message: This application failed to start because it could not find or load Qt platform plugin 'windows' in '. I understand the 'qwindows.dll' file usually goes in the 'app.exe/platforms' folder but in PySide2 cases I'm not sure where to locate those files for Qt to find them. My only fix so far is to point the 'QT_QPA_PLATFORM_PLUGIN_PATH' env to the 'qwindows.dll' folder. Is there a way to avoid the issue, is this a bug?