[Qt-creator] Deploy from DESTDIR

Christian Kandeler christian.kandeler at digia.com
Thu May 30 15:15:09 CEST 2013

On 05/30/2013 02:32 PM, Duane wrote:
> I have several projects and typically set a /bin directory with the
> DESTDIR tag in the pro files.  This way I can build all of the projects
> and copy the files easily.  But sometime I want to deploy these to a
> remote linux device through creator, mostly for remote debugging.  I do
> this by setting
> linux-* {
>        target.path = MyPathOnTheTarget
>        INSTALLS += target
> }
> This doesn't work if I use DESTDIR as it seems to require the exe to be
> in the build directory.  I'm not using shadow build.

How does it not work exactly? Is the file looked up at the wrong place?
In the "run" part of the project view, the local file path of the 
executable as assumed by Creator is shown. Is that the right one, i.e. 
does it point to DESTDIR?


More information about the Qt-creator mailing list