forked from qt-creator/qt-creator
Moved the custom widget wizard templates into Qt Creators template dir.
Cannot put a source file template into a resource in a source directory as Visual Studio will grab and build it.
This commit is contained in:
@@ -65,6 +65,8 @@ Core::GeneratedFiles CustomWidgetWizard::generateFiles(const QWizard *w,
|
||||
p.name = cw->name();
|
||||
p.path = cw->path();
|
||||
p.license = CppTools::AbstractEditorSupport::licenseTemplate();
|
||||
p.templatePath = QtWizard::templateDir();
|
||||
p.templatePath += QLatin1String("/customwidgetwizard");
|
||||
return PluginGenerator::generatePlugin(p, *(cw->pluginOptions()), errorMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user