diff --git a/src/plugins/projectexplorer/gccparser.cpp b/src/plugins/projectexplorer/gccparser.cpp
index c6a91277b5c0138ae2b9ace361e8510467a73dd3..e2ee1e148010637f75e24e2537623e5fc0161aad 100644
--- a/src/plugins/projectexplorer/gccparser.cpp
+++ b/src/plugins/projectexplorer/gccparser.cpp
@@ -438,6 +438,17 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
                          QLatin1String("main.cpp"), 10,
                          Constants::TASK_CATEGORY_COMPILE))
             << QString();
+    QTest::newRow("In constructor")
+            << QString::fromLatin1("/dev/creator/src/plugins/find/basetextfind.h: In constructor 'Find::BaseTextFind::BaseTextFind(QTextEdit*)':")
+            << OutputParserTester::STDERR
+            << QString() << QString()
+            << ( QList<ProjectExplorer::Task>()
+                 << Task(Task::Unknown,
+                         QLatin1String("In constructor 'Find::BaseTextFind::BaseTextFind(QTextEdit*)':"),
+                         QLatin1String("/dev/creator/src/plugins/find/basetextfind.h"), -1,
+                         Constants::TASK_CATEGORY_COMPILE))
+            << QString();
+
     QTest::newRow("At global scope")
             << QString::fromLatin1("../../scriptbug/main.cpp: At global scope:\n"
                                    "../../scriptbug/main.cpp: In instantiation of void bar(i) [with i = double]:\n"
diff --git a/src/plugins/projectexplorer/ldparser.cpp b/src/plugins/projectexplorer/ldparser.cpp
index 7f4f2f3689db8606f13cbabdfaefddea13eff1c9..08cfb82735437f2febbdb5798fcbb6a133efe151 100644
--- a/src/plugins/projectexplorer/ldparser.cpp
+++ b/src/plugins/projectexplorer/ldparser.cpp
@@ -98,7 +98,7 @@ void LdParser::stdError(const QString &line)
         if (m_regExpInFunction.indexIn(description) > -1 ||
             description.startsWith(QLatin1String("At global scope")) ||
             description.startsWith(QLatin1String("instantiated from ")) ||
-            description.startsWith(QLatin1String("In instantiation of ")))
+            description.startsWith(QLatin1String("In ")))
             task.type = Task::Unknown;
 
         emit addTask(task);