no Qt platform plugin could be initialized.
-
Hi,
My environment is below,
Win11 + Desktop Qt 6.5.0 MSVC2019 64bit.I created a very simple main-window, and built this program in my release-build folder.
When starting my exe file in my release-build folder, it complians "This application failed to start because no Qt platform plugin could be initialized".
May I know how I could solve this issue?
Thanks.
Have a nice day. -
Hi,
My environment is below,
Win11 + Desktop Qt 6.5.0 MSVC2019 64bit.I created a very simple main-window, and built this program in my release-build folder.
When starting my exe file in my release-build folder, it complians "This application failed to start because no Qt platform plugin could be initialized".
May I know how I could solve this issue?
Thanks.
Have a nice day.@Wunian If you want to start your application outside of QtCreator you need to deploy it.
See https://doc.qt.io/qt-6/windows-deployment.html -
Hi,
My environment is below,
Win11 + Desktop Qt 6.5.0 MSVC2019 64bit.I created a very simple main-window, and built this program in my release-build folder.
When starting my exe file in my release-build folder, it complians "This application failed to start because no Qt platform plugin could be initialized".
May I know how I could solve this issue?
Thanks.
Have a nice day. -
@Wunian If you want to start your application outside of QtCreator you need to deploy it.
See https://doc.qt.io/qt-6/windows-deployment.html -
@Wunian or you set env QT_PLUGIN_PATH to Qt plugin path?
https://doc.qt.io/qt-6/deployment-plugins.html -