Run as release with qt tools for msvc
Unsolved
Qt Creator and other tools
-
Hello,
I have installed the visual studio extension for qt tools, (msvc 2019). Everything is fine in debug, but in release, I can build, but I cannot run.It fails with the error :
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Is there a specific config to run release build from msvc?
-
Are you trying to run from Qt Creator or directly from your application executable ?
if you run with the executable you need to deploy your application first
https://doc.qt.io/qt-5/windows-deployment.html -
I try to run it from visual studio.
When I actually deploy it to run on its own, everything is working