[Qt-creator] Custom build step - copy dll

Sunil Thaha sunil.thaha at gmail.com
Wed Mar 4 11:53:05 CET 2009


On Wed, Mar 4, 2009 at 4:20 PM, Daniel Teske <daniel.teske at nokia.com> wrote:

> On Tuesday 03 March 2009 22:36:11 ext Adam Kövári wrote:
> > Hello,
> > i've created one Qt GUI Application and one C++ library. I need to copy
> > dll from the library directory after it's built to gui application
> > directory. I've created Custom process step with command:
> >
> > copy db2lib.dll ..\..\db2client\debug\db2lib.dll /y
> >
> > Working directory is set to library directory.
> >
> > This setting fails with error:
> >
> > Could not start process copy db2lib.dll ..\..\db2client\debug\db2lib.dll
> /y
> > Error while building project db2lib
> > When executing build step 'Copy'
> I guess you are on windows? You probably need to start the command with
> cmd.exe /k copy ..., since copy is a command shell built-in.
> I'm not 100% sure about the /k, try cmd /?
>

How about xcopy? its an external command

Regards,
Sunil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090304/d14448e5/attachment.html 


More information about the Qt-creator-old mailing list