QmlJsCodeModel: Respect QT_NO_CODE_INDEXER environment variable

setting QT_NO_CODE_INDEXER = 1 disables the qmljs code model,
as consequence the qml designer will not work with this setting.

Change-Id: I71a2989b14e55e4d130463edd4a6459dee3cbd3d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Daniel Teske
2014-09-08 17:59:25 +02:00
committed by Fawzi Mohamed
parent 9090176d38
commit 109228fa62
2 changed files with 9 additions and 1 deletions

View File

@@ -285,6 +285,7 @@ private:
PluginDumper *m_pluginDumper;
QFutureSynchronizer<void> m_synchronizer;
bool m_indexerEnabled;
};
} // namespace QmlJS