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 Updated to NodeBB v4.3 + New Features

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 4 Jun 2020, 16:27 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.

    J 1 Reply Last reply 4 Jun 2020, 16:40
    0
    • T Troyer
      4 Jun 2020, 16:27

      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.

      J Offline
      J Offline
      JonB
      wrote on 4 Jun 2020, 16:40 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 4 Jun 2020, 17:21 last edited by
        #3

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

        1 Reply Last reply
        1

        2/3

        4 Jun 2020, 16:40

        • Login

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