Commit d6fa81cd authored by Daniel Molkentin's avatar Daniel Molkentin Committed by Eike Ziller

Do not try to evaluate examples or demos for Qt 5.

There is no good plan on how to expose examples and demos
of Qt 5 other than using XML manifests. Thus, it's best
to disable the fallback mechanism, as it can only break
(see e.g. QTCREATORBUG-5472).

Change-Id: I4cc1fa875297c3d368ae261f5404fa61301f172f
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 5dcf7d2e
......@@ -275,6 +275,9 @@ QStringList ExamplesListModel::exampleSources() const
// Try to get dir from first Qt Version
QtVersionManager *versionManager = QtVersionManager::instance();
foreach (BaseQtVersion *version, versionManager->validVersions()) {
// There is no good solution for Qt 5 yet
if (version->qtVersion().majorVersion != 4)
continue;
QDir examplesDir(version->examplesPath());
if (examplesDir.exists()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment