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. Platform plugin missing/not working
QtWS25 Last Chance

Platform plugin missing/not working

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 403 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.
  • R Offline
    R Offline
    rjmx
    wrote on last edited by
    #1

    I am almost at the point where I can deploy my app. Using windeployqt kept getting errors saying that it couldn't find the platform plugin (using Qt 5.15.2 on windows). Still does.
    So I tried another way that's been suggested: using listdlls (from SysInternals) to find out what DLLs I need, and putting them in a folder with the executable. Now, when I try to start the app, I get an error that says "this application failed to start because no qt platform plugin could be initialized". So it can now find the plugin, but it can't initialise it. Why not? Can someone tell me what's going on here?

    Christian EhrlicherC 1 Reply Last reply
    0
    • R rjmx

      I am almost at the point where I can deploy my app. Using windeployqt kept getting errors saying that it couldn't find the platform plugin (using Qt 5.15.2 on windows). Still does.
      So I tried another way that's been suggested: using listdlls (from SysInternals) to find out what DLLs I need, and putting them in a folder with the executable. Now, when I try to start the app, I get an error that says "this application failed to start because no qt platform plugin could be initialized". So it can now find the plugin, but it can't initialise it. Why not? Can someone tell me what's going on here?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @rjmx said in Platform plugin missing/not working:

      Using windeployqt kept getting errors saying that it couldn't find the platform plugin

      Please show how you use windeployqt and how you installed Qt.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      R 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @rjmx said in Platform plugin missing/not working:

        Using windeployqt kept getting errors saying that it couldn't find the platform plugin

        Please show how you use windeployqt and how you installed Qt.

        R Offline
        R Offline
        rjmx
        wrote on last edited by
        #3

        @Christian-Ehrlicher I installed Qt using the online installer, I think. As for how I used windeployqt, I went into the "build--release-\release" directory in powershell, and used "windeployqt .<executable>". I tried using the "--release" optiion, but it made no difference.

        Thanks.

        R 1 Reply Last reply
        0
        • R rjmx

          @Christian-Ehrlicher I installed Qt using the online installer, I think. As for how I used windeployqt, I went into the "build--release-\release" directory in powershell, and used "windeployqt .<executable>". I tried using the "--release" optiion, but it made no difference.

          Thanks.

          R Offline
          R Offline
          rjmx
          wrote on last edited by
          #4

          @rjmx Sorry, should have mentioned earlier. Using Qt 5.15.2 and msys64/mingw64.

          1 Reply Last reply
          0
          • R rjmx has marked this topic as solved on

          • Login

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