Problem using Qt Creator and Git
since a few days we are using Git instead of SVN.
I imported my project from SVN to Git.
Compiling the project in the SVN repository works well, but in Git repository Qt Creator (jom.exe particular) has a problem (in German):
jom: D:\Coding\git\Project\Makefile.Release [bin\Project.exe] Error 31
jom: D:\Coding\git\Project\Makefile [release] Error 2
15:52:28: Der Prozess "C:\Qt\Qt5.3.2\Tools\QtCreator\bin\jom.exe" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen/Deployment des Projekts Project (Kit: Qt 5.3 MSVC2010 OpenGL 32bit)
Bei der Ausführung von Schritt "Make"
The binary file is build but useless since it crashes when started.
This occurs in 9 of 10 cases.
But when I remove the ".git" folder and the project is no longer a git repository it's getting compiled correctly.
The correct binary build has 1 kb more size.
I have tried this on different PCs with Windows 7 32 Bit and 64 Bit.
I am using Qt 4.8.1 and 5.3.2, Qt Creator 3.2.1 and VS Compiler 9.0 and 10.0, but the error remains.
The only way out is removing the ".git" folder and it works.
Does anyone have similar experiences or a solution for this problem?
Do you really build in the repository, or do you check out/clone from there?
Can you build your project from the command line (without starting Creator?)
Yes, my fault, I have cloned it into a working copy and compiled it there.
But I don't know how to compile it from the command line. How do I do this?