![install qt platform plugin windows 10 install qt platform plugin windows 10](https://i.ytimg.com/vi/Ignw0xOKlm8/maxresdefault.jpg)
Skipping plugin qtvirtualkeyboardplugin.dll due to disabled dependencies.ĭirect dependencies: Qt5Bluetooth Qt5Core Qt5Gui Qt5WidgetsĪll dependencies : Qt5Bluetooth Qt5Core Qt5Gui Qt5Widgets Libraries or extra files and ready to deploy on other machine */Ĭ:\temp\BlueTouth\btscanner.exe 32 bit, release executable * windeplyqt is the standard Qt tool to packet your application with any needed Run from command prompt windeployqt.exe as follow:Ĭ:\qt\qt5.9.0\msvc2015\bin\windeployqt c:\temp\BlueTouth
![install qt platform plugin windows 10 install qt platform plugin windows 10](https://i.stack.imgur.com/1kUKO.png)
I fixed the problem by adding the plugin folder in the appropriate location: C:\Users\xxxx\.spyder-p圓\My_QtProjects\Project 1\dist\MyQt_1\PySide2\ With some shallow debugging, it's evident that plugin folder itself is missing. However, I faced the same error when I tried to run a bundled script (exe). That solution enabled me to test PySide2 scripts in IDLE. I don't know if it's relevant but I added the QT_PLUGIN_PATH environment variable in the system before. This solution works for PyQt5 and PySide2 modules. Plugin_path = os.path.join(dirname, 'plugins', 'platforms')
INSTALL QT PLATFORM PLUGIN WINDOWS 10 CODE
This code snippet is from the link: import osĭirname = os.path.dirname(PySide2._file_) See " Qt platform plugin "windows" #2" for more information. This solution includes a code snippet to add before you import any modules from Pyside2 or PyQt5 package. I have found a solution that worked for me. Setting the QT_PLUGIN_PATH to the directory containing TexWorks' Qt DLLs (here C:\Users\chris\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\圆4) fixed the problem for both programs. Look for the Anaconda directory and set the Library\plugins subdir (here c:\ProgramData\Anaconda3\Library\plugins) as environment variable QT_PLUGIN_PATH under Control Panel / System / Advanced System Settings / Environment Variables.Īfter setting the variable you might need to restart P圜harm, if the change does not have an immediate effect.Įven though after that the command line Python worked, TexWorks (which uses Qt as well) displayed an error message very much like it.
![install qt platform plugin windows 10 install qt platform plugin windows 10](https://ugetfix.com/wp-content/uploads/articles/askit/how-to-fix-application-failed-to-start-because-no-qt-platform-plugin-could-be-initialized-error-in-windows-try-clean-boot_en.jpg)
Reinstalling the application may fix this problem. When I tried to run a simple program that uses matplotlib, I got this error message: This application failed to start because it could not find or load the Qt platform plugin "windows" I had the same problem with Anaconda3 4.2.0 and 4.3.0.1 (64-bit).