Results 1 to 6 of 6

Thread: Library (.dll) found but not loading when running outside Qt Creator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ucomesdag Guest

    Default Re: Library (.dll) found but not loading when running outside Qt Creator

    Problem solved with Qt Beta 4.7

  2. #2
    Join Date
    Jun 2010
    Location
    Pretoria, South Africa
    Posts
    22
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Library (.dll) found but not loading when running outside Qt Creator

    I had a similar problem where a DLL was loading when I was running the application in VS and giving me an error when running from the command prompt.

    I found that the problem was not that Windows couldn't find the DLL itself to load but rather one of its dependencies. Use the Dependency Walker to find which file should be copied to your application directory.

    I'm assuming the reason that the application was running in VS was because the dependent DLL (in my case QtSql.dll) was being referenced in a library path by VS that was not in my console's path.

Similar Threads

  1. Qt Creator - problem loading project
    By Ferric in forum Newbie
    Replies: 1
    Last Post: 7th January 2010, 22:25
  2. Running app from within Creator
    By rbp in forum Qt Tools
    Replies: 2
    Last Post: 2nd October 2009, 00:51
  3. Replies: 4
    Last Post: 20th May 2009, 10:20
  4. Problem loading custom library in Qt4.5
    By ches in forum Newbie
    Replies: 2
    Last Post: 10th March 2009, 19:46
  5. Loading library from application
    By mourad in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd April 2008, 15:10

Tags for this Thread

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.