fbs icon indicating copy to clipboard operation
fbs copied to clipboard

Standalone QtDesigner: pyqt5 fails to load on Windows 10

Open sdbbs opened this issue 6 years ago • 1 comments

Hi,

Possibly off topic, but this was the closest "forum" for this, I could find:

I was very happy when I saw there is a standalone QtDesigner on https://build-system.fman.io/qt-designer-download - and I got it and installed it on Windows 10. It starts and runs fine.

However, when I checked Help/About Plugins, I can see "Failed Plugins" mentioning pyqt5.dll - see this screenshot:

QtDesigner

The message is "The specified module cannot be found", although the module is present in C:\Program Files (x86)\Qt Designer\plugins\designer

I ran the pyqt5.dll in Dependencies, and this is what it says:

pyqt5_dependencies

Apparently, pyqt5.dll is missing references to python3.dll, python3.5.dll and Qt5Core.dll (even if Qt5Core.dll is actually in C:\Program Files (x86)\Qt Designer)

Could I solve this problem by copying python3.dll, python3.5.dll and Qt5Core.dll to some directory (say, the same where pyqt5.dll is, C:\Program Files (x86)\Qt Designer\plugins\designer) - and if so, where should I get these files from? (apparently, some specific versions are needed, since I copied python3.dll, python3.5.dll in this folder from a LibreOffice installation, and that did not help).

Alternatively, would it be possible to include these files in the standalone QtDesigner build in the future?

Thank you for your work, and thanks in advance for any suggestions!

sdbbs avatar Dec 12 '19 14:12 sdbbs

I came across same questions like you. I use conda to manager 3 different pyqt projects. And I install 3 different versions: PyQt5, PySide2, PySide6. Conda installs 3 different qt-designer.exe in 3 projects.

However, all of them have the issue similar like this: qt_designer_plugins_dll_problem_2022-03-18_09-50

I wonder if it's because python version and PyQt5, PySide2, PySide6 versions don't match. But won't it be strange that all of them show the same question?

The python version is 3.8.12 in all three projects. pyqt5: 5.15.6 pyside2: 5.15.2.1 pyside6: 6.2.3

zhuoqun-chen avatar Mar 18 '22 02:03 zhuoqun-chen