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. Executable file cannot run with qt.qpa.plugin error
QtWS25 Last Chance

Executable file cannot run with qt.qpa.plugin error

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 325 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.
  • S Offline
    S Offline
    Shane00
    wrote on last edited by
    #1

    I am trying to run some opencv code and i have included the dll files required by qt and opencv in my executable folder. However this error pops up
    pic2.png

    Note that i am able to run the program through the IDE itself. How do i fix this? I have also tried running Dependency Walker but i do not get why those files are missing when i have included them already.
    pic1.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you use windeployqt to gather all the required dlls and plugins for your application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you use windeployqt to gather all the required dlls and plugins for your application ?

        S Offline
        S Offline
        Shane00
        wrote on last edited by
        #3

        @SGaist this is what happens when i use windeployqt
        pic1.png

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Did you use windeployqt to gather all the required dlls and plugins for your application ?

          S Offline
          S Offline
          Shane00
          wrote on last edited by
          #4

          @SGaist It worked! But i am not quite sure how. I followed the instructions here and got it to work because windeployqt didnt work for me.
          pic2.png

          Thank you anyways

          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