Results 1 to 10 of 10

Thread: DLLs not found when testing in other PC

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2012
    Posts
    34
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default DLLs not found when testing in other PC

    Hi,

    My application is somewhat ready to be tested wider so I have build it with release target, and it seem to work fine in the PC I've used for developing it. However I'm not able to get it working in another PC.

    I'm getting errors that not all DLLs are found. To be specific, SQL DLLs are not found. At first it did not find any SQL drivers (even though they were located under /sqldrivers folder in the app directory). Then I found out that it was trying to search then from plugins directory, which is C:\QtSDK\Desktop\Qt\4.8.0\mingw\plugins by default, hence it created that directory and placed the sqldrivers there - just like in the development PC.

    Unfortunately even this did not work. All the other drivers were found but not the PSQL driver which is needed. Currently I've got all the DLLs (yes, the same DLLs in every folder) in the mentioned plugins directory, App directory and App/sqldrivers directory. The first problem is that it does not find any of those sql drivers if not located at the plugins directory, why? The second problem is that even if the plugins directory is created, still QPSQL driver is not working - any idea why is that? I would think I have all the DLLs created because it's working on the development PC.

    Cheers!

    UPDATE:
    I tried to run dependency walker on target PC and it gives following:

    LoadLibraryW("C:\QtSDK\Desktop\Qt\4.8.0\mingw\plug ins\sqldrivers\qsqlpsql.dll") returned NULL. Error: %1 is not a valid Win32 application (193).

    Both PCs (one used for developing and this target PC) are running 64 bit Windows7, but during the process I have used 32bit tools. Cannot understand the error message...
    Last edited by Mobility; 20th March 2013 at 08:23.

Similar Threads

  1. Testing Qt-Software with a GUI Testing Tool
    By nightghost in forum Qt Programming
    Replies: 8
    Last Post: 22nd February 2012, 07:43
  2. Linking to VB6 dlls
    By drmath in forum Qt Programming
    Replies: 0
    Last Post: 17th September 2010, 16:00
  3. Error using dlls
    By HelderC in forum Newbie
    Replies: 1
    Last Post: 15th March 2010, 22:58
  4. suffix for qt dlls
    By jobrandt in forum Installation and Deployment
    Replies: 6
    Last Post: 11th April 2008, 09:59
  5. Qt and dlls ?
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 15th December 2006, 14:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.