Enable QML_IMPORT_TRACE for setImportPathList and setPluginPathList
authorDenis Mingulov <denis@mingulov.com>
Tue, 1 May 2012 18:44:36 +0000 (21:44 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 8 May 2012 22:56:16 +0000 (00:56 +0200)
commit1c9e021e97d6ce704f24e4f319e8fe0e714ae642
treef49370bffffae4a04ef75af6ac03c681fa8ae92d
parentf67ba78760602642bd947abed261e84dadb9cfdf
Enable QML_IMPORT_TRACE for setImportPathList and setPluginPathList

Currently QQmlImportDatabase methods addPluginPath and addImportPath
are providing a debug output by QML_IMPORT_TRACE environment variable.
QQmlImportDatabase::setImportPathList and QQmlImportDatabase - do not.
So the current import/plugin path list might be inconsistent with the
provided debug output.

This commit adds support for QML_IMPORT_TRACE for both 'set' methods.

Change-Id: I52bb3c7b7e7e5c1119f5b73c7574da2952f4242d
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
src/qml/qml/qqmlimport.cpp