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. 3rd Part SDK, not finding DLLs
QtWS25 Last Chance

3rd Part SDK, not finding DLLs

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 194 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.
  • A Offline
    A Offline
    amess
    wrote on last edited by aha_1980
    #1

    Hello, I have downloaded an SDK from Sony and I'm having trouble using it from my QT Qindows project. The SDK consists of a .lib and .dll in one directory, a sub directory with two additional .dlls, and a directory of .h files.

    I added an "external library" pointing to the .lib and the directory of header files .. and it runs but the program is not working properly (it should be connecting to a Sony camera). I think the problem is that the main DLL depends on those DLL's in the sub directory and no matter what I seem to do it can't seem to find them. (I've moved them to the working directory, added them to the PATH, even plunked them in the system folder.

    The SDK has a visual studio program that works. There is a Debug folder that the program runs from, and in that Debug directory is a sub directory with the DLL's. I tried to mimic this structure in a number of different ways in Qt with no luck. If I temporarily remove one of those DLL's in the visual studio project I get the same behavior as my QT program (it works but does not find the camera) .. which is why I think my problem is these additional DLL's.

    Any ideas? Really stumped (I want to stick with Qt, please don't make me go back to Visual Studio ;-)

    Respectfully,
    A. Messier

    A 1 Reply Last reply
    0
    • A amess

      Hello, I have downloaded an SDK from Sony and I'm having trouble using it from my QT Qindows project. The SDK consists of a .lib and .dll in one directory, a sub directory with two additional .dlls, and a directory of .h files.

      I added an "external library" pointing to the .lib and the directory of header files .. and it runs but the program is not working properly (it should be connecting to a Sony camera). I think the problem is that the main DLL depends on those DLL's in the sub directory and no matter what I seem to do it can't seem to find them. (I've moved them to the working directory, added them to the PATH, even plunked them in the system folder.

      The SDK has a visual studio program that works. There is a Debug folder that the program runs from, and in that Debug directory is a sub directory with the DLL's. I tried to mimic this structure in a number of different ways in Qt with no luck. If I temporarily remove one of those DLL's in the visual studio project I get the same behavior as my QT program (it works but does not find the camera) .. which is why I think my problem is these additional DLL's.

      Any ideas? Really stumped (I want to stick with Qt, please don't make me go back to Visual Studio ;-)

      Respectfully,
      A. Messier

      A Offline
      A Offline
      amess
      wrote on last edited by
      #2

      @amess Ugh, my bad. it would help to know the directory that my program was running from .. once I found that I just put the two DLL's in there (in a sub-directory that I think the main DLL wanted).

      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