I am trying to create a custom build that uses a relative path and I
cannot get it to work without specifying the full path to the exe I am
trying to run.  The exe is stored in a sub-folder of my main project,
so I am trying to add something like this in the 'Command' box:

    ./version/debug/version.exe

But it fails.  Instead I have to use the full path, e.g.:

  C:\Documents and Settings\User\My
Documents\Qt\Project\version\debug\version.exe

This is a real problem as other people will be checking out this
project into different folders, rendering the custom build step
useless.

Does Qt Creator add any special environment variables that point to
the .pro folder location that I can use?  This is a bit of a
show-stopper at the moment so I'm hoping there is a way to do this.
Visual Studio defines a whole bunch of magic variables that expand to
local project folders, which is very useful.

FWIW I am trying to run a little Qt app that generates a version
number for my project that contains the Subversion revision, build
date, etc.

Regards.

http://qtcreator.blogspot.com/
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to