diff -up kdevelop-4.0.0/documentation/qthelp/qthelpplugin.cpp.qmake_qt4 kdevelop-4.0.0/documentation/qthelp/qthelpplugin.cpp
--- kdevelop-4.0.0/documentation/qthelp/qthelpplugin.cpp.qmake_qt4 2010-04-28 13:33:25.000000000 -0500
+++ kdevelop-4.0.0/documentation/qthelp/qthelpplugin.cpp 2010-05-05 15:45:20.241258971 -0500
@@ -72,9 +72,14 @@ QtHelpPlugin::QtHelpPlugin(QObject* pare
QtHelpDocumentation::s_provider=this;
Q_UNUSED(args);
- QStringList qmakes;
- KStandardDirs::findAllExe(qmakes, "qmake");
- QString dirName;
+ QStringList qmakes;
+ QStringList tmp;
+ KStandardDirs::findAllExe(tmp, "qmake-qt4");
+ qmakes += tmp;
+ KStandardDirs::findAllExe(tmp, "qmake");
+ qmakes += tmp;
+ QString dirName;
+
foreach(const QString& qmake, qmakes) {
/// check both in doc/ and doc/qch/
dirName=qtDocsLocation(qmake)+"/qch/";