Unable to run PyQt6 app because no Qt platform plugin
See original GitHub issueI’ve tried compiling a PyQt6 app using Nuitka 0.6.10.5, but the resulting executable raises an exception due to being unable to find Qt platform plugin. PyQt5 doesn’t have such issue.
Platform: Windows Python: 3.8.7 (x64) Nuitka: 0.6.10.5
Compiler command:
nuitka --mingw64 --windows-disable-console --standalone --show-progress --plugin-enable=qt-plugins --plugin-enable=multiprocessing --include-package=dns --output-dir=C:\Users\home\Desktop\1 C:\Users\home\PycharmProjects\QYashmak\venv\project\Yashmak.py
CMD output when executing the resulting executable (windows console enabled):
C:\Users\home\Desktop\1\Yashmak.dist>C:\Users\home\Desktop\1\Yashmak.dist\Yashmak.exe qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top GitHub Comments
The plugin has no detector, make sure to do use
--enable-plugin=pyqt6
and check help output for its options.This is part of the 0.6.18 release.