Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unable to find the platform plugin
QtWS25 Last Chance

Unable to find the platform plugin

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 1.9k 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
    Riounis
    wrote on last edited by Riounis
    #1

    Hello,
    I'm in the process of deploying my first Qt application, which works in QtCreator in release mode. I have tried creating a new directory with the release executable in it and moving all the necessary dll files to that directory. I receive the error "The application was unable to start correctly (0xc000007b)."

    After that approach failed, I tried to use windeployqt. What I get is the error "Unable to find the platform plugin" (which should be qwindows.dll, which is in the correct location [Qt>5.10.1>mingw53_32>plugins>platforms], if I'm correct). When I google the issue, I only find an issue with mixing up release and debug versions, and my windeployqt is finding the correct release version:

    0_1527811073192_qterr.png

    I believe this might be an issue with my mingw version being 32 bit but my qt version and application are 64 bit. I've seen some talk of environment variables, but I'm not sure what to do here.

    Some additional details: I'm using a cygwin terminal, and I'm not sure if my version of QtCreator is the same as my version of Qt, if that matters.

    Thanks

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Riounis
      wrote on last edited by
      #2

      I'm going to mark this as solved because I believe I've tracked down the issue to one of my dependencies, quazip, which a lot of other people seem to have trouble deploying with. If anyone has any experience with deploying a qt application with quazip, I welcome it.

      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