Something
public text v1 · immutableIndex: kde4automoc.cpp
===================================================================
--- kde4automoc.cpp (revision 716519)
+++ kde4automoc.cpp (working copy)
@@ -117,7 +117,9 @@
line = dotFiles.readLine().trimmed();
const QStringList incPaths = QString::fromUtf8(line).split(';');
foreach (const QString &path, incPaths) {
- mocIncludes << "-I" + path;
+ if (!path.isEmpty()) {
+ mocIncludes << "-I" + path;
+ }
}
line = dotFiles.readLine();
Q_ASSERT(line == "SOURCES:\n");