QmlJS: Only try qmldump on Desktop and Simulator Qt.

In particular, don't complain about a missing qmldump binary on other
platforms.

Change-Id: Ie2e96bcb67e609aa5aed31510b06139d2d9ce77e
Reviewed-on: http://codereview.qt-project.org/5327
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-21 15:54:07 +02:00
committed by Leandro T. C. Melo
parent b9772e5c81
commit 3a110439e9
3 changed files with 44 additions and 18 deletions

View File

@@ -61,6 +61,7 @@ public:
{
public:
ProjectInfo()
: tryQmlDump(false)
{ }
ProjectInfo(QPointer<ProjectExplorer::Project> project)
@@ -80,8 +81,12 @@ public:
QPointer<ProjectExplorer::Project> project;
QStringList sourceFiles;
QStringList importPaths;
// whether trying to run qmldump makes sense
bool tryQmlDump;
QString qmlDumpPath;
Utils::Environment qmlDumpEnvironment;
QString qtImportsPath;
QString qtVersionString;
};