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
Forum Update on Monday, May 27th 2025

Executable file cannot run with qt.qpa.plugin error

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 336 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 17 Aug 2020, 04:46 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Aug 2020, 18:53 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 18 Aug 2020, 01:22
      0
      • S SGaist
        17 Aug 2020, 18:53

        Hi,

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

        S Offline
        S Offline
        Shane00
        wrote on 18 Aug 2020, 01:22 last edited by
        #3

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

        1 Reply Last reply
        0
        • S SGaist
          17 Aug 2020, 18:53

          Hi,

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

          S Offline
          S Offline
          Shane00
          wrote on 18 Aug 2020, 02:14 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

          1/4

          17 Aug 2020, 04:46

          • Login

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