1 <?xml version="1.0" encoding="UTF-8"?>
3 /**************************************************************************
5 ** This file is part of Qt Creator
7 ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
9 ** Contact: Nokia Corporation (qt-info@nokia.com)
11 ** No Commercial Usage
13 ** This file contains pre-release code and may not be distributed.
14 ** You may use this file in accordance with the terms and conditions
15 ** contained in the Technology Preview License Agreement accompanying
18 ** GNU Lesser General Public License Usage
20 ** Alternatively, this file may be used under the terms of the GNU Lesser
21 ** General Public License version 2.1 as published by the Free Software
22 ** Foundation and appearing in the file LICENSE.LGPL included in the
23 ** packaging of this file. Please review the following information to
24 ** ensure the GNU Lesser General Public License version 2.1 requirements
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
27 ** In addition, as a special exception, Nokia gives you certain additional
28 ** rights. These rights are described in the Nokia Qt LGPL Exception
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
31 ** If you have questions regarding the use of this file, please contact
32 ** Nokia at qt-info@nokia.com.
34 **************************************************************************/
36 Custom project wizard configuration example file. Note that by convention,
37 the project file goes last.
38 The "class" and "firstpage" attributes specify that it is a Qt 4 wizard and
39 leave room for the Qt 4 target page.
41 <wizard version="1" kind="project"
42 class="qt4project" firstpage="10"
43 id="R.QtCreatorPlugin" category="I.Projects">
44 <icon>qtcreator_logo_24.png</icon>
45 <description>Creates a custom Qt Creator plugin.</description>
46 <displayname>Qt Creator plugin</displayname>;
47 <displaycategory>Other Project</displaycategory>
49 <file source="myplugin.pro" target="%PluginName:l%.pro" openproject="true"/>
50 <file source="MyPlugin.pluginspec.in" target="%PluginName%.pluginspec.in" openeditor="true"/>
51 <file source="myplugin_global.h" target="%PluginName:l%_global.%CppHeaderSuffix%" openeditor="true"/>
52 <file source="mypluginconstants.h" target="%PluginName:l%constants.%CppHeaderSuffix%" openeditor="true"/>
53 <file source="myplugin.h" target="%PluginName:l%plugin.%CppHeaderSuffix%" openeditor="true"/>
54 <file source="myplugin.cpp" target="%PluginName:l%plugin.%CppSourceSuffix%" openeditor="true"/>
56 <!-- Create a 2nd wizard page with parameters -->
57 <fieldpagetitle>Plugin Information</fieldpagetitle>
59 <field mandatory="true" name="PluginName">
60 <fieldcontrol class="QLineEdit" validator="^[a-zA-Z0-9_]+$"
61 defaulttext="MyPlugin" />
62 <fielddescription>Plugin name:</fielddescription>
64 <field mandatory="true" name="VendorName">
65 <fieldcontrol class="QLineEdit" validator="^[a-zA-Z0-9_]+$"
66 defaulttext="MyCompany" />
67 <fielddescription>Vendor name:</fielddescription>
69 <field name="Copyright">
70 <fieldcontrol class="QLineEdit"
71 defaulttext="(C) MyCompany" />
72 <fielddescription>Copyright:</fielddescription>
74 <field name="License">
75 <fieldcontrol class="QTextEdit"
76 defaulttext="Put your license text here" />
77 <fielddescription>License:</fielddescription>
79 <field name="Description">
80 <fieldcontrol class="QTextEdit"
81 defaulttext="Put a short description of your plugin here"/>
82 <fielddescription>Description:</fielddescription>
85 <fieldcontrol class="QLineEdit"
86 defaulttext="http://www.mycompany.com" />
87 <fielddescription>Url:</fielddescription>
89 <field mandatory="true" name="QtCreatorSources">
90 <fieldcontrol class="Utils::PathChooser"
92 <fielddescription>Qt Creator sources:</fielddescription>
94 <field mandatory="true" name="QtCreatorBuild">
95 <fieldcontrol class="Utils::PathChooser"
97 <fielddescription>Qt Creator build:</fielddescription>