forked from qt-creator/qt-creator
JsonWizard: Add a polish phase
Add a signal/method to polish the generated files: This phase happens after all files are written to disk and are ready. It is intended for tasks not directly related to the project setup: E.g. generation of config files, etc. Use this to generate our config files. Change-Id: I9bb5d296bec19f163b70c5ec8d43d5b8e3a52d79 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -55,7 +55,7 @@ void JsonKitsPage::initializePage()
|
||||
JsonWizard *wiz = qobject_cast<JsonWizard *>(wizard());
|
||||
QTC_ASSERT(wiz, return);
|
||||
|
||||
connect(wiz, &JsonWizard::allDone, this, &JsonKitsPage::setupProjectFiles);
|
||||
connect(wiz, &JsonWizard::filesPolished, this, &JsonKitsPage::setupProjectFiles);
|
||||
|
||||
const QString platform = wiz->stringValue(QLatin1String("Platform"));
|
||||
const Core::FeatureSet preferred = Core::FeatureSet::fromStringList(wiz->value(QLatin1String("PreferredFeatures")).toStringList());
|
||||
|
||||
Reference in New Issue
Block a user