Skip to content
Snippets Groups Projects
Commit f9938a97 authored by Kai Koehne's avatar Kai Koehne
Browse files

qmldump: Always check for private headers being available

4.7.1 won't come with private headers always being installed.

Reviewed-by: ckamm
parent 13b442f2
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ bool QmlDumpTool::canBuild(const QtVersion *qtVersion)
const QString installHeaders = qtVersion->versionInfo().value("QT_INSTALL_HEADERS");
const QString header = installHeaders + QLatin1String("/QtDeclarative/private/qdeclarativemetatype_p.h");
return qtVersion->supportsTargetId(Constants::DESKTOP_TARGET_ID)
&& (checkMinimumQtVersion(qtVersion->qtVersionString(), 4, 7, 1) || QFile::exists(header));
&& QFile::exists(header);
}
static QtVersion *qtVersionForProject(ProjectExplorer::Project *project)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment