Reputation: 7368
I've installed Qt 5.0.1 mingw SDK. but there's an issue in the compilation of c++ project.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
I've the following compilation error: `..testmain.cpp: No such file or directory` This is the pro file:
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
SOURCES += main.cpp
For now the solution is to modify the Makefile.Debug and change this line:
debug/main.o: ../test/main.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o ..\test\main.cpp
with:
debug/main.o: ../test/main.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o ../test/main.cpp
But this isn't a good way, because for any rebuild I've to change the makefile and for large projects this is unacceptable.
Do someoune know what I'm wrong?
Upvotes: 0
Views: 251
Reputation: 7368
Solved. The issue is with my TortoiseGit. TortoiseGit has a MSYS integrated and this clash with qt creator. I'll report the bug to the qt-project
Upvotes: 0