Results 1 to 4 of 4

Thread: dll error in deployment

  1. #1
    Join Date
    Feb 2011
    Posts
    4
    Thanks
    1

    Default dll error in deployment

    Hi,everyone. I wanna use a custom dll for my app. The app runs fine on computers that have installed Qt Creator, but when I packed the release file to other computer which doesn't have installed, the app cannot load that custom dll.

    I've checked the directory and put that dll in the working directory.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: dll error in deployment

    Have you checked the dependencies of your library? Do you also have delivered the corresponding Qt dll's alongside your library?

  3. #3
    Join Date
    Feb 2011
    Posts
    4
    Thanks
    1

    Default Re: dll error in deployment

    Thanx for the reply.
    The custom library is written in VS08 and hasn't used any other library, it include the following files:
    #include <math.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <limits.h>

    Is there anything I shall notice to use it and deploy it with Qt? Shall I include these files in Qt project as well?

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: dll error in deployment

    Ok, without any further information I only can guess: Maybe your dll is in a location your application can't find it. So to check that, move the dll to the standard library path on windows. Now, can you use the library in your application? If yes, have a look at "Deploying an Application on Windows" at the documentation, at the end you find a section where you must locate the dll's when deploying your application.

Similar Threads

  1. xp deployment error
    By ahmdsd_ostora in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2010, 16:00
  2. A different deployment technique QT. Is it the right way of deployment?
    By Tarun in forum Installation and Deployment
    Replies: 1
    Last Post: 15th February 2010, 14:45
  3. Qt 4.3: Deployment on MAC
    By Angelo Moriconi in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd July 2007, 12:03
  4. deployment of a dll using qt
    By mandal in forum Installation and Deployment
    Replies: 1
    Last Post: 14th March 2007, 15:35
  5. mac deployment problem
    By munna in forum Installation and Deployment
    Replies: 1
    Last Post: 6th December 2006, 14:38

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.