1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<wizard version="1" kind="project" firstpage="10" id="A4_UbuntuAppWBackendPlusTabsCMake'" category="A.UbuntuProject"
3
platformIndependent="true"
3
platformIndependent="true"
4
4
class="ubuntu-project-cmake"
7
7
<icon>../share/ubuntu.png</icon>
8
8
<description>A simple C++ based QtQuick2 Extension Library with
9
9
simple UI written in QML.
12
12
- a unit test for C++
13
13
- unit and functional tests for QML
15
15
<displayname>QML App with C++ plugin (cmake)</displayname>
16
16
<displaycategory>Ubuntu</displaycategory>
18
<file source="CMakeLists.txt" target="CMakeLists.txt" openproject="true"/>
19
<file source="backend/CMakeLists.txt" target="backend/CMakeLists.txt" openeditor="false"/>
20
<file source="backend/modules/displayName/backend.h" target="backend/modules/%ClickHookName:s%/backend.h" openeditor="false"/>
21
<file source="backend/modules/displayName/backend.cpp" target="backend/modules/%ClickHookName:s%/backend.cpp" openeditor="false"/>
22
<file source="backend/modules/displayName/mytype.h" target="backend/modules/%ClickHookName:s%/mytype.h" openeditor="false"/>
23
<file source="backend/modules/displayName/mytype.cpp" target="backend/modules/%ClickHookName:s%/mytype.cpp" openeditor="false"/>
24
<file source="backend/modules/displayName/qmldir" target="backend/modules/%ClickHookName:s%/qmldir" openeditor="false"/>
25
<file source="backend/tests/unit/tst_mytype.qml" target="backend/tests/unit/tst_mytype.qml" openeditor="false"/>
26
<file source="app/graphics/toolbarIcon@8.png" target="app/graphics/toolbarIcon@8.png" openeditor="false" binary="true"/>
27
<file source="app/displayName.desktop.in" target="app/%ClickHookName%.desktop.in" openeditor="false"/>
28
<file source="app/graphics/displayName.png" target="app/graphics/%ProjectName%.png" openeditor="false" binary="true"/>
29
<file source="app/CMakeLists.txt" target="app/CMakeLists.txt" openeditor="false"/>
30
<file source="app/tests/autopilot/run" target="app/tests/autopilot/run" openeditor="false"/>
31
<file source="app/tests/autopilot/displayName/main/test_main.py" target="app/tests/autopilot/%ProjectName%/main/test_main.py" openeditor="false"/>
32
<file source="app/tests/autopilot/displayName/__init__.py" target="app/tests/autopilot/%ProjectName%/__init__.py" openeditor="false"/>
33
<file source="app/tests/autopilot/displayName/main/__init__.py" target="app/tests/autopilot/%ProjectName%/main/__init__.py" openeditor="false"/>
34
<file source="cmake/Click.cmake" target="cmake/Click.cmake" openeditor="false"/>
35
<file source="manifest.json.in" target="manifest.json.in" openeditor="true"/>
36
<file source="../share/displayName.apparmor" target="%ClickHookName%.apparmor" openeditor="false"/>
37
<file source="app/Main.qml" target="app/Main.qml" openeditor="true"/>
38
<file source="po/CMakeLists.txt" target="po/CMakeLists.txt" openeditor="false"/>
18
<file source="CMakeLists.txt" target="CMakeLists.txt" openproject="true"/>
19
<file source="backend/CMakeLists.txt" target="backend/CMakeLists.txt" openeditor="false"/>
20
<file source="backend/modules/displayName/backend.h" target="backend/modules/%ClickHookName:s%/backend.h" openeditor="false"/>
21
<file source="backend/modules/displayName/backend.cpp" target="backend/modules/%ClickHookName:s%/backend.cpp" openeditor="false"/>
22
<file source="backend/modules/displayName/mytype.h" target="backend/modules/%ClickHookName:s%/mytype.h" openeditor="false"/>
23
<file source="backend/modules/displayName/mytype.cpp" target="backend/modules/%ClickHookName:s%/mytype.cpp" openeditor="false"/>
24
<file source="backend/modules/displayName/qmldir" target="backend/modules/%ClickHookName:s%/qmldir" openeditor="false"/>
25
<file source="backend/tests/unit/tst_mytype.qml" target="backend/tests/unit/tst_mytype.qml" openeditor="false"/>
26
<file source="app/graphics/toolbarIcon@8.png" target="app/graphics/toolbarIcon@8.png" openeditor="false" binary="true"/>
27
<file source="app/displayName.desktop.in" target="app/%ClickHookName%.desktop.in" openeditor="false"/>
28
<file source="app/graphics/displayName.png" target="app/graphics/%ProjectName%.png" openeditor="false" binary="true"/>
29
<file source="app/CMakeLists.txt" target="app/CMakeLists.txt" openeditor="false"/>
30
<file source="app/tests/autopilot/run" target="app/tests/autopilot/run" openeditor="false"/>
31
<file source="app/tests/autopilot/displayName/tests/test_main.py" target="app/tests/autopilot/%ProjectName%/tests/test_main.py" openeditor="false"/>
32
<file source="app/tests/autopilot/displayName/__init__.py" target="app/tests/autopilot/%ProjectName%/__init__.py" openeditor="false"/>
33
<file source="app/tests/autopilot/displayName/tests/__init__.py" target="app/tests/autopilot/%ProjectName%/tests/__init__.py" openeditor="false"/>
34
<file source="app/tests/unit/tst_main.qml" target="app/tests/unit/tst_main.qml" openeditor="false"/>
35
<file source="cmake/Click.cmake" target="cmake/Click.cmake" openeditor="false"/>
36
<file source="manifest.json.in" target="manifest.json.in" openeditor="true"/>
37
<file source="../share/displayName.apparmor" target="%ClickHookName%.apparmor" openeditor="false"/>
38
<file source="app/Main.qml" target="app/Main.qml" openeditor="true"/>
39
<file source="po/CMakeLists.txt" target="po/CMakeLists.txt" openeditor="false"/>
41
<!-- Create a 2nd wizard page with click package parameters -->
42
<fieldpagetitle>Click package parameters</fieldpagetitle>
44
<field mandatory="true" name="ClickDomain">
45
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9-]+$'
46
defaulttext="" placeholdertext="Nickname"/>
47
<fielddescription>Nickname:</fielddescription>
49
<field mandatory="true" name="ClickMaintainer">
50
<fieldcontrol class="QLineEdit" validator='^[^"]+$'
51
defaulttext="" placeholdertext="Maintainer"/>
52
<fielddescription>Maintainer:</fielddescription>
54
<field mandatory="true" name="ClickHookName">
55
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9.-]+$'
56
defaulttext="myapp" placeholdertext="app hook name"/>
57
<fielddescription>App name:</fielddescription>
42
<!-- Create a 2nd wizard page with click package parameters -->
43
<fieldpagetitle>Click package parameters</fieldpagetitle>
45
<field mandatory="true" name="ClickDomain">
46
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9-]+$'
47
defaulttext="" placeholdertext="Nickname"/>
48
<fielddescription>Nickname:</fielddescription>
50
<field mandatory="true" name="ClickMaintainer">
51
<fieldcontrol class="QLineEdit" validator='^[^"]+$'
52
defaulttext="" placeholdertext="Maintainer"/>
53
<fielddescription>Maintainer:</fielddescription>
55
<field mandatory="true" name="ClickHookName">
56
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9.-]+$'
57
defaulttext="myapp" placeholdertext="app hook name"/>
58
<fielddescription>App name:</fielddescription>
59
60
<field name="ClickFrameworkVersion">
60
61
<fieldcontrol class="QComboBox" defaultindex="0">
62
<!-- Do not add any other frameworks here, they are populated at runtime, this is just a dummy framework to make sure we can find the combobox -->
63
<comboentry value="ubuntu-sdk-dummy-framework">
63
<!-- Do not add any other frameworks here, they are populated at runtime, this is just a dummy framework to make sure we can find the combobox -->
64
<comboentry value="ubuntu-sdk-dummy-framework">
64
65
<comboentrytext>Dummy Framework</comboentrytext>
68
69
<fielddescription>Framework:</fielddescription>
72
73
<validationrule condition='/^(.*)\s+<(.*@.*)>$/.test("%ClickMaintainer%")'>
73
74
<message>Invalid format for maintainer (should be like "Joe Bloggs <joe.bloggs@isp.com>")</message>