Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. This application failed to start because not Qt platform plugin could be initialized.
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Troyer
    wrote on last edited by
    #1

    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.

    JonBJ 1 Reply Last reply
    0
    • T Troyer

      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.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      2
      • B Offline
        B Offline
        Bonnie
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved