diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 746e665573bdd4448262d5cf5524e110cdd72d3c..d3fca830853309a387a7d77b2ac4587ab6e1c41d 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -390,7 +390,7 @@ void HelpPlugin::extensionsInitialized()
 {
     QStringList filesToRegister;
     // we might need to register creators inbuild help
-    filesToRegister.append(QDir::cleanPath(appPath
+    filesToRegister.append(QDir::cleanPath(QCoreApplication::applicationDirPath()
         + docPath() + QLatin1String("qtcreator.qch")));
     Core::HelpManager::instance()->registerDocumentation(filesToRegister);
 }