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. [Solved] More Qt Dll Issues. Cannot find windows plugin in debug mode.
Forum Updated to NodeBB v4.3 + New Features

[Solved] More Qt Dll Issues. Cannot find windows plugin in debug mode.

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.5k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    primem0ver
    wrote on last edited by
    #1

    A while ago I posted a discussion on why Qt doesn't implement a way to copy the proper dll files to the build folder. I now understand some of the issues involved now that I have multiple versions of qt installed. However, I still maintain that this could be done for the default configuration.

    Regardless,, I am really sick of this shortcoming. I have now run into a problem where I have copied all the necessary files and I cannot even start my application in debug mode. That means I wasn't able to view the list of files I need to copy. Even so, I went one by one through all the the files I needed by restarting my application for each dll I needed to copy.

    Now it is telling me that it cannot locate the windows plugin. YES. I have copied that file. I have tried putting it in the application directory, a subdirectory called platforms, and a subdirectory called plugins\platforms. None of these have worked.

    FYI I am using the Addin for VS 2012.

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, guessing but maybe you copied qwindows.dll, but in debug mode, try instead copying qwindowsd.dll to platforms.
      (Also dlls it depends on, like libEGLd.dll...)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        primem0ver
        wrote on last edited by
        #3

        i already copied both plus the pdb.

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Hmmmm, you mean qwindowsd.dll to platforns, and libEGLd.dll, libGLESv2d.dll, MSVCR110D.DLL, MSVCP110D.DLL etc. together with your .exe file?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            primem0ver
            wrote on last edited by
            #5

            That worked. Thanks. (I was missing one of the lib files since it was reported as missing).

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Here's a reasonably quick and almost-foolproof way to identify the DLLs you need: http://qt-project.org/wiki/Deploy_an_Application_on_Windows

              Also, did you try the windeployqt tool?

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0

              • Login

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