forked from qt-creator/qt-creator
qmldump: Allow for debug and release versions and choose the right one.
Task-number: QTCREATORBUG-3549 Reviewed-by: Kai Koehne
This commit is contained in:
@@ -134,7 +134,7 @@ void QmlProject::refresh(RefreshOptions options)
|
||||
QmlJS::ModelManagerInterface::ProjectInfo pinfo(this);
|
||||
pinfo.sourceFiles = files();
|
||||
pinfo.importPaths = importPaths();
|
||||
Qt4ProjectManager::QmlDumpTool::pathAndEnvironment(this, &pinfo.qmlDumpPath, &pinfo.qmlDumpEnvironment);
|
||||
Qt4ProjectManager::QmlDumpTool::pathAndEnvironment(this, false, &pinfo.qmlDumpPath, &pinfo.qmlDumpEnvironment);
|
||||
m_modelManager->updateProjectInfo(pinfo);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user