Thanks for the reply but I think you've got the wrong end of the stick. The problem I have is that a custom build step in Qt Creator MUST use a full absolute path to the location of the custom app you want to run and there doesn't seem to be a way of using a relative path instead (i.e. something relative to the folder where the .pro file is installed).
The custom step works fine if I use the full path I mentioned (the C:\Documents and Settings one) but this is no good when other people want to check out and work on the same code (as this path won't be valid on their machine.) I need to be able to specify either a relative path or use an special; environment variable that Qt Creator will add for me when building. Hard coding paths is hardly good practice. :) 2009/7/21 Thomas Schulze <[email protected]>: > Hello > >> C:\Documents and Settings\User\My >> Documents\Qt\Project\version\debug\version.exe > > According to my knowledge, Qt must not be installed into a path containing > whitespace. I'm not sure > if this restriction also applies to project paths, but your's contains > several spaces. Try moving > the whole project to some other place at your harddisc - for example, > "C:\Projects\version". > >> 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. > > Have a look at the Subversion/bin/SubWCRev.exe included in the subversion > distribution if you need > an already-working solution. > > Bye, Thomas > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
