16 lines
592 B
Diff
16 lines
592 B
Diff
--- kde4automoc.cpp~ 2009-01-22 20:50:09.000000000 +0200
|
|
+++ kde4automoc.cpp 2011-06-21 20:20:56.000000000 +0200
|
|
@@ -71,7 +71,11 @@
|
|
QStringList args(cmakeEchoColorArgs);
|
|
args << msg;
|
|
cmakeEcho.start(cmakeExecutable, args, QIODevice::NotOpen);
|
|
- cmakeEcho.waitForFinished(-1);
|
|
+ if (cmakeEcho.waitForStarted())
|
|
+ cmakeEcho.waitForFinished(-1);
|
|
+ else
|
|
+ cerr << "automoc4: cmake failed to start: "
|
|
+ << cmakeEcho.errorString() << endl;
|
|
}
|
|
|
|
QString builddir;
|