Restructure qtquick templates, read them dynamically

Change-Id: I11dfac8ce8d6b1e68df0151516cdc03247fffe3a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
jkobus
2013-11-06 16:42:25 +01:00
committed by Jarek Kobus
parent a0554422dc
commit c31b03f1d0
38 changed files with 241 additions and 110 deletions

View File

@@ -429,10 +429,10 @@ bool QmakeProject::fromMap(const QVariantMap &map)
foreach (QmakeProFileNode *node, applicationProFiles(QmakeProject::ExactAndCumulativeParse)) {
const QString path = node->path();
qtQuickApp.setComponentSet(QtQuickApp::QtQuick10Components);
updateBoilerPlateCodeFiles(&qtQuickApp, path);
qtQuickApp.setComponentSet(QtQuickApp::QtQuick20Components);
updateBoilerPlateCodeFiles(&qtQuickApp, path);
foreach (TemplateInfo info, QtQuickApp::templateInfos()) {
qtQuickApp.setTemplateInfo(info);
updateBoilerPlateCodeFiles(&qtQuickApp, path);
}
updateBoilerPlateCodeFiles(&html5App, path);
}
return true;