Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

This application failed to start because not Qt platform plugin could be initialized.



  • Hi! I am making a release for my app, but I get the following error:
    "This application failed to start because not the Qt platform plugin could be initialized";
    I started getting this error after adding dll files to my application. Qt reinstalled, but it still appears. Are there any ways to solve it?

    mistake.JPG
    Here is what is output in the console:

    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.



  • @Troyer
    Start by running your application from a shell where you have typed in set QT_DEBUG_PLUGINS=1 first, and look at debug output about what it was trying to find where.



  • I guess you didn't use windeployqt.exe to make that release.


Log in to reply