×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    7

    How move a dll to the right directory with Qt Creator

    Hi

    I have one dll project and one .exe project. When I have built the dll I want it to be copied to the folder of the .exe but I have no idea on how to do this with Qt Creator. In Visual Studio there are Deployement settings and you can also do Post Build events. Is there something similar for Qt Creator?

    I am currently doing a Win32 version of the application so it does not have to deploy to device or something like that. I just want to move the dll to the correct folder so the .exe finds it.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2007
    Posts
    123

    Re: How move a dll to the right directory with Qt Creator

    Probably there are better ways but one option is to add a custom build step in which you execute bat that copies files. Build steps can be added from Qt Creator's Projects Mode(Ctrl+4).

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    36

    Re: How move a dll to the right directory with Qt Creator

    Better would be to define a common target location in both project's .pro file, e.g.:
    DESTDIR = ../bin

    (Since this thread is "Qt for Symbian" it should be mentioned that in Symbian all executables must be located in /sys/bin.)

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 30
    Last Post: 2014-07-15, 05:44
  2. Replies: 1
    Last Post: 2009-12-18, 11:09
  3. Replies: 8
    Last Post: 2009-01-20, 13:47
  4. dll and lib problem
    By dalore in forum Symbian
    Replies: 3
    Last Post: 2004-02-16, 13:08
  5. what happens to TLS when DLL is unloaded?
    By rtillitt in forum Symbian
    Replies: 1
    Last Post: 2002-11-27, 12:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×