[Qt-creator] QT-Creator with GIT version control

Frans Klaver fransklaver at gmail.com
Tue Nov 1 09:00:50 CET 2011

On Tue, Nov 1, 2011 at 8:33 AM, Uwe Fechner <u.fechner at tudelft.nl> wrote:

> But when I have checked out our repository on a new machine, I want to
> be able to do:
> qmake
> make
> or similar.
> But this doesn't work, because qmake is not creating a shadow build directory.
> Then I have to open the project manually with QT creator, adjust the settings
> for the build directory and build it.
> This is annoying, because we have very many projects in our repository and
> I have adjust these settings manually again and again.
> Questions:
> 1) is it possible, to build the .pro.user file with a script?
> 2) is it possible, to change the way, that QT-creator works in such a way,
>    that it doesn't not store absolute file paths in the .pro.user files?
> 3) is it possible, to use qmake to create a .pro.user file, that defines
>    a shadow build directory, e.g. ../<project-name>-build-desktop

You might be interested in

It should be quite similar to how CMake works:

mkdir build
cd build
cmake ..

So for qmake:

mkdir build
cd build
qmake ..

You could even script it.


More information about the Qt-creator mailing list