Merge lp:~juhapekka-piiroinen/ubuntu-qtcreator-plugins/refactoring-and-fixing into lp:ubuntu-qtcreator-plugins
- refactoring-and-fixing
- Merge into trunk
Status: | Merged | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 189 | ||||||||||||||||||||||||||||
Proposed branch: | lp:~juhapekka-piiroinen/ubuntu-qtcreator-plugins/refactoring-and-fixing | ||||||||||||||||||||||||||||
Merge into: | lp:ubuntu-qtcreator-plugins | ||||||||||||||||||||||||||||
Diff against target: |
2875 lines (+1496/-867) 57 files modified
Makefile (+69/-3) README (+0/-34) build (+0/-35) build-package (+0/-21) packaging/ubuntu-qtcreator-plugins.install (+0/-3) patches/2013-04-control.patch (+0/-12) prepare (+0/-41) qt5libs/debian/changelog (+0/-11) qt5libs/debian/compat (+0/-1) qt5libs/debian/control (+0/-39) qt5libs/debian/rules (+0/-27) qt5libs/debian/source/format (+0/-1) qt5libs/debian/source/include-binaries (+0/-331) qt5libs/debian/ubuntu-qtcreator-qt5libs.install (+0/-2) qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile (+0/-3) qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml (+0/-37) qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py (+0/-1) qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py (+0/-39) qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py (+0/-54) qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile (+0/-2) qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml (+0/-43) ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install (+4/-0) ubuntu-qtcreator-plugins/debian/qtcreator.desktop (+10/-0) ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop (+11/-0) ubuntu-qtcreator-plugins/share/qtcreator/static.pro (+126/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/backend/backend.h (+21/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/projectypes.json (+48/-36) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile (+18/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml (+14/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/main.qml (+4/-2) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py (+129/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py (+1/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py (+38/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml (+49/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile (+18/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml (+14/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml (+6/-45) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py (+129/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py (+1/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py (+23/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml (+49/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml (+30/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml (+35/-0) ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml (+13/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/menu.json (+7/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/device_search (+2/-1) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery (+2/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_project_packaging (+1/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings (+24/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml (+79/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml (+79/-0) ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/welcome.qml (+62/-35) ubuntu-qtcreator-plugins/src/plugins/plugins.pro (+361/-0) ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntu.pro (+6/-6) ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuconstants.h (+1/-0) ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuplugin.cpp (+1/-1) ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp (+11/-1) |
||||||||||||||||||||||||||||
To merge this branch: | bzr merge lp:~juhapekka-piiroinen/ubuntu-qtcreator-plugins/refactoring-and-fixing | ||||||||||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juhapekka Piiroinen | Pending | ||
Review via email: mp+167125@code.launchpad.net |
Commit message
Description of the change
Fixed bugs:
Bug #1172241: Integrate tests inside the application templates
Bug #1180193: Qt Creator should be renamed 'Ubuntu SDK'
Bug #1180195: Remove duplicate Welcome view
Bug #1181125: Missing example QML code for using the "QML Extension LIbrary"
Bug #1186220: remove qt5libs package generation
Bug #1186230: Separate Ubuntu plugin from QtCreator sources so that it can be built (and QA'd) separately instead of maintaining a patch
- 197. By Juhapekka Piiroinen
-
Fixed bug #1186996 Have the UI Toolkit gallery launchable from Qt Creator
- 198. By Juhapekka Piiroinen
-
Fixes bug #1174900 [bazaar] set UserEmail and UserName
- 199. By Juhapekka Piiroinen
-
Fixes bug #1180192 When searching in the dash, 'Ubuntu SDK' should find Qt Creator
- 200. By Juhapekka Piiroinen
-
Removed the bazaar related code lines. To be fixed in the bazaar plugin itself.
Added "make install" target.
- 201. By Juhapekka Piiroinen
-
fixed gallery launching
- 202. By Juhapekka Piiroinen
-
Fixed autopilot test for simple template.
- 203. By Juhapekka Piiroinen
-
removed autopilot and unit templates.
- 204. By Juhapekka Piiroinen
-
work in progress commit
- 205. By Juhapekka Piiroinen
-
Fixed python module name to lowercase
- 206. By Juhapekka Piiroinen
-
Fixed simple application template
- 207. By Juhapekka Piiroinen
-
Improved Tabbed template
- 208. By Juhapekka Piiroinen
-
Added missing autopilot tests to json file
- 209. By Juhapekka Piiroinen
-
Commented out automaticOrient
ation which is available only in the latest ubuntu-ui-toolkit. - 210. By Juhapekka Piiroinen
-
Improved application templates
- 211. By Juhapekka Piiroinen
-
fixed typo
- 212. By Juhapekka Piiroinen
-
fixed filename issue
- 213. By Juhapekka Piiroinen
-
added missing file
- 214. By Juhapekka Piiroinen
-
Added new targets:
build-dep installs all build dependencies
build-dep-ppa adds all required ppa's - 215. By Juhapekka Piiroinen
-
We can not unload the Designer, we should disable it instead when ubuntu project is loaded. A project manager is required.
We need the deb-src for ubuntu-sdk-team ppa. - 216. By Juhapekka Piiroinen
-
Cleaned autopilot tests for tabbed ui.
Added "hasTests" property to projecttypes.json file. - 217. By Juhapekka Piiroinen
-
Added "make run" target to project Makefile.
Add "Makefile" to qmlproject.
Preview Diff
1 | === modified file 'Makefile' | |||
2 | --- Makefile 2013-02-14 11:08:07 +0000 | |||
3 | +++ Makefile 2013-06-10 18:40:33 +0000 | |||
4 | @@ -1,6 +1,72 @@ | |||
5 | 1 | CORES = `cat /proc/cpuinfo |grep processor|wc -l` | ||
6 | 2 | VERSION = 2.7.1 | ||
7 | 3 | SRCPATH = qtcreator-${VERSION} | ||
8 | 4 | ARCH = $(shell arch) | ||
9 | 5 | BUILDPATH = build-$(ARCH) | ||
10 | 6 | |||
11 | 1 | all: | 7 | all: |
14 | 2 | ./prepare | 8 | make src |
15 | 3 | ./build | 9 | make build |
16 | 10 | |||
17 | 11 | src: | ||
18 | 12 | apt-get source qtcreator=${VERSION} | ||
19 | 13 | sed -i "s/qtcreator-plugin/#qtcreator-plugin/g" $(SRCPATH)/debian/patches/series | ||
20 | 14 | sed -i "s/ubuntu/#ubuntu/g" $(SRCPATH)/debian/patches/series | ||
21 | 15 | sed -i "s/tar xvf debian/#tar xvf debian/g" $(SRCPATH)/debian/rules | ||
22 | 16 | cp $(SRCPATH)/src/plugins/plugins.pro $(SRCPATH)/src/plugins/plugins.pro.orig | ||
23 | 17 | cp $(SRCPATH)/share/qtcreator/static.pro $(SRCPATH)/share/qtcreator/static.pro.orig | ||
24 | 18 | make copy-plugin-src | ||
25 | 19 | |||
26 | 20 | copy-plugin-src: | ||
27 | 21 | cp -r ubuntu-qtcreator-plugins/* $(SRCPATH)/ | ||
28 | 22 | |||
29 | 23 | update-plugin-share: | ||
30 | 24 | cp -r ubuntu-qtcreator-plugins/share $(BUILDPATH)/ | ||
31 | 25 | |||
32 | 26 | clean-src: | ||
33 | 27 | rm -Rf $(SRCPATH) | ||
34 | 28 | |||
35 | 29 | clean-build: | ||
36 | 30 | rm -Rf $(BUILDPATH) | ||
37 | 31 | |||
38 | 32 | clean-project: | ||
39 | 33 | make clean-src | ||
40 | 34 | make clean-build | ||
41 | 35 | rm qtcreator_${VERSION}* | ||
42 | 36 | |||
43 | 37 | build: | ||
44 | 38 | mkdir -p $(BUILDPATH) | ||
45 | 39 | set -e; cd $(BUILDPATH); \ | ||
46 | 40 | qmake -r ../$(SRCPATH); \ | ||
47 | 41 | make -j${CORES} | ||
48 | 42 | |||
49 | 43 | run: | ||
50 | 44 | $(BUILDPATH)/bin/qtcreator | ||
51 | 4 | 45 | ||
52 | 5 | clean: | 46 | clean: |
54 | 6 | rm tmp -Rf | 47 | cd $(BUILDPATH); make clean |
55 | 48 | |||
56 | 49 | distclean: | ||
57 | 50 | cd $(BUILDPATH); make distclean | ||
58 | 51 | |||
59 | 52 | install: | ||
60 | 53 | cd $(BUILDPATH); INSTALL_ROOT=/usr make install | ||
61 | 54 | cp $(SRCPATH)/debian/*.desktop /usr/share/applications | ||
62 | 55 | |||
63 | 56 | release: | ||
64 | 57 | cd $(SRCPATH); \ | ||
65 | 58 | dch -U; \ | ||
66 | 59 | dch -r | ||
67 | 60 | |||
68 | 61 | package: | ||
69 | 62 | make src | ||
70 | 63 | cd $(SRCPATH); dpkg-buildpackage -us -uc -nc -j${CORES} | ||
71 | 64 | |||
72 | 65 | build-dep: | ||
73 | 66 | sudo apt-get build-dep qtcreator | ||
74 | 67 | |||
75 | 68 | build-dep-ppa: | ||
76 | 69 | sudo apt-add-repository ppa:ubuntu-sdk-team/ppa | ||
77 | 70 | sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list.d/ubuntu-sdk-team-ppa-*.list | ||
78 | 71 | sudo apt-add-repository ppa:canonical-qt5-edgers/qt5-proper | ||
79 | 72 | sudo apt-get update | ||
80 | 7 | 73 | ||
81 | === removed file 'README' | |||
82 | --- README 2013-05-01 21:17:32 +0000 | |||
83 | +++ README 1970-01-01 00:00:00 +0000 | |||
84 | @@ -1,34 +0,0 @@ | |||
85 | 1 | |||
86 | 2 | Ubuntu Qt Creator plugins | ||
87 | 3 | =================================== | ||
88 | 4 | |||
89 | 5 | 0) This plugin requires following: | ||
90 | 6 | |||
91 | 7 | qtcreator | ||
92 | 8 | android-tools-adb | ||
93 | 9 | |||
94 | 10 | 1) Scripts | ||
95 | 11 | ----------------------------------- | ||
96 | 12 | prepare This script will fetch the Qt Creator source code | ||
97 | 13 | and creates a source package. | ||
98 | 14 | |||
99 | 15 | build This script builds the project inside pbuilder-dist. | ||
100 | 16 | Accepts command line argument 'release'. | ||
101 | 17 | |||
102 | 18 | build-package This script will execute dpkg-buildpackage | ||
103 | 19 | |||
104 | 20 | |||
105 | 21 | 2) Directories | ||
106 | 22 | ----------------------------------- | ||
107 | 23 | qtcreator This directory contains the Ubuntu Qt Creator plugin. | ||
108 | 24 | |||
109 | 25 | patches This directory contains the patches which are executed with 'prepare' | ||
110 | 26 | |||
111 | 27 | packaging This directory contains the packaging related changes which are done in 'prepare' | ||
112 | 28 | |||
113 | 29 | |||
114 | 30 | 3) Makefile | ||
115 | 31 | ----------------------------------- | ||
116 | 32 | make Build project in pbuilder-dist | ||
117 | 33 | make clean Deletes the temporary files which were created during 'make' / 'prepare' | ||
118 | 34 | |||
119 | 35 | 0 | ||
120 | === removed file 'build' | |||
121 | --- build 2013-04-08 13:34:07 +0000 | |||
122 | +++ build 1970-01-01 00:00:00 +0000 | |||
123 | @@ -1,35 +0,0 @@ | |||
124 | 1 | #!/bin/bash | ||
125 | 2 | # Copyright 2013 Canonical Ltd. | ||
126 | 3 | # | ||
127 | 4 | # This program is free software; you can redistribute it and/or modify | ||
128 | 5 | # it under the terms of the GNU Lesser General Public License as published by | ||
129 | 6 | # the Free Software Foundation; version 2.1. | ||
130 | 7 | # | ||
131 | 8 | # This program is distributed in the hope that it will be useful, | ||
132 | 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
133 | 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
134 | 11 | # GNU Lesser General Public License for more details. | ||
135 | 12 | # | ||
136 | 13 | # You should have received a copy of the GNU Lesser General Public License | ||
137 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
138 | 15 | # | ||
139 | 16 | # Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
140 | 17 | |||
141 | 18 | echo | ||
142 | 19 | echo "Compiling project in pbuilder-dist." | ||
143 | 20 | echo "-----------------------------------" | ||
144 | 21 | read -p "Distribution: " DIST | ||
145 | 22 | read -p "Architecture: " ARCH | ||
146 | 23 | echo | ||
147 | 24 | DSCFILE=`ls -t tmp/*.dsc|head -n1` | ||
148 | 25 | echo "Building $DSCFILE" | ||
149 | 26 | pbuilder-dist $DIST $ARCH build $DSCFILE | ||
150 | 27 | if [ $? == 1 ]; then | ||
151 | 28 | echo | ||
152 | 29 | echo "Have you created the target with:" | ||
153 | 30 | echo " pbuilder-dist $DIST $ARCH create" | ||
154 | 31 | echo | ||
155 | 32 | exit | ||
156 | 33 | fi | ||
157 | 34 | echo "-----------------------------------" | ||
158 | 35 | echo "Check results in ~/pbuilder/" | ||
159 | 36 | 0 | ||
160 | === removed file 'build-package' | |||
161 | --- build-package 2013-04-08 13:34:07 +0000 | |||
162 | +++ build-package 1970-01-01 00:00:00 +0000 | |||
163 | @@ -1,21 +0,0 @@ | |||
164 | 1 | #!/bin/bash | ||
165 | 2 | # Copyright 2013 Canonical Ltd. | ||
166 | 3 | # | ||
167 | 4 | # This program is free software; you can redistribute it and/or modify | ||
168 | 5 | # it under the terms of the GNU Lesser General Public License as published by | ||
169 | 6 | # the Free Software Foundation; version 2.1. | ||
170 | 7 | # | ||
171 | 8 | # This program is distributed in the hope that it will be useful, | ||
172 | 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
173 | 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
174 | 11 | # GNU Lesser General Public License for more details. | ||
175 | 12 | # | ||
176 | 13 | # You should have received a copy of the GNU Lesser General Public License | ||
177 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
178 | 15 | # | ||
179 | 16 | # Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
180 | 17 | cd tmp | ||
181 | 18 | cd qtcreator* | ||
182 | 19 | cp -r ../../qtcreator/* . | ||
183 | 20 | dpkg-source --commit --include-binaries | ||
184 | 21 | dpkg-buildpackage -us -uc -nc | ||
185 | 22 | 0 | ||
186 | === removed directory 'packaging' | |||
187 | === removed file 'packaging/ubuntu-qtcreator-plugins.install' | |||
188 | --- packaging/ubuntu-qtcreator-plugins.install 2013-02-14 15:19:23 +0000 | |||
189 | +++ packaging/ubuntu-qtcreator-plugins.install 1970-01-01 00:00:00 +0000 | |||
190 | @@ -1,3 +0,0 @@ | |||
191 | 1 | usr/share/qtcreator/templates/wizards/ubuntu | ||
192 | 2 | usr/share/qtcreator/ubuntu | ||
193 | 3 | usr/lib/*/qtcreator/plugins/Canonical | ||
194 | 4 | 0 | ||
195 | === removed symlink 'packaging/ubuntu-qtcreator-plugins.install.linux' | |||
196 | === target was u'ubuntu-qtcreator-plugins.install' | |||
197 | === removed directory 'patches' | |||
198 | === removed file 'patches/2013-04-control.patch' | |||
199 | --- patches/2013-04-control.patch 2013-04-18 04:44:02 +0000 | |||
200 | +++ patches/2013-04-control.patch 1970-01-01 00:00:00 +0000 | |||
201 | @@ -1,12 +0,0 @@ | |||
202 | 1 | --- debian/control 2013-04-04 15:42:30.000000000 +0300 | ||
203 | 2 | +++ debian/control 2013-04-12 10:32:02.126392842 +0300 | ||
204 | 3 | @@ -57,7 +57,8 @@ | ||
205 | 4 | qtdeclarative5-dev, | ||
206 | 5 | qmlscene, | ||
207 | 6 | qtcreator-doc, | ||
208 | 7 | - xterm | x-terminal-emulator | ||
209 | 8 | + xterm | x-terminal-emulator, | ||
210 | 9 | + dh-make | ||
211 | 10 | Suggests: cmake, git, kdelibs5-data, subversion, ubuntu-sdk, qtquick1-5-dev, qtquick1-5-dev-tools | ||
212 | 11 | Description: lightweight integrated development environment (IDE) for Qt | ||
213 | 12 | Qt Creator is a new, lightweight, cross-platform integrated development | ||
214 | 13 | 0 | ||
215 | === removed file 'prepare' | |||
216 | --- prepare 2013-04-12 08:36:54 +0000 | |||
217 | +++ prepare 1970-01-01 00:00:00 +0000 | |||
218 | @@ -1,41 +0,0 @@ | |||
219 | 1 | #!/bin/bash | ||
220 | 2 | # Copyright 2013 Canonical Ltd. | ||
221 | 3 | # | ||
222 | 4 | # This program is free software; you can redistribute it and/or modify | ||
223 | 5 | # it under the terms of the GNU Lesser General Public License as published by | ||
224 | 6 | # the Free Software Foundation; version 2.1. | ||
225 | 7 | # | ||
226 | 8 | # This program is distributed in the hope that it will be useful, | ||
227 | 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
228 | 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
229 | 11 | # GNU Lesser General Public License for more details. | ||
230 | 12 | # | ||
231 | 13 | # You should have received a copy of the GNU Lesser General Public License | ||
232 | 14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
233 | 15 | # | ||
234 | 16 | # Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
235 | 17 | set -e | ||
236 | 18 | |||
237 | 19 | rm -Rf tmp | ||
238 | 20 | mkdir tmp | ||
239 | 21 | cd tmp | ||
240 | 22 | apt-get source qtcreator | ||
241 | 23 | if [[ $? != 0 ]]; then | ||
242 | 24 | exit 2 | ||
243 | 25 | fi | ||
244 | 26 | cd qtcreator* | ||
245 | 27 | cp -dr ../../qtcreator/* . | ||
246 | 28 | set +e | ||
247 | 29 | patch -tp0 < ../../patches/2013-04-control.patch | ||
248 | 30 | #patch -tp0 < ../../patches/override_dh_shlibdeps-skip-ubuntu-qtcreator-plugins.diff | ||
249 | 31 | #patch -tp0 < ../../patches/add-new-packages.diff | ||
250 | 32 | #patch -tp0 < ../../patches/add-statics.diff | ||
251 | 33 | #patch -tp0 < ../../patches/fix-package-depends.diff | ||
252 | 34 | set -e | ||
253 | 35 | #cp -d ../../packaging/* debian/ | ||
254 | 36 | if [[ $1 == "release" ]]; then | ||
255 | 37 | dch -U | ||
256 | 38 | dch -r | ||
257 | 39 | fi | ||
258 | 40 | dpkg-source --include-binaries --commit . ubuntu | ||
259 | 41 | debuild -S -sa -i -us -uc | ||
260 | 42 | 0 | ||
261 | === removed directory 'qt5libs' | |||
262 | === removed directory 'qt5libs/debian' | |||
263 | === removed file 'qt5libs/debian/changelog' | |||
264 | --- qt5libs/debian/changelog 2013-02-15 16:36:55 +0000 | |||
265 | +++ qt5libs/debian/changelog 1970-01-01 00:00:00 +0000 | |||
266 | @@ -1,11 +0,0 @@ | |||
267 | 1 | ubuntu-qtcreator-qt5libs (0.1-1ubuntu1) quantal; urgency=low | ||
268 | 2 | |||
269 | 3 | * Quantal release | ||
270 | 4 | |||
271 | 5 | -- Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> Fri, 15 Feb 2013 18:35:46 +0200 | ||
272 | 6 | |||
273 | 7 | ubuntu-qtcreator-qt5libs (0.1-1) unstable; urgency=low | ||
274 | 8 | |||
275 | 9 | * Initial release | ||
276 | 10 | |||
277 | 11 | -- Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> Fri, 15 Feb 2013 16:29:09 +0200 | ||
278 | 12 | 0 | ||
279 | === removed file 'qt5libs/debian/compat' | |||
280 | --- qt5libs/debian/compat 2013-02-15 15:03:23 +0000 | |||
281 | +++ qt5libs/debian/compat 1970-01-01 00:00:00 +0000 | |||
282 | @@ -1,1 +0,0 @@ | |||
283 | 1 | 8 | ||
284 | 2 | 0 | ||
285 | === removed file 'qt5libs/debian/control' | |||
286 | --- qt5libs/debian/control 2013-02-15 16:36:55 +0000 | |||
287 | +++ qt5libs/debian/control 1970-01-01 00:00:00 +0000 | |||
288 | @@ -1,39 +0,0 @@ | |||
289 | 1 | Source: ubuntu-qtcreator-qt5libs | ||
290 | 2 | Priority: extra | ||
291 | 3 | Maintainer: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
292 | 4 | Build-Depends: debhelper (>= 9.0.0), | ||
293 | 5 | libqt5sql5-sqlite (>= 5.0.1~), | ||
294 | 6 | libqt5designercomponents5 (>= 5.0.1~), | ||
295 | 7 | libqt5designer5 (>= 5.0.1~), | ||
296 | 8 | libqt5clucene5 (>= 5.0.1~), | ||
297 | 9 | qttools5-private-dev (>= 5.0.1~), | ||
298 | 10 | libqt5v8-5-private-dev (>= 5.0.1~), | ||
299 | 11 | libqt5help5 (>= 5.0.1~), | ||
300 | 12 | qttools5-dev (>= 5.0.1~), | ||
301 | 13 | qttools5-dev-tools (>= 5.0.1~), | ||
302 | 14 | qt5-qmake (>= 5.0.1~), | ||
303 | 15 | qtbase5-private-dev (>= 5.0.1~), | ||
304 | 16 | libqt5script5 (>= 5.0.1~), | ||
305 | 17 | libqt5scripttools5 (>= 5.0.1~), | ||
306 | 18 | qt5-default, | ||
307 | 19 | qtscript5-private-dev (>= 5.0.1~), | ||
308 | 20 | qtxmlpatterns5-dev-tools (>= 5.0.1~), | ||
309 | 21 | libqt5widgets5 (>= 5.0.1~), | ||
310 | 22 | qttools5-dev-tools (>= 5.0.1~), | ||
311 | 23 | qtdeclarative5-private-dev (>= 5.0.1~), | ||
312 | 24 | qtdeclarative5-dev-tools (>= 5.0.1~), | ||
313 | 25 | qtquick1-5-dev (>= 5.0.1~), | ||
314 | 26 | qtquick1-5-dev-tools (>= 5.0.1~), | ||
315 | 27 | libqt5help5 (>= 5.0.1~), | ||
316 | 28 | qtlocation5-dev, | ||
317 | 29 | qtsensors5-dev | ||
318 | 30 | Standards-Version: 3.9.4 | ||
319 | 31 | Section: libs | ||
320 | 32 | Homepage: http://launchpad.net/ubuntu-qtcreator-plugins | ||
321 | 33 | |||
322 | 34 | Package: ubuntu-qtcreator-qt5libs | ||
323 | 35 | Section: libs | ||
324 | 36 | Architecture: any | ||
325 | 37 | Depends: ubuntu-qtcreator-plugins | ||
326 | 38 | Description: Qt 5 libraries for Qt Creator | ||
327 | 39 | This package contains Qt 5 libraries for Qt Creator. | ||
328 | 40 | 0 | ||
329 | === removed file 'qt5libs/debian/rules' | |||
330 | --- qt5libs/debian/rules 2013-02-15 16:09:13 +0000 | |||
331 | +++ qt5libs/debian/rules 1970-01-01 00:00:00 +0000 | |||
332 | @@ -1,27 +0,0 @@ | |||
333 | 1 | #!/usr/bin/make -f | ||
334 | 2 | # -*- makefile -*- | ||
335 | 3 | # Sample debian/rules that uses debhelper. | ||
336 | 4 | # This file was originally written by Joey Hess and Craig Small. | ||
337 | 5 | # As a special exception, when this file is copied by dh-make into a | ||
338 | 6 | # dh-make output file, you may use that output file without restriction. | ||
339 | 7 | # This special exception was added by Craig Small in version 0.37 of dh-make. | ||
340 | 8 | |||
341 | 9 | # Uncomment this to turn on verbose mode. | ||
342 | 10 | export DH_VERBOSE=1 | ||
343 | 11 | |||
344 | 12 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) | ||
345 | 13 | TARGET_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator | ||
346 | 14 | BIN_PATH=$(CURDIR)/debian/tmp/usr/bin | ||
347 | 15 | %: | ||
348 | 16 | dh $@ | ||
349 | 17 | |||
350 | 18 | override_dh_installdirs: | ||
351 | 19 | mkdir -p $(BIN_PATH) | ||
352 | 20 | echo "#!/bin/bash" > $(BIN_PATH)/ubuntu-qtcreator | ||
353 | 21 | echo "QT_PLUGIN_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator/qt5/plugins qtcreator" >> $(BIN_PATH)/ubuntu-qtcreator | ||
354 | 22 | chmod +x $(BIN_PATH)/ubuntu-qtcreator | ||
355 | 23 | |||
356 | 24 | mkdir -p $(TARGET_PATH) | ||
357 | 25 | cp -dr /usr/lib/$(DEB_HOST_MULTIARCH)/qt5 $(TARGET_PATH) | ||
358 | 26 | cp -d /usr/lib/$(DEB_HOST_MULTIARCH)/libQt5*so* $(TARGET_PATH) | ||
359 | 27 | |||
360 | 28 | 0 | ||
361 | === removed directory 'qt5libs/debian/source' | |||
362 | === removed file 'qt5libs/debian/source/format' | |||
363 | --- qt5libs/debian/source/format 2013-02-15 15:03:23 +0000 | |||
364 | +++ qt5libs/debian/source/format 1970-01-01 00:00:00 +0000 | |||
365 | @@ -1,1 +0,0 @@ | |||
366 | 1 | 3.0 (native) | ||
367 | 2 | 0 | ||
368 | === removed file 'qt5libs/debian/source/include-binaries' | |||
369 | --- qt5libs/debian/source/include-binaries 2013-02-15 15:03:23 +0000 | |||
370 | +++ qt5libs/debian/source/include-binaries 1970-01-01 00:00:00 +0000 | |||
371 | @@ -1,331 +0,0 @@ | |||
372 | 1 | usr | ||
373 | 2 | usr/lib | ||
374 | 3 | usr/lib/x86_64-linux-gnu | ||
375 | 4 | usr/lib/x86_64-linux-gnu/qtcreator | ||
376 | 5 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5.0.1 | ||
377 | 6 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5.0 | ||
378 | 7 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so | ||
379 | 8 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5.0.1 | ||
380 | 9 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5.0.1 | ||
381 | 10 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so | ||
382 | 11 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so | ||
383 | 12 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5.0 | ||
384 | 13 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so | ||
385 | 14 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5.0 | ||
386 | 15 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5.0 | ||
387 | 16 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5.0 | ||
388 | 17 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5.0.1 | ||
389 | 18 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so | ||
390 | 19 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so | ||
391 | 20 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5 | ||
392 | 21 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so | ||
393 | 22 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5 | ||
394 | 23 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5.0.1 | ||
395 | 24 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5 | ||
396 | 25 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5.0 | ||
397 | 26 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5.0.1 | ||
398 | 27 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5 | ||
399 | 28 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5.0 | ||
400 | 29 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5 | ||
401 | 30 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so | ||
402 | 31 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5.0.1 | ||
403 | 32 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5 | ||
404 | 33 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5.0 | ||
405 | 34 | usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5 | ||
406 | 35 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5 | ||
407 | 36 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5.0.1 | ||
408 | 37 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5.0 | ||
409 | 38 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5.0 | ||
410 | 39 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5 | ||
411 | 40 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5.0.1 | ||
412 | 41 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5 | ||
413 | 42 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5.0.1 | ||
414 | 43 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5 | ||
415 | 44 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so | ||
416 | 45 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5 | ||
417 | 46 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so | ||
418 | 47 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5 | ||
419 | 48 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5.0.1 | ||
420 | 49 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5.0 | ||
421 | 50 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so | ||
422 | 51 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5.0.1 | ||
423 | 52 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5.0 | ||
424 | 53 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so | ||
425 | 54 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5.0 | ||
426 | 55 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5.0.1 | ||
427 | 56 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5.0 | ||
428 | 57 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so | ||
429 | 58 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5 | ||
430 | 59 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5.0 | ||
431 | 60 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so | ||
432 | 61 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so | ||
433 | 62 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5.0.1 | ||
434 | 63 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so | ||
435 | 64 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so | ||
436 | 65 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5 | ||
437 | 66 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5.0.0 | ||
438 | 67 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5.0 | ||
439 | 68 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so | ||
440 | 69 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5.0 | ||
441 | 70 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so | ||
442 | 71 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5 | ||
443 | 72 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5.0 | ||
444 | 73 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5.0.1 | ||
445 | 74 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5 | ||
446 | 75 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5 | ||
447 | 76 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so | ||
448 | 77 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5.0.1 | ||
449 | 78 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5 | ||
450 | 79 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5.0.1 | ||
451 | 80 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5.0 | ||
452 | 81 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5.0 | ||
453 | 82 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5.0 | ||
454 | 83 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so | ||
455 | 84 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5.0.1 | ||
456 | 85 | usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5.0.0 | ||
457 | 86 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5 | ||
458 | 87 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5 | ||
459 | 88 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.prl | ||
460 | 89 | usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5.0 | ||
461 | 90 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5.0 | ||
462 | 91 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5.0 | ||
463 | 92 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5 | ||
464 | 93 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5.0.1 | ||
465 | 94 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5.0.1 | ||
466 | 95 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5 | ||
467 | 96 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so | ||
468 | 97 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5 | ||
469 | 98 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5.0.1 | ||
470 | 99 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5.0.1 | ||
471 | 100 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5.0 | ||
472 | 101 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5.0 | ||
473 | 102 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5.0.1 | ||
474 | 103 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5.0.1 | ||
475 | 104 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5.0.0 | ||
476 | 105 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5.0.1 | ||
477 | 106 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5.0 | ||
478 | 107 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5.0 | ||
479 | 108 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5 | ||
480 | 109 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5 | ||
481 | 110 | usr/lib/x86_64-linux-gnu/qtcreator/qt5 | ||
482 | 111 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec | ||
483 | 112 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec/QtWebPluginProcess | ||
484 | 113 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec/QtWebProcess | ||
485 | 114 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin | ||
486 | 115 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/uic | ||
487 | 116 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/rcc | ||
488 | 117 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/moc | ||
489 | 118 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qml1plugindump | ||
490 | 119 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lrelease | ||
491 | 120 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlprofiler | ||
492 | 121 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lconvert | ||
493 | 122 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmake | ||
494 | 123 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbusviewer | ||
495 | 124 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbusxml2cpp | ||
496 | 125 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbuscpp2xml | ||
497 | 126 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qhelpconverter | ||
498 | 127 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/syncqt | ||
499 | 128 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbus | ||
500 | 129 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/xmlpatterns | ||
501 | 130 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qhelpgenerator | ||
502 | 131 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlplugindump | ||
503 | 132 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmltestrunner | ||
504 | 133 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lupdate | ||
505 | 134 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qcollectiongenerator | ||
506 | 135 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/designer | ||
507 | 136 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/pixeltool | ||
508 | 137 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlbundle | ||
509 | 138 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlmin | ||
510 | 139 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/linguist | ||
511 | 140 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/assistant | ||
512 | 141 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlviewer | ||
513 | 142 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdoc | ||
514 | 143 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/xmlpatternsvalidator | ||
515 | 144 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml | ||
516 | 145 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors | ||
517 | 146 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/qmldir | ||
518 | 147 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/libdeclarative_sensors.so | ||
519 | 148 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/plugins.qmltypes | ||
520 | 149 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2 | ||
521 | 150 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/qmldir | ||
522 | 151 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/libqtquick2plugin.so | ||
523 | 152 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/plugins.qmltypes | ||
524 | 153 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu | ||
525 | 154 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components | ||
526 | 155 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/qmldir | ||
527 | 156 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageStack.qml | ||
528 | 157 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/AnimatedItem.qml | ||
529 | 158 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/UbuntuShape.qml | ||
530 | 159 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/sliderUtils.js | ||
531 | 160 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups | ||
532 | 161 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/qmldir | ||
533 | 162 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/SheetBase.qml | ||
534 | 163 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Pointer.qml | ||
535 | 164 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Popover.qml | ||
536 | 165 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/ubuntu-components-popups.qdoc | ||
537 | 166 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/internalPopupUtils.js | ||
538 | 167 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Dialog.qml | ||
539 | 168 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/DefaultSheet.qml | ||
540 | 169 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/ComposerSheet.qml | ||
541 | 170 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/popupUtils.js | ||
542 | 171 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/PopupBase.qml | ||
543 | 172 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Label.qml | ||
544 | 173 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Page.qml | ||
545 | 174 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ModelSectionCounter.qml | ||
546 | 175 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/scrollbarUtils.js | ||
547 | 176 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/mathUtils.js | ||
548 | 177 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Tabs.qml | ||
549 | 178 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Scrollbar.qml | ||
550 | 179 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ActivityIndicator.qml | ||
551 | 180 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/componentUtils.js | ||
552 | 181 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/plugins.qmltypes | ||
553 | 182 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextArea.qml | ||
554 | 183 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Object.qml | ||
555 | 184 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/libUbuntuComponents.so | ||
556 | 185 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ActionList.qml | ||
557 | 186 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Toolbar.qml | ||
558 | 187 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ProgressBar.qml | ||
559 | 188 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextField.qml | ||
560 | 189 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextCustom.qml | ||
561 | 190 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Action.qml | ||
562 | 191 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Slider.qml | ||
563 | 192 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ToolbarActions.qml | ||
564 | 193 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageWrapperUtils.js | ||
565 | 194 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/CheckBox.qml | ||
566 | 195 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Button.qml | ||
567 | 196 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork | ||
568 | 197 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarTrackerIndeterminate@8.png | ||
569 | 198 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicator@8.png | ||
570 | 199 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarTracker@8.png | ||
571 | 200 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/back@18.png | ||
572 | 201 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarBackground@8.png | ||
573 | 202 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicatorCentre@8.png | ||
574 | 203 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicatorMoving@8.png | ||
575 | 204 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/MainView.qml | ||
576 | 205 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Header.qml | ||
577 | 206 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TabButton.qml | ||
578 | 207 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/fontUtils.js | ||
579 | 208 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/stack.js | ||
580 | 209 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems | ||
581 | 210 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/qmldir | ||
582 | 211 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml | ||
583 | 212 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/MultiValue.qml | ||
584 | 213 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Base.qml | ||
585 | 214 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/SingleValue.qml | ||
586 | 215 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml | ||
587 | 216 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Standard.qml | ||
588 | 217 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Divider.qml | ||
589 | 218 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ubuntu-components-listitems.qdoc | ||
590 | 219 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ImageWithFallback.qml | ||
591 | 220 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Subtitled.qml | ||
592 | 221 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Empty.qml | ||
593 | 222 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork | ||
594 | 223 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDivider6px@8.png | ||
595 | 224 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDivider24px@8.png | ||
596 | 225 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow@8.png | ||
597 | 226 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDividerVertical@18.png | ||
598 | 227 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDividerHorizontal@18.png | ||
599 | 228 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Header.qml | ||
600 | 229 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ProgressionVisual.qml | ||
601 | 230 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/IconVisual.qml | ||
602 | 231 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ThinDivider.qml | ||
603 | 232 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Caption.qml | ||
604 | 233 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/LabelVisual.qml | ||
605 | 234 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/DraggingArea.qml | ||
606 | 235 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Tab.qml | ||
607 | 236 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageWrapper.qml | ||
608 | 237 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Switch.qml | ||
609 | 238 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/GenericToolbar.qml | ||
610 | 239 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/AbstractButton.qml | ||
611 | 240 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest | ||
612 | 241 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/qmldir | ||
613 | 242 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/testlogger.js | ||
614 | 243 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/TestCase.qml | ||
615 | 244 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/plugins.qmltypes | ||
616 | 245 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/libqmltestplugin.so | ||
617 | 246 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/SignalSpy.qml | ||
618 | 247 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation | ||
619 | 248 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/qmldir | ||
620 | 249 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/libdeclarative_location.so | ||
621 | 250 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/plugins.qmltypes | ||
622 | 251 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick | ||
623 | 252 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel | ||
624 | 253 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/qmldir | ||
625 | 254 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/plugins.qmltypes | ||
626 | 255 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so | ||
627 | 256 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins | ||
628 | 257 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/geoservices | ||
629 | 258 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/geoservices/libqtgeoservices_nokia.so | ||
630 | 259 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer | ||
631 | 260 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqnmbearer.so | ||
632 | 261 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqconnmanbearer.so | ||
633 | 262 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqgenericbearer.so | ||
634 | 263 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/printsupport | ||
635 | 264 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/printsupport/libcupsprintersupport.so | ||
636 | 265 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic | ||
637 | 266 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevtouchplugin.so | ||
638 | 267 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevmouseplugin.so | ||
639 | 268 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevkeyboardplugin.so | ||
640 | 269 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevtabletplugin.so | ||
641 | 270 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats | ||
642 | 271 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqico.so | ||
643 | 272 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqgif.so | ||
644 | 273 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqjpeg.so | ||
645 | 274 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sqldrivers | ||
646 | 275 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sqldrivers/libqsqlite.so | ||
647 | 276 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling | ||
648 | 277 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_qtquick2.so | ||
649 | 278 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_tcp_qtdeclarative.so | ||
650 | 279 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_inspector.so | ||
651 | 280 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_tcp.so | ||
652 | 281 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts | ||
653 | 282 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts/libmaliitplatforminputcontextplugin.so | ||
654 | 283 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so | ||
655 | 284 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible | ||
656 | 285 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible/libqtaccessiblequick.so | ||
657 | 286 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible/libqtaccessiblewidgets.so | ||
658 | 287 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms | ||
659 | 288 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqlinuxfb.so | ||
660 | 289 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqxcb.so | ||
661 | 290 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqminimal.so | ||
662 | 291 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/position | ||
663 | 292 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/position/libqtposition_geoclue.so | ||
664 | 293 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors | ||
665 | 294 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_generic.so | ||
666 | 295 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_dummy.so | ||
667 | 296 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_linuxsys.so | ||
668 | 297 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures | ||
669 | 298 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so | ||
670 | 299 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so | ||
671 | 300 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_counterplugin.so | ||
672 | 301 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports | ||
673 | 302 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt | ||
674 | 303 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs | ||
675 | 304 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures | ||
676 | 305 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/qmldir | ||
677 | 306 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/plugins.qmltypes | ||
678 | 307 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/libqmlgesturesplugin.so | ||
679 | 308 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders | ||
680 | 309 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/qmldir | ||
681 | 310 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/plugins.qmltypes | ||
682 | 311 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/libqmlshadersplugin.so | ||
683 | 312 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel | ||
684 | 313 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/qmldir | ||
685 | 314 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so | ||
686 | 315 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/plugins.qmltypes | ||
687 | 316 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles | ||
688 | 317 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/qmldir | ||
689 | 318 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/libqmlparticlesplugin.so | ||
690 | 319 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/plugins.qmltypes | ||
691 | 320 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit | ||
692 | 321 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/qmldir | ||
693 | 322 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/plugins.qmltypes | ||
694 | 323 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/libqmlwebkitplugin.so | ||
695 | 324 | usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/builtins.qmltypes | ||
696 | 325 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5 | ||
697 | 326 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5 | ||
698 | 327 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so | ||
699 | 328 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so | ||
700 | 329 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5 | ||
701 | 330 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5.0.1 | ||
702 | 331 | usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5.0 | ||
703 | 332 | 0 | ||
704 | === removed file 'qt5libs/debian/ubuntu-qtcreator-qt5libs.install' | |||
705 | --- qt5libs/debian/ubuntu-qtcreator-qt5libs.install 2013-02-15 16:04:20 +0000 | |||
706 | +++ qt5libs/debian/ubuntu-qtcreator-qt5libs.install 1970-01-01 00:00:00 +0000 | |||
707 | @@ -1,2 +0,0 @@ | |||
708 | 1 | usr/lib/*/qtcreator | ||
709 | 2 | usr/bin | ||
710 | 3 | 0 | ||
711 | === removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot' | |||
712 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile' | |||
713 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile 2013-05-03 23:00:15 +0000 | |||
714 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile 1970-01-01 00:00:00 +0000 | |||
715 | @@ -1,3 +0,0 @@ | |||
716 | 1 | check: | ||
717 | 2 | cd tests | ||
718 | 3 | autopilot run qmluitests | ||
719 | 4 | 0 | ||
720 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml' | |||
721 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml 2013-02-14 11:31:47 +0000 | |||
722 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml 1970-01-01 00:00:00 +0000 | |||
723 | @@ -1,37 +0,0 @@ | |||
724 | 1 | import QtQuick 2.0 | ||
725 | 2 | import Ubuntu.Components 0.1 | ||
726 | 3 | |||
727 | 4 | /*! | ||
728 | 5 | \brief A Hello World application with a functional tests with autopilot-qt | ||
729 | 6 | */ | ||
730 | 7 | |||
731 | 8 | MainView { | ||
732 | 9 | // objectName for functional testing purposes (autopilot-qt5) | ||
733 | 10 | objectName: "mainView" | ||
734 | 11 | |||
735 | 12 | width: units.gu(100) | ||
736 | 13 | height: units.gu(75) | ||
737 | 14 | |||
738 | 15 | Column { | ||
739 | 16 | anchors.centerIn: parent | ||
740 | 17 | width: units.gu(40) | ||
741 | 18 | spacing: units.gu(2) | ||
742 | 19 | |||
743 | 20 | Label { | ||
744 | 21 | id: label | ||
745 | 22 | objectName: "label" | ||
746 | 23 | |||
747 | 24 | text: "Hello.." | ||
748 | 25 | } | ||
749 | 26 | Button { | ||
750 | 27 | objectName: "button" | ||
751 | 28 | width: parent.width | ||
752 | 29 | |||
753 | 30 | text: "Tap me!" | ||
754 | 31 | |||
755 | 32 | onClicked: { | ||
756 | 33 | label.text = "..world!" | ||
757 | 34 | } | ||
758 | 35 | } | ||
759 | 36 | } | ||
760 | 37 | } | ||
761 | 38 | 0 | ||
762 | === removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests' | |||
763 | === removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests' | |||
764 | === removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic' | |||
765 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py' | |||
766 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py 2013-02-14 11:31:47 +0000 | |||
767 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py 1970-01-01 00:00:00 +0000 | |||
768 | @@ -1,1 +0,0 @@ | |||
769 | 1 | """ A Generic test suite """ | ||
770 | 2 | 0 | ||
771 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py' | |||
772 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py 2013-05-03 23:00:15 +0000 | |||
773 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py 1970-01-01 00:00:00 +0000 | |||
774 | @@ -1,39 +0,0 @@ | |||
775 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
776 | 2 | |||
777 | 3 | """Tests for the Hello World""" | ||
778 | 4 | |||
779 | 5 | from autopilot.matchers import Eventually | ||
780 | 6 | from textwrap import dedent | ||
781 | 7 | from testtools.matchers import Is, Not, Equals | ||
782 | 8 | from testtools import skip | ||
783 | 9 | import os | ||
784 | 10 | from tests import HelloWorldTestCase | ||
785 | 11 | |||
786 | 12 | |||
787 | 13 | class GenericTests(HelloWorldTestCase): | ||
788 | 14 | """Generic tests for the Hello World""" | ||
789 | 15 | |||
790 | 16 | test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../helloworld") | ||
791 | 17 | |||
792 | 18 | def test_can_select_mainView(self): | ||
793 | 19 | """Must be able to select the button.""" | ||
794 | 20 | |||
795 | 21 | mainView = self.app.select_single('MainView') | ||
796 | 22 | self.assertThat(mainView, Not(Is(None))) | ||
797 | 23 | self.assertThat(mainView.visible,Eventually(Equals(True))) | ||
798 | 24 | |||
799 | 25 | def test_can_tap_button(self): | ||
800 | 26 | """Must be able to tap the button""" | ||
801 | 27 | |||
802 | 28 | lbl = self.app.select_single(objectName="label") | ||
803 | 29 | self.assertThat(lbl, Not(Is(None))) | ||
804 | 30 | |||
805 | 31 | btn = self.app.select_single(objectName="button") | ||
806 | 32 | self.assertThat(btn, Not(Is(None))) | ||
807 | 33 | self.assertThat(btn.visible, Eventually(Equals(True))) | ||
808 | 34 | |||
809 | 35 | self.mouse.move_to_object(btn) | ||
810 | 36 | self.mouse.click() | ||
811 | 37 | |||
812 | 38 | self.assertThat(lbl.text, Eventually(Equals("..world!"))) | ||
813 | 39 | |||
814 | 40 | 0 | ||
815 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py' | |||
816 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py 2013-05-03 23:00:15 +0000 | |||
817 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py 1970-01-01 00:00:00 +0000 | |||
818 | @@ -1,54 +0,0 @@ | |||
819 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
820 | 2 | |||
821 | 3 | """Hello World autopilot tests.""" | ||
822 | 4 | |||
823 | 5 | from os import remove | ||
824 | 6 | import os.path | ||
825 | 7 | from tempfile import mktemp | ||
826 | 8 | |||
827 | 9 | from autopilot.matchers import Eventually | ||
828 | 10 | from testtools.matchers import Is, Not, Equals | ||
829 | 11 | from autopilot.introspection.qt import QtIntrospectionTestMixin | ||
830 | 12 | from autopilot.testcase import AutopilotTestCase | ||
831 | 13 | |||
832 | 14 | |||
833 | 15 | def get_module_include_path(): | ||
834 | 16 | return os.path.abspath( | ||
835 | 17 | os.path.join( | ||
836 | 18 | os.path.dirname(__file__), | ||
837 | 19 | '..', | ||
838 | 20 | '..', | ||
839 | 21 | '..', | ||
840 | 22 | '..', | ||
841 | 23 | 'modules') | ||
842 | 24 | ) | ||
843 | 25 | |||
844 | 26 | |||
845 | 27 | class HelloWorldTestCase(AutopilotTestCase, QtIntrospectionTestMixin): | ||
846 | 28 | |||
847 | 29 | """A common test case class that provides several useful methods for the HelloWorld tests.""" | ||
848 | 30 | |||
849 | 31 | def setUp(self): | ||
850 | 32 | super(HelloWorldTestCase, self).setUp() | ||
851 | 33 | self.launch_test_qml() | ||
852 | 34 | |||
853 | 35 | def launch_test_qml(self): | ||
854 | 36 | # If the test class has defined a 'test_qml' class attribute then we | ||
855 | 37 | # write it to disk and launch it inside the Qml Viewer. If not, then we | ||
856 | 38 | # silently do nothing (presumably the test has something else planned). | ||
857 | 39 | if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring): | ||
858 | 40 | qml_path = mktemp(suffix='.qml') | ||
859 | 41 | open(qml_path, 'w').write(self.test_qml) | ||
860 | 42 | self.addCleanup(remove, qml_path) | ||
861 | 43 | |||
862 | 44 | self.app = self.launch_test_application( | ||
863 | 45 | "qmlscene", | ||
864 | 46 | "-I", get_module_include_path(), | ||
865 | 47 | qml_path) | ||
866 | 48 | |||
867 | 49 | if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring): | ||
868 | 50 | qml_path = self.test_qml_file | ||
869 | 51 | self.app = self.launch_test_application( | ||
870 | 52 | "qmlscene", | ||
871 | 53 | "-I", get_module_include_path(), | ||
872 | 54 | qml_path) | ||
873 | 55 | 0 | ||
874 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png' | |||
875 | 56 | Binary files qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png 2013-04-24 06:10:16 +0000 and qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png 1970-01-01 00:00:00 +0000 differ | 1 | Binary files qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png 2013-04-24 06:10:16 +0000 and qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png 1970-01-01 00:00:00 +0000 differ |
876 | === removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit' | |||
877 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile' | |||
878 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile 2013-05-03 23:00:15 +0000 | |||
879 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile 1970-01-01 00:00:00 +0000 | |||
880 | @@ -1,2 +0,0 @@ | |||
881 | 1 | check: | ||
882 | 2 | qmltestrunner | ||
883 | 3 | 0 | ||
884 | === removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml' | |||
885 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml 2013-05-03 23:00:15 +0000 | |||
886 | +++ qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml 1970-01-01 00:00:00 +0000 | |||
887 | @@ -1,43 +0,0 @@ | |||
888 | 1 | import QtQuick 2.0 | ||
889 | 2 | import QtTest 1.0 | ||
890 | 3 | import Ubuntu.Components 0.1 | ||
891 | 4 | |||
892 | 5 | // See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html | ||
893 | 6 | |||
894 | 7 | Item { | ||
895 | 8 | // The objects | ||
896 | 9 | Button { | ||
897 | 10 | id: objectUnderTest | ||
898 | 11 | } | ||
899 | 12 | |||
900 | 13 | TestCase { | ||
901 | 14 | name: "testCase1" | ||
902 | 15 | when: windowShown | ||
903 | 16 | |||
904 | 17 | function init() { | ||
905 | 18 | console.debug(">> init"); | ||
906 | 19 | console.debug("<< init"); | ||
907 | 20 | } | ||
908 | 21 | |||
909 | 22 | function cleanup() { | ||
910 | 23 | console.debug(">> cleanup"); | ||
911 | 24 | console.debug("<< cleanup"); | ||
912 | 25 | } | ||
913 | 26 | |||
914 | 27 | function initTestCase() { | ||
915 | 28 | console.debug(">> initTestCase"); | ||
916 | 29 | console.debug("<< initTestCase"); | ||
917 | 30 | } | ||
918 | 31 | |||
919 | 32 | function cleanupTestCase() { | ||
920 | 33 | console.debug(">> cleanupTestCase"); | ||
921 | 34 | console.debug("<< cleanupTestCase"); | ||
922 | 35 | } | ||
923 | 36 | |||
924 | 37 | function test_exampleTest1() { | ||
925 | 38 | var expected = true; | ||
926 | 39 | var result = true; | ||
927 | 40 | compare(expected,result,"expected did not equal result"); | ||
928 | 41 | } | ||
929 | 42 | } | ||
930 | 43 | } | ||
931 | 44 | 0 | ||
932 | === renamed directory 'qtcreator' => 'ubuntu-qtcreator-plugins' | |||
933 | === added directory 'ubuntu-qtcreator-plugins/debian' | |||
934 | === added file 'ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install' | |||
935 | --- ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install 1970-01-01 00:00:00 +0000 | |||
936 | +++ ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install 2013-06-10 18:40:33 +0000 | |||
937 | @@ -0,0 +1,4 @@ | |||
938 | 1 | debian/ubuntusdk.desktop usr/share/applications | ||
939 | 2 | usr/share/qtcreator/templates/wizards/ubuntu | ||
940 | 3 | usr/share/qtcreator/ubuntu | ||
941 | 4 | usr/lib/*/qtcreator/plugins/Canonical | ||
942 | 0 | 5 | ||
943 | === added file 'ubuntu-qtcreator-plugins/debian/qtcreator.desktop' | |||
944 | --- ubuntu-qtcreator-plugins/debian/qtcreator.desktop 1970-01-01 00:00:00 +0000 | |||
945 | +++ ubuntu-qtcreator-plugins/debian/qtcreator.desktop 2013-06-10 18:40:33 +0000 | |||
946 | @@ -0,0 +1,10 @@ | |||
947 | 1 | [Desktop Entry] | ||
948 | 2 | Exec=qtcreator -noload Ubuntu %F | ||
949 | 3 | Icon=QtProject-qtcreator | ||
950 | 4 | Type=Application | ||
951 | 5 | Terminal=false | ||
952 | 6 | Name=Qt Creator | ||
953 | 7 | GenericName=Integrated Development Environment | ||
954 | 8 | MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource; | ||
955 | 9 | Categories=Qt;Development;IDE; | ||
956 | 10 | InitialPreference=9 | ||
957 | 0 | 11 | ||
958 | === added file 'ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop' | |||
959 | --- ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop 1970-01-01 00:00:00 +0000 | |||
960 | +++ ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop 2013-06-10 18:40:33 +0000 | |||
961 | @@ -0,0 +1,11 @@ | |||
962 | 1 | [Desktop Entry] | ||
963 | 2 | Exec=qtcreator -noload Welcome %F | ||
964 | 3 | Icon=QtProject-qtcreator | ||
965 | 4 | Type=Application | ||
966 | 5 | Terminal=false | ||
967 | 6 | Name=Ubuntu SDK | ||
968 | 7 | GenericName=Integrated Development Environment | ||
969 | 8 | MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource; | ||
970 | 9 | Categories=Qt;Development;IDE; | ||
971 | 10 | InitialPreference=9 | ||
972 | 11 | Keywords=Ubuntu SDK;SDK;Ubuntu Touch | ||
973 | 0 | 12 | ||
974 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/static.pro' | |||
975 | --- ubuntu-qtcreator-plugins/share/qtcreator/static.pro 1970-01-01 00:00:00 +0000 | |||
976 | +++ ubuntu-qtcreator-plugins/share/qtcreator/static.pro 2013-06-10 18:40:33 +0000 | |||
977 | @@ -0,0 +1,126 @@ | |||
978 | 1 | include(../../qtcreator.pri) | ||
979 | 2 | |||
980 | 3 | TEMPLATE = app | ||
981 | 4 | TARGET = phony_target | ||
982 | 5 | CONFIG -= qt separate_debug_info gdb_dwarf_index | ||
983 | 6 | QT = | ||
984 | 7 | LIBS = | ||
985 | 8 | macx:CONFIG -= app_bundle | ||
986 | 9 | |||
987 | 10 | isEmpty(vcproj) { | ||
988 | 11 | QMAKE_LINK = @: IGNORE THIS LINE | ||
989 | 12 | OBJECTS_DIR = | ||
990 | 13 | win32:CONFIG -= embed_manifest_exe | ||
991 | 14 | } else { | ||
992 | 15 | CONFIG += console | ||
993 | 16 | PHONY_DEPS = . | ||
994 | 17 | phony_src.input = PHONY_DEPS | ||
995 | 18 | phony_src.output = phony.c | ||
996 | 19 | phony_src.variable_out = GENERATED_SOURCES | ||
997 | 20 | phony_src.commands = echo int main() { return 0; } > phony.c | ||
998 | 21 | phony_src.name = CREATE phony.c | ||
999 | 22 | phony_src.CONFIG += combine | ||
1000 | 23 | QMAKE_EXTRA_COMPILERS += phony_src | ||
1001 | 24 | } | ||
1002 | 25 | |||
1003 | 26 | DATA_DIRS = \ | ||
1004 | 27 | welcomescreen \ | ||
1005 | 28 | examplebrowser \ | ||
1006 | 29 | snippets \ | ||
1007 | 30 | templates \ | ||
1008 | 31 | designer \ | ||
1009 | 32 | schemes \ | ||
1010 | 33 | styles \ | ||
1011 | 34 | rss \ | ||
1012 | 35 | dumper \ | ||
1013 | 36 | qmldesigner \ | ||
1014 | 37 | qmlicons \ | ||
1015 | 38 | qml \ | ||
1016 | 39 | qml-type-descriptions \ | ||
1017 | 40 | generic-highlighter \ | ||
1018 | 41 | glsl \ | ||
1019 | 42 | ubuntu | ||
1020 | 43 | |||
1021 | 44 | macx: DATA_DIRS += scripts | ||
1022 | 45 | |||
1023 | 46 | for(data_dir, DATA_DIRS) { | ||
1024 | 47 | files = $$files($$PWD/$$data_dir/*, true) | ||
1025 | 48 | win32:files ~= s|\\\\|/|g | ||
1026 | 49 | for(file, files):!contains(file, ".*/Info\\.plist\\.in$"):!exists($$file/*):FILES += $$file | ||
1027 | 50 | } | ||
1028 | 51 | OTHER_FILES += $$FILES | ||
1029 | 52 | |||
1030 | 53 | # conditionally deployed data | ||
1031 | 54 | !isEmpty(copydata) { | ||
1032 | 55 | copy2build.input = FILES | ||
1033 | 56 | copy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcDir} | ||
1034 | 57 | isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS | ||
1035 | 58 | win32:copy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\" | ||
1036 | 59 | unix:copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} | ||
1037 | 60 | copy2build.name = COPY ${QMAKE_FILE_IN} | ||
1038 | 61 | copy2build.CONFIG += no_link | ||
1039 | 62 | QMAKE_EXTRA_COMPILERS += copy2build | ||
1040 | 63 | } | ||
1041 | 64 | |||
1042 | 65 | !macx { | ||
1043 | 66 | for(data_dir, DATA_DIRS) { | ||
1044 | 67 | eval($${data_dir}.files = $$quote($$PWD/$$data_dir)) | ||
1045 | 68 | eval($${data_dir}.path = $$QTC_PREFIX/share/qtcreator) | ||
1046 | 69 | INSTALLS += $$data_dir | ||
1047 | 70 | } | ||
1048 | 71 | } else { | ||
1049 | 72 | # do version magic for app bundles | ||
1050 | 73 | dumpinfo.input = qml/qmldump/Info.plist.in | ||
1051 | 74 | dumpinfo.output = $$IDE_DATA_PATH/qml/qmldump/Info.plist | ||
1052 | 75 | QMAKE_SUBSTITUTES += dumpinfo | ||
1053 | 76 | observerinfo.input = qml/qmlobserver/Info.plist.in | ||
1054 | 77 | observerinfo.output = $$IDE_DATA_PATH/qml/qmlobserver/Info.plist | ||
1055 | 78 | QMAKE_SUBSTITUTES += observerinfo | ||
1056 | 79 | } | ||
1057 | 80 | |||
1058 | 81 | SRCRESOURCEDIR = $$IDE_SOURCE_TREE/src/share/qtcreator/ | ||
1059 | 82 | defineReplace(stripSrcResourceDir) { | ||
1060 | 83 | win32 { | ||
1061 | 84 | !contains(1, ^.:.*):1 = $$OUT_PWD/$$1 | ||
1062 | 85 | } else { | ||
1063 | 86 | !contains(1, ^/.*):1 = $$OUT_PWD/$$1 | ||
1064 | 87 | } | ||
1065 | 88 | out = $$cleanPath($$1) | ||
1066 | 89 | out ~= s|^$$re_escape($$SRCRESOURCEDIR)||$$i_flag | ||
1067 | 90 | return($$out) | ||
1068 | 91 | } | ||
1069 | 92 | |||
1070 | 93 | # files that are to be unconditionally "deployed" to the build dir from src/share to share | ||
1071 | 94 | DATA_DIRS = \ | ||
1072 | 95 | externaltools | ||
1073 | 96 | DATA_FILES_SRC = \ | ||
1074 | 97 | externaltools/lrelease.xml \ | ||
1075 | 98 | externaltools/lupdate.xml \ | ||
1076 | 99 | externaltools/sort.xml \ | ||
1077 | 100 | externaltools/qmlviewer.xml \ | ||
1078 | 101 | externaltools/qmlscene.xml | ||
1079 | 102 | unix { | ||
1080 | 103 | macx:DATA_FILES_SRC += externaltools/vi_mac.xml | ||
1081 | 104 | else:DATA_FILES_SRC += externaltools/vi.xml | ||
1082 | 105 | } else { | ||
1083 | 106 | DATA_FILES_SRC += externaltools/notepad_win.xml | ||
1084 | 107 | } | ||
1085 | 108 | for(file, DATA_FILES_SRC):DATA_FILES += $${SRCRESOURCEDIR}$$file | ||
1086 | 109 | OTHER_FILES += $$DATA_FILES | ||
1087 | 110 | unconditionalCopy2build.input = DATA_FILES | ||
1088 | 111 | unconditionalCopy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcResourceDir} | ||
1089 | 112 | isEmpty(vcproj):unconditionalCopy2build.variable_out = PRE_TARGETDEPS | ||
1090 | 113 | win32:unconditionalCopy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\" | ||
1091 | 114 | unix:unconditionalCopy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} | ||
1092 | 115 | unconditionalCopy2build.name = COPY ${QMAKE_FILE_IN} | ||
1093 | 116 | unconditionalCopy2build.CONFIG += no_link | ||
1094 | 117 | QMAKE_EXTRA_COMPILERS += unconditionalCopy2build | ||
1095 | 118 | |||
1096 | 119 | !macx { | ||
1097 | 120 | for(data_dir, DATA_DIRS) { | ||
1098 | 121 | eval($${data_dir}.files = $$IDE_DATA_PATH/$$data_dir) | ||
1099 | 122 | eval($${data_dir}.path = $$QTC_PREFIX/share/qtcreator) | ||
1100 | 123 | eval($${data_dir}.CONFIG += no_check_exist) | ||
1101 | 124 | INSTALLS += $$data_dir | ||
1102 | 125 | } | ||
1103 | 126 | } | ||
1104 | 0 | 127 | ||
1105 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/backend/backend.h' | |||
1106 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/backend/backend.h 2013-04-23 14:15:56 +0000 | |||
1107 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/backend/backend.h 2013-06-10 18:40:33 +0000 | |||
1108 | @@ -4,6 +4,27 @@ | |||
1109 | 4 | #include <QtQml/QQmlEngine> | 4 | #include <QtQml/QQmlEngine> |
1110 | 5 | #include <QtQml/QQmlExtensionPlugin> | 5 | #include <QtQml/QQmlExtensionPlugin> |
1111 | 6 | 6 | ||
1112 | 7 | /* | ||
1113 | 8 | ----8<----- | ||
1114 | 9 | |||
1115 | 10 | import %DISPLAYNAME% 1.0 | ||
1116 | 11 | |||
1117 | 12 | Rectangle { | ||
1118 | 13 | width: 200 | ||
1119 | 14 | height: 200 | ||
1120 | 15 | |||
1121 | 16 | MyType { | ||
1122 | 17 | id: helloType | ||
1123 | 18 | } | ||
1124 | 19 | |||
1125 | 20 | Text { | ||
1126 | 21 | anchors.centerIn: parent | ||
1127 | 22 | text: helloType.helloworld | ||
1128 | 23 | } | ||
1129 | 24 | } | ||
1130 | 25 | |||
1131 | 26 | -----8<------ | ||
1132 | 27 | */ | ||
1133 | 7 | class BackendPlugin : public QQmlExtensionPlugin | 28 | class BackendPlugin : public QQmlExtensionPlugin |
1134 | 8 | { | 29 | { |
1135 | 9 | Q_OBJECT | 30 | Q_OBJECT |
1136 | 10 | 31 | ||
1137 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/projectypes.json' | |||
1138 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/projectypes.json 2013-05-03 23:00:15 +0000 | |||
1139 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/projectypes.json 2013-06-10 18:40:33 +0000 | |||
1140 | @@ -6,9 +6,28 @@ | |||
1141 | 6 | "id": "UbuntuAppSimple", | 6 | "id": "UbuntuAppSimple", |
1142 | 7 | "description": "A simple Ubuntu UI with a Label and a Button", | 7 | "description": "A simple Ubuntu UI with a Label and a Button", |
1143 | 8 | "mainFile" : "main.qml", | 8 | "mainFile" : "main.qml", |
1144 | 9 | "hasTests" : true, | ||
1145 | 9 | "files": [ | 10 | "files": [ |
1146 | 10 | { | 11 | { |
1147 | 11 | "fileName": "displayName.desktop" | 12 | "fileName": "displayName.desktop" |
1148 | 13 | }, | ||
1149 | 14 | { | ||
1150 | 15 | "fileName": "tests/unit/tst_hellocomponent.qml" | ||
1151 | 16 | }, | ||
1152 | 17 | { | ||
1153 | 18 | "fileName": "components/HelloComponent.qml" | ||
1154 | 19 | }, | ||
1155 | 20 | { | ||
1156 | 21 | "fileName": "Makefile" | ||
1157 | 22 | }, | ||
1158 | 23 | { | ||
1159 | 24 | "fileName": "tests/autopilot/uitests/main/test_main.py" | ||
1160 | 25 | }, | ||
1161 | 26 | { | ||
1162 | 27 | "fileName": "tests/autopilot/uitests/__init__.py" | ||
1163 | 28 | }, | ||
1164 | 29 | { | ||
1165 | 30 | "fileName": "tests/autopilot/uitests/main/__init__.py" | ||
1166 | 12 | } | 31 | } |
1167 | 13 | ] | 32 | ] |
1168 | 14 | }, | 33 | }, |
1169 | @@ -19,12 +38,40 @@ | |||
1170 | 19 | "id": "UbuntuAppTabs", | 38 | "id": "UbuntuAppTabs", |
1171 | 20 | "description": "A multi-page UI using the Tabs component", | 39 | "description": "A multi-page UI using the Tabs component", |
1172 | 21 | "mainFile" : "main.qml", | 40 | "mainFile" : "main.qml", |
1173 | 41 | "hasTests" : true, | ||
1174 | 22 | "files": [ | 42 | "files": [ |
1175 | 23 | { | 43 | { |
1177 | 24 | "fileName": "toolbarIcon@8.png" | 44 | "fileName": "graphics/toolbarIcon@8.png" |
1178 | 25 | }, | 45 | }, |
1179 | 26 | { | 46 | { |
1180 | 27 | "fileName": "displayName.desktop" | 47 | "fileName": "displayName.desktop" |
1181 | 48 | }, | ||
1182 | 49 | { | ||
1183 | 50 | "fileName": "tests/unit/tst_hellocomponent.qml" | ||
1184 | 51 | }, | ||
1185 | 52 | { | ||
1186 | 53 | "fileName": "components/HelloComponent.qml" | ||
1187 | 54 | }, | ||
1188 | 55 | { | ||
1189 | 56 | "fileName": "ui/WorldTabTools.qml" | ||
1190 | 57 | }, | ||
1191 | 58 | { | ||
1192 | 59 | "fileName": "ui/WorldTab.qml" | ||
1193 | 60 | }, | ||
1194 | 61 | { | ||
1195 | 62 | "fileName": "ui/HelloTab.qml" | ||
1196 | 63 | }, | ||
1197 | 64 | { | ||
1198 | 65 | "fileName": "Makefile" | ||
1199 | 66 | }, | ||
1200 | 67 | { | ||
1201 | 68 | "fileName": "tests/autopilot/uitests/main/test_main.py" | ||
1202 | 69 | }, | ||
1203 | 70 | { | ||
1204 | 71 | "fileName": "tests/autopilot/uitests/__init__.py" | ||
1205 | 72 | }, | ||
1206 | 73 | { | ||
1207 | 74 | "fileName": "tests/autopilot/uitests/main/__init__.py" | ||
1208 | 28 | } | 75 | } |
1209 | 29 | ] | 76 | ] |
1210 | 30 | }, | 77 | }, |
1211 | @@ -60,40 +107,5 @@ | |||
1212 | 60 | { "fileName": "mytype.cpp" }, | 107 | { "fileName": "mytype.cpp" }, |
1213 | 61 | { "fileName": "qmldir" } | 108 | { "fileName": "qmldir" } |
1214 | 62 | ] | 109 | ] |
1215 | 63 | }, | ||
1216 | 64 | { | ||
1217 | 65 | "type": "qmlproject", | ||
1218 | 66 | "folder": "unit", | ||
1219 | 67 | "displayName": "Unit Test with QML", | ||
1220 | 68 | "id": "UbuntuTestQML", | ||
1221 | 69 | "description": "A QML based unit test case template", | ||
1222 | 70 | "mainFile" : "tst_test.qml", | ||
1223 | 71 | "files": [ | ||
1224 | 72 | { | ||
1225 | 73 | "fileName": "Makefile" | ||
1226 | 74 | } | ||
1227 | 75 | ] | ||
1228 | 76 | }, | ||
1229 | 77 | { | ||
1230 | 78 | "type": "autopilotproject", | ||
1231 | 79 | "folder": "autopilot", | ||
1232 | 80 | "displayName": "Functional Tests with Autopilot", | ||
1233 | 81 | "id": "UbuntuTestAutopilot", | ||
1234 | 82 | "description": "A Python based functional test case template for a simple QML UI", | ||
1235 | 83 | "mainFile" : "helloworld.qml", | ||
1236 | 84 | "files": [ | ||
1237 | 85 | { | ||
1238 | 86 | "fileName": "Makefile" | ||
1239 | 87 | }, | ||
1240 | 88 | { | ||
1241 | 89 | "fileName": "tests/qmluitests/Generic/test_helloworld.py" | ||
1242 | 90 | }, | ||
1243 | 91 | { | ||
1244 | 92 | "fileName": "tests/qmluitests/__init__.py" | ||
1245 | 93 | }, | ||
1246 | 94 | { | ||
1247 | 95 | "fileName": "tests/qmluitests/Generic/__init__.py" | ||
1248 | 96 | } | ||
1249 | 97 | ] | ||
1250 | 98 | } | 110 | } |
1251 | 99 | ] | 111 | ] |
1252 | 100 | 112 | ||
1253 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile' | |||
1254 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile 1970-01-01 00:00:00 +0000 | |||
1255 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile 2013-06-10 18:40:33 +0000 | |||
1256 | @@ -0,0 +1,18 @@ | |||
1257 | 1 | # More information: https://wiki.ubuntu.com/Touch/Testing | ||
1258 | 2 | # | ||
1259 | 3 | # Notes for autopilot tests: | ||
1260 | 4 | # ----------------------------------------------------------- | ||
1261 | 5 | # In order to run autopilot tests: | ||
1262 | 6 | # sudo apt-add-repository ppa:autopilot/ppa | ||
1263 | 7 | # sudo apt-get update | ||
1264 | 8 | # sudo apt-get install python-autopilot autopilot-qt | ||
1265 | 9 | ############################################################# | ||
1266 | 10 | |||
1267 | 11 | autopilot: | ||
1268 | 12 | cd tests/autopilot; autopilot run uitests | ||
1269 | 13 | |||
1270 | 14 | check: | ||
1271 | 15 | qmltestrunner -input tests/unit | ||
1272 | 16 | |||
1273 | 17 | run: | ||
1274 | 18 | /usr/bin/qmlscene $@ %DISPLAYNAME%.qml | ||
1275 | 0 | 19 | ||
1276 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components' | |||
1277 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml' | |||
1278 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml 1970-01-01 00:00:00 +0000 | |||
1279 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml 2013-06-10 18:40:33 +0000 | |||
1280 | @@ -0,0 +1,14 @@ | |||
1281 | 1 | import QtQuick 2.0 | ||
1282 | 2 | import Ubuntu.Components 0.1 | ||
1283 | 3 | |||
1284 | 4 | UbuntuShape { | ||
1285 | 5 | width: 200 | ||
1286 | 6 | height: width | ||
1287 | 7 | |||
1288 | 8 | property alias text : myText.text | ||
1289 | 9 | |||
1290 | 10 | Label { | ||
1291 | 11 | id: myText | ||
1292 | 12 | anchors.centerIn: parent | ||
1293 | 13 | } | ||
1294 | 14 | } | ||
1295 | 0 | 15 | ||
1296 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/main.qml' | |||
1297 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/simple/main.qml 2013-05-03 21:22:40 +0000 | |||
1298 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/main.qml 2013-06-10 18:40:33 +0000 | |||
1299 | @@ -1,5 +1,6 @@ | |||
1300 | 1 | import QtQuick 2.0 | 1 | import QtQuick 2.0 |
1301 | 2 | import Ubuntu.Components 0.1 | 2 | import Ubuntu.Components 0.1 |
1302 | 3 | import "components" | ||
1303 | 3 | 4 | ||
1304 | 4 | /*! | 5 | /*! |
1305 | 5 | \brief MainView with a Label and Button elements. | 6 | \brief MainView with a Label and Button elements. |
1306 | @@ -16,7 +17,7 @@ | |||
1307 | 16 | This property enables the application to change orientation | 17 | This property enables the application to change orientation |
1308 | 17 | when the device is rotated. The default is false. | 18 | when the device is rotated. The default is false. |
1309 | 18 | */ | 19 | */ |
1311 | 19 | automaticOrientation: true | 20 | //automaticOrientation: true |
1312 | 20 | 21 | ||
1313 | 21 | width: units.gu(100) | 22 | width: units.gu(100) |
1314 | 22 | height: units.gu(75) | 23 | height: units.gu(75) |
1315 | @@ -31,12 +32,13 @@ | |||
1316 | 31 | fill: parent | 32 | fill: parent |
1317 | 32 | } | 33 | } |
1318 | 33 | 34 | ||
1320 | 34 | Label { | 35 | HelloComponent { |
1321 | 35 | id: label | 36 | id: label |
1322 | 36 | objectName: "label" | 37 | objectName: "label" |
1323 | 37 | 38 | ||
1324 | 38 | text: i18n.tr("Hello..") | 39 | text: i18n.tr("Hello..") |
1325 | 39 | } | 40 | } |
1326 | 41 | |||
1327 | 40 | Button { | 42 | Button { |
1328 | 41 | objectName: "button" | 43 | objectName: "button" |
1329 | 42 | width: parent.width | 44 | width: parent.width |
1330 | 43 | 45 | ||
1331 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests' | |||
1332 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot' | |||
1333 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests' | |||
1334 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py' | |||
1335 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py 1970-01-01 00:00:00 +0000 | |||
1336 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py 2013-06-10 18:40:33 +0000 | |||
1337 | @@ -0,0 +1,129 @@ | |||
1338 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
1339 | 2 | |||
1340 | 3 | """Ubuntu Touch App autopilot tests.""" | ||
1341 | 4 | |||
1342 | 5 | from os import remove | ||
1343 | 6 | import os.path | ||
1344 | 7 | from tempfile import mktemp | ||
1345 | 8 | import subprocess | ||
1346 | 9 | |||
1347 | 10 | from autopilot.input import Mouse, Touch, Pointer | ||
1348 | 11 | from autopilot.matchers import Eventually | ||
1349 | 12 | from autopilot.platform import model | ||
1350 | 13 | from testtools.matchers import Is, Not, Equals | ||
1351 | 14 | from autopilot.testcase import AutopilotTestCase | ||
1352 | 15 | |||
1353 | 16 | def get_module_include_path(): | ||
1354 | 17 | return os.path.abspath( | ||
1355 | 18 | os.path.join( | ||
1356 | 19 | os.path.dirname(__file__), | ||
1357 | 20 | '..', | ||
1358 | 21 | '..', | ||
1359 | 22 | '..', | ||
1360 | 23 | '..', | ||
1361 | 24 | 'modules') | ||
1362 | 25 | ) | ||
1363 | 26 | |||
1364 | 27 | |||
1365 | 28 | class UbuntuTouchAppTestCase(AutopilotTestCase): | ||
1366 | 29 | """A common test case class that provides several useful methods for the tests.""" | ||
1367 | 30 | |||
1368 | 31 | if model() == 'Desktop': | ||
1369 | 32 | scenarios = [ | ||
1370 | 33 | ('with mouse', dict(input_device_class=Mouse)) | ||
1371 | 34 | ] | ||
1372 | 35 | else: | ||
1373 | 36 | scenarios = [ | ||
1374 | 37 | ('with touch', dict(input_device_class=Touch)) | ||
1375 | 38 | ] | ||
1376 | 39 | |||
1377 | 40 | @property | ||
1378 | 41 | def main_window(self): | ||
1379 | 42 | return MainWindow(self.app) | ||
1380 | 43 | |||
1381 | 44 | |||
1382 | 45 | def setUp(self): | ||
1383 | 46 | self.pointing_device = Pointer(self.input_device_class.create()) | ||
1384 | 47 | super(UbuntuTouchAppTestCase, self).setUp() | ||
1385 | 48 | self.launch_test_qml() | ||
1386 | 49 | |||
1387 | 50 | |||
1388 | 51 | def launch_test_qml(self): | ||
1389 | 52 | # If the test class has defined a 'test_qml' class attribute then we | ||
1390 | 53 | # write it to disk and launch it inside the QML Scene. If not, then we | ||
1391 | 54 | # silently do nothing (presumably the test has something else planned). | ||
1392 | 55 | arch = subprocess.check_output(["dpkg-architecture", | ||
1393 | 56 | "-qDEB_HOST_MULTIARCH"]).strip() | ||
1394 | 57 | if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring): | ||
1395 | 58 | qml_path = mktemp(suffix='.qml') | ||
1396 | 59 | open(qml_path, 'w').write(self.test_qml) | ||
1397 | 60 | self.addCleanup(remove, qml_path) | ||
1398 | 61 | |||
1399 | 62 | self.app = self.launch_test_application( | ||
1400 | 63 | "/usr/lib/" + arch + "/qt5/bin/qmlscene", | ||
1401 | 64 | "-I", get_module_include_path(), | ||
1402 | 65 | qml_path) | ||
1403 | 66 | |||
1404 | 67 | if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring): | ||
1405 | 68 | qml_path = self.test_qml_file | ||
1406 | 69 | self.app = self.launch_test_application( | ||
1407 | 70 | "/usr/lib/" + arch + "/qt5/bin/qmlscene", | ||
1408 | 71 | "-I", get_module_include_path(), | ||
1409 | 72 | qml_path) | ||
1410 | 73 | |||
1411 | 74 | self.assertThat(self.get_qml_view().visible, Eventually(Equals(True))) | ||
1412 | 75 | |||
1413 | 76 | |||
1414 | 77 | def get_qml_view(self): | ||
1415 | 78 | """Get the main QML view""" | ||
1416 | 79 | |||
1417 | 80 | return self.app.select_single("QQuickView") | ||
1418 | 81 | |||
1419 | 82 | def get_mainview(self): | ||
1420 | 83 | """Get the QML MainView""" | ||
1421 | 84 | |||
1422 | 85 | mainView = self.app.select_single("MainView") | ||
1423 | 86 | self.assertThat(mainView, Not(Is(None))) | ||
1424 | 87 | return mainView | ||
1425 | 88 | |||
1426 | 89 | |||
1427 | 90 | def get_object(self,objectName): | ||
1428 | 91 | """Get a object based on the objectName""" | ||
1429 | 92 | |||
1430 | 93 | obj = self.app.select_single(objectName=objectName) | ||
1431 | 94 | self.assertThat(obj, Not(Is(None))) | ||
1432 | 95 | return obj | ||
1433 | 96 | |||
1434 | 97 | |||
1435 | 98 | def mouse_click(self,objectName): | ||
1436 | 99 | """Move mouse on top of the object and click on it""" | ||
1437 | 100 | |||
1438 | 101 | obj = self.get_object(objectName) | ||
1439 | 102 | self.pointing_device.move_to_object(obj) | ||
1440 | 103 | self.pointing_device.click() | ||
1441 | 104 | |||
1442 | 105 | |||
1443 | 106 | def mouse_press(self,objectName): | ||
1444 | 107 | """Move mouse on top of the object and press mouse button (without releasing it)""" | ||
1445 | 108 | |||
1446 | 109 | obj = self.get_object(objectName) | ||
1447 | 110 | self.pointing_device.move_to_object(obj) | ||
1448 | 111 | self.pointing_device.press() | ||
1449 | 112 | |||
1450 | 113 | |||
1451 | 114 | def mouse_release(self): | ||
1452 | 115 | """Release mouse button""" | ||
1453 | 116 | |||
1454 | 117 | self.pointing_device.release() | ||
1455 | 118 | |||
1456 | 119 | |||
1457 | 120 | def type_string(self, string): | ||
1458 | 121 | """Type a string with keyboard""" | ||
1459 | 122 | |||
1460 | 123 | self.keyboard.type(string) | ||
1461 | 124 | |||
1462 | 125 | |||
1463 | 126 | def type_key(self, key): | ||
1464 | 127 | """Type a single key with keyboard""" | ||
1465 | 128 | |||
1466 | 129 | self.keyboard.key(key) | ||
1467 | 0 | 130 | ||
1468 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main' | |||
1469 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py' | |||
1470 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py 1970-01-01 00:00:00 +0000 | |||
1471 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py 2013-06-10 18:40:33 +0000 | |||
1472 | @@ -0,0 +1,1 @@ | |||
1473 | 1 | """ A Generic test suite """ | ||
1474 | 0 | 2 | ||
1475 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py' | |||
1476 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py 1970-01-01 00:00:00 +0000 | |||
1477 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py 2013-06-10 18:40:33 +0000 | |||
1478 | @@ -0,0 +1,38 @@ | |||
1479 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
1480 | 2 | |||
1481 | 3 | """Tests for the Hello World""" | ||
1482 | 4 | |||
1483 | 5 | from autopilot.matchers import Eventually | ||
1484 | 6 | from textwrap import dedent | ||
1485 | 7 | from testtools.matchers import Is, Not, Equals | ||
1486 | 8 | from testtools import skip | ||
1487 | 9 | import os | ||
1488 | 10 | from uitests import HelloWorldTestCase | ||
1489 | 11 | |||
1490 | 12 | |||
1491 | 13 | class GenericTests(HelloWorldTestCase): | ||
1492 | 14 | """Generic tests for the Hello World""" | ||
1493 | 15 | |||
1494 | 16 | test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../../%DISPLAYNAME%") | ||
1495 | 17 | |||
1496 | 18 | def test_0_can_select_mainView(self): | ||
1497 | 19 | """Must be able to select the mainview.""" | ||
1498 | 20 | |||
1499 | 21 | mainView = self.get_mainview() | ||
1500 | 22 | self.assertThat(mainView.visible,Eventually(Equals(True))) | ||
1501 | 23 | |||
1502 | 24 | |||
1503 | 25 | def test_1_init_label(self): | ||
1504 | 26 | """Check the initial text of the label""" | ||
1505 | 27 | |||
1506 | 28 | lbl = self.get_object(objectName="label") | ||
1507 | 29 | self.assertThat(lbl.text, Equals("Hello..")) | ||
1508 | 30 | |||
1509 | 31 | |||
1510 | 32 | def test_can_tap_button(self): | ||
1511 | 33 | """Must be able to tap the button""" | ||
1512 | 34 | |||
1513 | 35 | lbl = self.get_object(objectName="label") | ||
1514 | 36 | self.mouse_click(objectName="button") | ||
1515 | 37 | self.assertThat(lbl.text, Eventually(Equals("..world!"))) | ||
1516 | 38 | |||
1517 | 0 | 39 | ||
1518 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit' | |||
1519 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml' | |||
1520 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000 | |||
1521 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml 2013-06-10 18:40:33 +0000 | |||
1522 | @@ -0,0 +1,49 @@ | |||
1523 | 1 | import QtQuick 2.0 | ||
1524 | 2 | import QtTest 1.0 | ||
1525 | 3 | import Ubuntu.Components 0.1 | ||
1526 | 4 | import "../../components" | ||
1527 | 5 | |||
1528 | 6 | // See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html | ||
1529 | 7 | |||
1530 | 8 | // Execute tests with: | ||
1531 | 9 | // qmltestrunner | ||
1532 | 10 | |||
1533 | 11 | Item { | ||
1534 | 12 | // The objects | ||
1535 | 13 | HelloComponent { | ||
1536 | 14 | id: objectUnderTest | ||
1537 | 15 | } | ||
1538 | 16 | |||
1539 | 17 | TestCase { | ||
1540 | 18 | name: "HelloComponent" | ||
1541 | 19 | |||
1542 | 20 | function init() { | ||
1543 | 21 | console.debug(">> init"); | ||
1544 | 22 | compare("",objectUnderTest.text,"text was not empty on init"); | ||
1545 | 23 | console.debug("<< init"); | ||
1546 | 24 | } | ||
1547 | 25 | |||
1548 | 26 | function cleanup() { | ||
1549 | 27 | console.debug(">> cleanup"); | ||
1550 | 28 | console.debug("<< cleanup"); | ||
1551 | 29 | } | ||
1552 | 30 | |||
1553 | 31 | function initTestCase() { | ||
1554 | 32 | console.debug(">> initTestCase"); | ||
1555 | 33 | console.debug("<< initTestCase"); | ||
1556 | 34 | } | ||
1557 | 35 | |||
1558 | 36 | function cleanupTestCase() { | ||
1559 | 37 | console.debug(">> cleanupTestCase"); | ||
1560 | 38 | console.debug("<< cleanupTestCase"); | ||
1561 | 39 | } | ||
1562 | 40 | |||
1563 | 41 | function test_canReadAndWriteText() { | ||
1564 | 42 | var expected = "Hello World"; | ||
1565 | 43 | |||
1566 | 44 | objectUnderTest.text = expected; | ||
1567 | 45 | |||
1568 | 46 | compare(expected,objectUnderTest.text,"expected did not equal result"); | ||
1569 | 47 | } | ||
1570 | 48 | } | ||
1571 | 49 | } | ||
1572 | 0 | 50 | ||
1573 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile' | |||
1574 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile 1970-01-01 00:00:00 +0000 | |||
1575 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile 2013-06-10 18:40:33 +0000 | |||
1576 | @@ -0,0 +1,18 @@ | |||
1577 | 1 | # More information: https://wiki.ubuntu.com/Touch/Testing | ||
1578 | 2 | # | ||
1579 | 3 | # Notes for autopilot tests: | ||
1580 | 4 | # ----------------------------------------------------------- | ||
1581 | 5 | # In order to run autopilot tests: | ||
1582 | 6 | # sudo apt-add-repository ppa:autopilot/ppa | ||
1583 | 7 | # sudo apt-get update | ||
1584 | 8 | # sudo apt-get install python-autopilot autopilot-qt | ||
1585 | 9 | ############################################################# | ||
1586 | 10 | |||
1587 | 11 | autopilot: | ||
1588 | 12 | cd tests/autopilot; autopilot run uitests | ||
1589 | 13 | |||
1590 | 14 | check: | ||
1591 | 15 | qmltestrunner -input tests/unit | ||
1592 | 16 | |||
1593 | 17 | run: | ||
1594 | 18 | /usr/bin/qmlscene $@ %DISPLAYNAME%.qml | ||
1595 | 0 | 19 | ||
1596 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components' | |||
1597 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml' | |||
1598 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml 1970-01-01 00:00:00 +0000 | |||
1599 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml 2013-06-10 18:40:33 +0000 | |||
1600 | @@ -0,0 +1,14 @@ | |||
1601 | 1 | import QtQuick 2.0 | ||
1602 | 2 | import Ubuntu.Components 0.1 | ||
1603 | 3 | |||
1604 | 4 | UbuntuShape { | ||
1605 | 5 | width: 200 | ||
1606 | 6 | height: width | ||
1607 | 7 | |||
1608 | 8 | property alias text : myText.text | ||
1609 | 9 | |||
1610 | 10 | Label { | ||
1611 | 11 | id: myText | ||
1612 | 12 | anchors.centerIn: parent | ||
1613 | 13 | } | ||
1614 | 14 | } | ||
1615 | 0 | 15 | ||
1616 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics' | |||
1617 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png' | |||
1618 | 1 | Binary files ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png 1970-01-01 00:00:00 +0000 and ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png 2013-06-10 18:40:33 +0000 differ | 16 | Binary files ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png 1970-01-01 00:00:00 +0000 and ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png 2013-06-10 18:40:33 +0000 differ |
1619 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml' | |||
1620 | --- qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml 2013-04-26 17:51:04 +0000 | |||
1621 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml 2013-06-10 18:40:33 +0000 | |||
1622 | @@ -1,5 +1,6 @@ | |||
1623 | 1 | import QtQuick 2.0 | 1 | import QtQuick 2.0 |
1624 | 2 | import Ubuntu.Components 0.1 | 2 | import Ubuntu.Components 0.1 |
1625 | 3 | import "ui" | ||
1626 | 3 | 4 | ||
1627 | 4 | /*! | 5 | /*! |
1628 | 5 | \brief MainView with Tabs element. | 6 | \brief MainView with Tabs element. |
1629 | @@ -18,7 +19,7 @@ | |||
1630 | 18 | This property enables the application to change orientation | 19 | This property enables the application to change orientation |
1631 | 19 | when the device is rotated. The default is false. | 20 | when the device is rotated. The default is false. |
1632 | 20 | */ | 21 | */ |
1634 | 21 | automaticOrientation: true | 22 | //automaticOrientation: true |
1635 | 22 | 23 | ||
1636 | 23 | width: units.gu(100) | 24 | width: units.gu(100) |
1637 | 24 | height: units.gu(75) | 25 | height: units.gu(75) |
1638 | @@ -26,52 +27,12 @@ | |||
1639 | 26 | Tabs { | 27 | Tabs { |
1640 | 27 | id: tabs | 28 | id: tabs |
1641 | 28 | 29 | ||
1657 | 29 | // First tab begins here | 30 | HelloTab { |
1658 | 30 | Tab { | 31 | objectName: "helloTab" |
1644 | 31 | objectName: "Tab1" | ||
1645 | 32 | |||
1646 | 33 | title: i18n.tr("Hello..") | ||
1647 | 34 | |||
1648 | 35 | // Tab content begins here | ||
1649 | 36 | page: Page { | ||
1650 | 37 | Column { | ||
1651 | 38 | anchors.centerIn: parent | ||
1652 | 39 | Label { | ||
1653 | 40 | text: i18n.tr("Swipe from right to left to change tab.") | ||
1654 | 41 | } | ||
1655 | 42 | } | ||
1656 | 43 | } | ||
1659 | 44 | } | 32 | } |
1660 | 45 | 33 | ||
1690 | 46 | // Second tab begins here | 34 | WorldTab { |
1691 | 47 | Tab { | 35 | objectName: "worldTab" |
1663 | 48 | objectName: "Tab2" | ||
1664 | 49 | |||
1665 | 50 | title: i18n.tr("..Toolbar!") | ||
1666 | 51 | page: Page { | ||
1667 | 52 | tools: ToolbarActions { | ||
1668 | 53 | Action { | ||
1669 | 54 | objectName: "action" | ||
1670 | 55 | |||
1671 | 56 | iconSource: Qt.resolvedUrl("toolbarIcon.png") | ||
1672 | 57 | text: i18n.tr("Tap me!") | ||
1673 | 58 | |||
1674 | 59 | onTriggered: { | ||
1675 | 60 | label.text = i18n.tr("Toolbar tapped") | ||
1676 | 61 | } | ||
1677 | 62 | } | ||
1678 | 63 | } | ||
1679 | 64 | |||
1680 | 65 | Column { | ||
1681 | 66 | anchors.centerIn: parent | ||
1682 | 67 | Label { | ||
1683 | 68 | id: label | ||
1684 | 69 | objectName: "label" | ||
1685 | 70 | |||
1686 | 71 | text: i18n.tr("Swipe from bottom to up to reveal the toolbar.") | ||
1687 | 72 | } | ||
1688 | 73 | } | ||
1689 | 74 | } | ||
1692 | 75 | } | 36 | } |
1693 | 76 | } | 37 | } |
1694 | 77 | } | 38 | } |
1695 | 78 | 39 | ||
1696 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests' | |||
1697 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot' | |||
1698 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests' | |||
1699 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py' | |||
1700 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py 1970-01-01 00:00:00 +0000 | |||
1701 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py 2013-06-10 18:40:33 +0000 | |||
1702 | @@ -0,0 +1,129 @@ | |||
1703 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
1704 | 2 | |||
1705 | 3 | """Ubuntu Touch App autopilot tests.""" | ||
1706 | 4 | |||
1707 | 5 | from os import remove | ||
1708 | 6 | import os.path | ||
1709 | 7 | from tempfile import mktemp | ||
1710 | 8 | import subprocess | ||
1711 | 9 | |||
1712 | 10 | from autopilot.input import Mouse, Touch, Pointer | ||
1713 | 11 | from autopilot.matchers import Eventually | ||
1714 | 12 | from autopilot.platform import model | ||
1715 | 13 | from testtools.matchers import Is, Not, Equals | ||
1716 | 14 | from autopilot.testcase import AutopilotTestCase | ||
1717 | 15 | |||
1718 | 16 | def get_module_include_path(): | ||
1719 | 17 | return os.path.abspath( | ||
1720 | 18 | os.path.join( | ||
1721 | 19 | os.path.dirname(__file__), | ||
1722 | 20 | '..', | ||
1723 | 21 | '..', | ||
1724 | 22 | '..', | ||
1725 | 23 | '..', | ||
1726 | 24 | 'modules') | ||
1727 | 25 | ) | ||
1728 | 26 | |||
1729 | 27 | |||
1730 | 28 | class UbuntuTouchAppTestCase(AutopilotTestCase): | ||
1731 | 29 | """A common test case class that provides several useful methods for the tests.""" | ||
1732 | 30 | |||
1733 | 31 | if model() == 'Desktop': | ||
1734 | 32 | scenarios = [ | ||
1735 | 33 | ('with mouse', dict(input_device_class=Mouse)) | ||
1736 | 34 | ] | ||
1737 | 35 | else: | ||
1738 | 36 | scenarios = [ | ||
1739 | 37 | ('with touch', dict(input_device_class=Touch)) | ||
1740 | 38 | ] | ||
1741 | 39 | |||
1742 | 40 | @property | ||
1743 | 41 | def main_window(self): | ||
1744 | 42 | return MainWindow(self.app) | ||
1745 | 43 | |||
1746 | 44 | |||
1747 | 45 | def setUp(self): | ||
1748 | 46 | self.pointing_device = Pointer(self.input_device_class.create()) | ||
1749 | 47 | super(UbuntuTouchAppTestCase, self).setUp() | ||
1750 | 48 | self.launch_test_qml() | ||
1751 | 49 | |||
1752 | 50 | |||
1753 | 51 | def launch_test_qml(self): | ||
1754 | 52 | # If the test class has defined a 'test_qml' class attribute then we | ||
1755 | 53 | # write it to disk and launch it inside the QML Scene. If not, then we | ||
1756 | 54 | # silently do nothing (presumably the test has something else planned). | ||
1757 | 55 | arch = subprocess.check_output(["dpkg-architecture", | ||
1758 | 56 | "-qDEB_HOST_MULTIARCH"]).strip() | ||
1759 | 57 | if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring): | ||
1760 | 58 | qml_path = mktemp(suffix='.qml') | ||
1761 | 59 | open(qml_path, 'w').write(self.test_qml) | ||
1762 | 60 | self.addCleanup(remove, qml_path) | ||
1763 | 61 | |||
1764 | 62 | self.app = self.launch_test_application( | ||
1765 | 63 | "/usr/lib/" + arch + "/qt5/bin/qmlscene", | ||
1766 | 64 | "-I", get_module_include_path(), | ||
1767 | 65 | qml_path) | ||
1768 | 66 | |||
1769 | 67 | if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring): | ||
1770 | 68 | qml_path = self.test_qml_file | ||
1771 | 69 | self.app = self.launch_test_application( | ||
1772 | 70 | "/usr/lib/" + arch + "/qt5/bin/qmlscene", | ||
1773 | 71 | "-I", get_module_include_path(), | ||
1774 | 72 | qml_path) | ||
1775 | 73 | |||
1776 | 74 | self.assertThat(self.get_qml_view().visible, Eventually(Equals(True))) | ||
1777 | 75 | |||
1778 | 76 | |||
1779 | 77 | def get_qml_view(self): | ||
1780 | 78 | """Get the main QML view""" | ||
1781 | 79 | |||
1782 | 80 | return self.app.select_single("QQuickView") | ||
1783 | 81 | |||
1784 | 82 | def get_mainview(self): | ||
1785 | 83 | """Get the QML MainView""" | ||
1786 | 84 | |||
1787 | 85 | mainView = self.app.select_single("MainView") | ||
1788 | 86 | self.assertThat(mainView, Not(Is(None))) | ||
1789 | 87 | return mainView | ||
1790 | 88 | |||
1791 | 89 | |||
1792 | 90 | def get_object(self,objectName): | ||
1793 | 91 | """Get a object based on the objectName""" | ||
1794 | 92 | |||
1795 | 93 | obj = self.app.select_single(objectName=objectName) | ||
1796 | 94 | self.assertThat(obj, Not(Is(None))) | ||
1797 | 95 | return obj | ||
1798 | 96 | |||
1799 | 97 | |||
1800 | 98 | def mouse_click(self,objectName): | ||
1801 | 99 | """Move mouse on top of the object and click on it""" | ||
1802 | 100 | |||
1803 | 101 | obj = self.get_object(objectName) | ||
1804 | 102 | self.pointing_device.move_to_object(obj) | ||
1805 | 103 | self.pointing_device.click() | ||
1806 | 104 | |||
1807 | 105 | |||
1808 | 106 | def mouse_press(self,objectName): | ||
1809 | 107 | """Move mouse on top of the object and press mouse button (without releasing it)""" | ||
1810 | 108 | |||
1811 | 109 | obj = self.get_object(objectName) | ||
1812 | 110 | self.pointing_device.move_to_object(obj) | ||
1813 | 111 | self.pointing_device.press() | ||
1814 | 112 | |||
1815 | 113 | |||
1816 | 114 | def mouse_release(self): | ||
1817 | 115 | """Release mouse button""" | ||
1818 | 116 | |||
1819 | 117 | self.pointing_device.release() | ||
1820 | 118 | |||
1821 | 119 | |||
1822 | 120 | def type_string(self, string): | ||
1823 | 121 | """Type a string with keyboard""" | ||
1824 | 122 | |||
1825 | 123 | self.keyboard.type(string) | ||
1826 | 124 | |||
1827 | 125 | |||
1828 | 126 | def type_key(self, key): | ||
1829 | 127 | """Type a single key with keyboard""" | ||
1830 | 128 | |||
1831 | 129 | self.keyboard.key(key) | ||
1832 | 0 | 130 | ||
1833 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main' | |||
1834 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py' | |||
1835 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py 1970-01-01 00:00:00 +0000 | |||
1836 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py 2013-06-10 18:40:33 +0000 | |||
1837 | @@ -0,0 +1,1 @@ | |||
1838 | 1 | """ A main.qml test suite """ | ||
1839 | 0 | 2 | ||
1840 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py' | |||
1841 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py 1970-01-01 00:00:00 +0000 | |||
1842 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py 2013-06-10 18:40:33 +0000 | |||
1843 | @@ -0,0 +1,23 @@ | |||
1844 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
1845 | 2 | |||
1846 | 3 | """Tests for the Hello World""" | ||
1847 | 4 | |||
1848 | 5 | from autopilot.matchers import Eventually | ||
1849 | 6 | from textwrap import dedent | ||
1850 | 7 | from testtools.matchers import Is, Not, Equals | ||
1851 | 8 | from testtools import skip | ||
1852 | 9 | import os | ||
1853 | 10 | from uitests import UbuntuTouchAppTestCase | ||
1854 | 11 | |||
1855 | 12 | |||
1856 | 13 | class MainTests(UbuntuTouchAppTestCase): | ||
1857 | 14 | """Generic tests for the Hello World""" | ||
1858 | 15 | |||
1859 | 16 | test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../../%DISPLAYNAME%") | ||
1860 | 17 | |||
1861 | 18 | def test_0_can_select_mainView(self): | ||
1862 | 19 | """Must be able to select the mainview.""" | ||
1863 | 20 | |||
1864 | 21 | mainView = self.get_mainview() | ||
1865 | 22 | self.assertThat(mainView.visible,Eventually(Equals(True))) | ||
1866 | 23 | |||
1867 | 0 | 24 | ||
1868 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit' | |||
1869 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml' | |||
1870 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000 | |||
1871 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml 2013-06-10 18:40:33 +0000 | |||
1872 | @@ -0,0 +1,49 @@ | |||
1873 | 1 | import QtQuick 2.0 | ||
1874 | 2 | import QtTest 1.0 | ||
1875 | 3 | import Ubuntu.Components 0.1 | ||
1876 | 4 | import "../../components" | ||
1877 | 5 | |||
1878 | 6 | // See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html | ||
1879 | 7 | |||
1880 | 8 | // Execute tests with: | ||
1881 | 9 | // qmltestrunner | ||
1882 | 10 | |||
1883 | 11 | Item { | ||
1884 | 12 | // The objects | ||
1885 | 13 | HelloComponent { | ||
1886 | 14 | id: objectUnderTest | ||
1887 | 15 | } | ||
1888 | 16 | |||
1889 | 17 | TestCase { | ||
1890 | 18 | name: "HelloComponent" | ||
1891 | 19 | |||
1892 | 20 | function init() { | ||
1893 | 21 | console.debug(">> init"); | ||
1894 | 22 | compare("",objectUnderTest.text,"text was not empty on init"); | ||
1895 | 23 | console.debug("<< init"); | ||
1896 | 24 | } | ||
1897 | 25 | |||
1898 | 26 | function cleanup() { | ||
1899 | 27 | console.debug(">> cleanup"); | ||
1900 | 28 | console.debug("<< cleanup"); | ||
1901 | 29 | } | ||
1902 | 30 | |||
1903 | 31 | function initTestCase() { | ||
1904 | 32 | console.debug(">> initTestCase"); | ||
1905 | 33 | console.debug("<< initTestCase"); | ||
1906 | 34 | } | ||
1907 | 35 | |||
1908 | 36 | function cleanupTestCase() { | ||
1909 | 37 | console.debug(">> cleanupTestCase"); | ||
1910 | 38 | console.debug("<< cleanupTestCase"); | ||
1911 | 39 | } | ||
1912 | 40 | |||
1913 | 41 | function test_canReadAndWriteText() { | ||
1914 | 42 | var expected = "Hello World"; | ||
1915 | 43 | |||
1916 | 44 | objectUnderTest.text = expected; | ||
1917 | 45 | |||
1918 | 46 | compare(expected,objectUnderTest.text,"expected did not equal result"); | ||
1919 | 47 | } | ||
1920 | 48 | } | ||
1921 | 49 | } | ||
1922 | 0 | 50 | ||
1923 | === added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui' | |||
1924 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml' | |||
1925 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml 1970-01-01 00:00:00 +0000 | |||
1926 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml 2013-06-10 18:40:33 +0000 | |||
1927 | @@ -0,0 +1,30 @@ | |||
1928 | 1 | import QtQuick 2.0 | ||
1929 | 2 | import Ubuntu.Components 0.1 | ||
1930 | 3 | import "../components" | ||
1931 | 4 | |||
1932 | 5 | Tab { | ||
1933 | 6 | title: i18n.tr("Hello..") | ||
1934 | 7 | |||
1935 | 8 | page: Page { | ||
1936 | 9 | Column { | ||
1937 | 10 | spacing: units.gu(2) | ||
1938 | 11 | anchors.centerIn: parent | ||
1939 | 12 | |||
1940 | 13 | HelloComponent { | ||
1941 | 14 | objectName: "helloTab_HelloComponent" | ||
1942 | 15 | |||
1943 | 16 | anchors.horizontalCenter: parent.horizontalCenter | ||
1944 | 17 | |||
1945 | 18 | text: i18n.tr("HelloTab") | ||
1946 | 19 | } | ||
1947 | 20 | |||
1948 | 21 | Label { | ||
1949 | 22 | objectName: "helloTab_label" | ||
1950 | 23 | |||
1951 | 24 | anchors.horizontalCenter: parent.horizontalCenter | ||
1952 | 25 | |||
1953 | 26 | text: i18n.tr("You can change the Tab from Page title above.") | ||
1954 | 27 | } | ||
1955 | 28 | } | ||
1956 | 29 | } | ||
1957 | 30 | } | ||
1958 | 0 | 31 | ||
1959 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml' | |||
1960 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml 1970-01-01 00:00:00 +0000 | |||
1961 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml 2013-06-10 18:40:33 +0000 | |||
1962 | @@ -0,0 +1,35 @@ | |||
1963 | 1 | import QtQuick 2.0 | ||
1964 | 2 | import Ubuntu.Components 0.1 | ||
1965 | 3 | import "../components" | ||
1966 | 4 | |||
1967 | 5 | Tab { | ||
1968 | 6 | title: i18n.tr("..World!") | ||
1969 | 7 | |||
1970 | 8 | page: Page { | ||
1971 | 9 | tools: WorldTabTools { | ||
1972 | 10 | objectName: "worldTab_tools" | ||
1973 | 11 | } | ||
1974 | 12 | |||
1975 | 13 | Column { | ||
1976 | 14 | spacing: units.gu(2) | ||
1977 | 15 | anchors.centerIn: parent | ||
1978 | 16 | |||
1979 | 17 | HelloComponent { | ||
1980 | 18 | objectName: "worldTab_HelloComponent" | ||
1981 | 19 | |||
1982 | 20 | anchors.horizontalCenter: parent.horizontalCenter | ||
1983 | 21 | |||
1984 | 22 | text: i18n.tr("WorldTab") | ||
1985 | 23 | } | ||
1986 | 24 | |||
1987 | 25 | Label { | ||
1988 | 26 | id: label | ||
1989 | 27 | objectName: "worldTab_label" | ||
1990 | 28 | |||
1991 | 29 | anchors.horizontalCenter: parent.horizontalCenter | ||
1992 | 30 | |||
1993 | 31 | text: i18n.tr("Swipe from bottom to up to reveal the toolbar.") | ||
1994 | 32 | } | ||
1995 | 33 | } | ||
1996 | 34 | } | ||
1997 | 35 | } | ||
1998 | 0 | 36 | ||
1999 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml' | |||
2000 | --- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml 1970-01-01 00:00:00 +0000 | |||
2001 | +++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml 2013-06-10 18:40:33 +0000 | |||
2002 | @@ -0,0 +1,13 @@ | |||
2003 | 1 | import QtQuick 2.0 | ||
2004 | 2 | import Ubuntu.Components 0.1 | ||
2005 | 3 | |||
2006 | 4 | ToolbarActions { | ||
2007 | 5 | Action { | ||
2008 | 6 | iconSource: Qt.resolvedUrl("../graphics/toolbarIcon.png") | ||
2009 | 7 | text: i18n.tr("Tap me!") | ||
2010 | 8 | |||
2011 | 9 | onTriggered: { | ||
2012 | 10 | label.text = i18n.tr("Toolbar tapped") | ||
2013 | 11 | } | ||
2014 | 12 | } | ||
2015 | 13 | } | ||
2016 | 0 | 14 | ||
2017 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/menu.json' | |||
2018 | --- qtcreator/share/qtcreator/ubuntu/menu.json 2013-05-04 21:41:03 +0000 | |||
2019 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/menu.json 2013-06-10 18:40:33 +0000 | |||
2020 | @@ -139,6 +139,13 @@ | |||
2021 | 139 | "id": "Ubuntu.Menu", | 139 | "id": "Ubuntu.Menu", |
2022 | 140 | "parent": "Tools", | 140 | "parent": "Tools", |
2023 | 141 | "submenu": [ | 141 | "submenu": [ |
2024 | 142 | { | ||
2025 | 143 | "name": "Ubuntu Touch Showcase Gallery", | ||
2026 | 144 | "id": "Ubuntu.Menu.Showcase", | ||
2027 | 145 | "actions": [ | ||
2028 | 146 | "%SCRIPTDIRECTORY%/qtc_launch_gallery" | ||
2029 | 147 | ] | ||
2030 | 148 | }, | ||
2031 | 142 | { | 149 | { |
2032 | 143 | "name": "Translations", | 150 | "name": "Translations", |
2033 | 144 | "id": "Ubuntu.Menu.i18n", | 151 | "id": "Ubuntu.Menu.i18n", |
2034 | 145 | 152 | ||
2035 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/device_search' | |||
2036 | --- qtcreator/share/qtcreator/ubuntu/scripts/device_search 2013-05-02 00:47:53 +0000 | |||
2037 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/device_search 2013-06-10 18:40:33 +0000 | |||
2038 | @@ -15,5 +15,6 @@ | |||
2039 | 15 | # | 15 | # |
2040 | 16 | # Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | 16 | # Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> |
2041 | 17 | set -e; | 17 | set -e; |
2043 | 18 | 18 | adb kill-server &> /dev/null | |
2044 | 19 | adb start-server &> /dev/null | ||
2045 | 19 | adb devices -l | 20 | adb devices -l |
2046 | 20 | 21 | ||
2047 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery' | |||
2048 | --- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery 1970-01-01 00:00:00 +0000 | |||
2049 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery 2013-06-10 18:40:33 +0000 | |||
2050 | @@ -0,0 +1,2 @@ | |||
2051 | 1 | #!/bin/bash | ||
2052 | 2 | /usr/bin/qmlscene $@ /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml & | ||
2053 | 0 | 3 | ||
2054 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_project_packaging' | |||
2055 | --- qtcreator/share/qtcreator/ubuntu/scripts/qtc_project_packaging 2013-04-25 08:45:39 +0000 | |||
2056 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_project_packaging 2013-06-10 18:40:33 +0000 | |||
2057 | @@ -1,3 +1,4 @@ | |||
2058 | 1 | |||
2059 | 1 | #!/bin/bash | 2 | #!/bin/bash |
2060 | 2 | # Copyright 2013 Canonical Ltd. | 3 | # Copyright 2013 Canonical Ltd. |
2061 | 3 | # | 4 | # |
2062 | 4 | 5 | ||
2063 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings' | |||
2064 | --- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings 1970-01-01 00:00:00 +0000 | |||
2065 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings 2013-06-10 18:40:33 +0000 | |||
2066 | @@ -0,0 +1,24 @@ | |||
2067 | 1 | #!/bin/bash | ||
2068 | 2 | |||
2069 | 3 | DEBEMAIL=`grep -G "^DEBEMAIL" ~/.bashrc` | ||
2070 | 4 | DEBFULLNAME=`grep -G "^DEBFULLNAME" ~/.bashrc` | ||
2071 | 5 | |||
2072 | 6 | if [[ ! -z "$DEBEMAIL" ]]; then | ||
2073 | 7 | export $DEBEMAIL | ||
2074 | 8 | else | ||
2075 | 9 | CMD=`grep -G "export DEBEMAIL=" ~/.bashrc|sed "s/\"//g"` | ||
2076 | 10 | if [[ ! -z $CMD ]]; then | ||
2077 | 11 | $CMD | ||
2078 | 12 | fi | ||
2079 | 13 | fi | ||
2080 | 14 | if [[ ! -z $DEBFULLNAME ]]; then | ||
2081 | 15 | export $DEBFULLNAME | ||
2082 | 16 | else | ||
2083 | 17 | CMD=`grep -G "export DEBFULLNAME=" ~/.bashrc|sed "s/\"//g"|sed "s/export DEBFULLNAME=//g"` | ||
2084 | 18 | if [[ ! -z $CMD ]]; then | ||
2085 | 19 | export DEBFULLNAME="$CMD" | ||
2086 | 20 | fi | ||
2087 | 21 | fi | ||
2088 | 22 | |||
2089 | 23 | echo $DEBFULLNAME | ||
2090 | 24 | echo $DEBEMAIL | ||
2091 | 0 | 25 | ||
2092 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml' | |||
2093 | --- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml 1970-01-01 00:00:00 +0000 | |||
2094 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml 2013-06-10 18:40:33 +0000 | |||
2095 | @@ -0,0 +1,79 @@ | |||
2096 | 1 | /* | ||
2097 | 2 | * Copyright 2013 Canonical Ltd. | ||
2098 | 3 | * | ||
2099 | 4 | * This program is free software; you can redistribute it and/or modify | ||
2100 | 5 | * it under the terms of the GNU Lesser General Public License as published by | ||
2101 | 6 | * the Free Software Foundation; version 2.1. | ||
2102 | 7 | * | ||
2103 | 8 | * This program is distributed in the hope that it will be useful, | ||
2104 | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2105 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2106 | 11 | * GNU Lesser General Public License for more details. | ||
2107 | 12 | * | ||
2108 | 13 | * You should have received a copy of the GNU Lesser General Public License | ||
2109 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
2110 | 15 | * | ||
2111 | 16 | * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
2112 | 17 | */ | ||
2113 | 18 | |||
2114 | 19 | import QtQuick 1.0 | ||
2115 | 20 | |||
2116 | 21 | Rectangle { | ||
2117 | 22 | width: linkTitle.paintedWidth | ||
2118 | 23 | height: 60 | ||
2119 | 24 | color: "transparent" | ||
2120 | 25 | opacity: 0.8 | ||
2121 | 26 | |||
2122 | 27 | property alias title : linkTitle.text | ||
2123 | 28 | property url link | ||
2124 | 29 | property color defaultColor : "#DD4814" | ||
2125 | 30 | property color hoverColor : "#eee" | ||
2126 | 31 | |||
2127 | 32 | Rectangle { | ||
2128 | 33 | id: background | ||
2129 | 34 | color: hoverColor | ||
2130 | 35 | opacity: 0 | ||
2131 | 36 | anchors.fill: parent | ||
2132 | 37 | |||
2133 | 38 | Behavior on opacity { | ||
2134 | 39 | NumberAnimation { duration: 250 } | ||
2135 | 40 | } | ||
2136 | 41 | } | ||
2137 | 42 | |||
2138 | 43 | Text { | ||
2139 | 44 | id: linkTitle | ||
2140 | 45 | anchors.centerIn: parent | ||
2141 | 46 | wrapMode: Text.WordWrap | ||
2142 | 47 | width: parent.width - 20 | ||
2143 | 48 | font.family: "Ubuntu" | ||
2144 | 49 | font.pixelSize: 20 | ||
2145 | 50 | font.letterSpacing: 1.5 | ||
2146 | 51 | color: defaultColor | ||
2147 | 52 | font.weight: Font.Light | ||
2148 | 53 | textFormat: Text.RichText | ||
2149 | 54 | text: "" | ||
2150 | 55 | } | ||
2151 | 56 | |||
2152 | 57 | MouseArea { | ||
2153 | 58 | anchors.fill: parent | ||
2154 | 59 | hoverEnabled: true | ||
2155 | 60 | |||
2156 | 61 | onEntered: { | ||
2157 | 62 | background.opacity = 1; | ||
2158 | 63 | } | ||
2159 | 64 | onExited: { | ||
2160 | 65 | background.opacity = 0; | ||
2161 | 66 | } | ||
2162 | 67 | |||
2163 | 68 | onClicked: { | ||
2164 | 69 | Qt.openUrlExternally(link); | ||
2165 | 70 | } | ||
2166 | 71 | onPressed: { | ||
2167 | 72 | linkTitle.color = Qt.lighter(defaultColor); | ||
2168 | 73 | } | ||
2169 | 74 | onReleased: { | ||
2170 | 75 | linkTitle.color = defaultColor; | ||
2171 | 76 | } | ||
2172 | 77 | } | ||
2173 | 78 | |||
2174 | 79 | } | ||
2175 | 0 | 80 | ||
2176 | === added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml' | |||
2177 | --- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml 1970-01-01 00:00:00 +0000 | |||
2178 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml 2013-06-10 18:40:33 +0000 | |||
2179 | @@ -0,0 +1,79 @@ | |||
2180 | 1 | /* | ||
2181 | 2 | * Copyright 2013 Canonical Ltd. | ||
2182 | 3 | * | ||
2183 | 4 | * This program is free software; you can redistribute it and/or modify | ||
2184 | 5 | * it under the terms of the GNU Lesser General Public License as published by | ||
2185 | 6 | * the Free Software Foundation; version 2.1. | ||
2186 | 7 | * | ||
2187 | 8 | * This program is distributed in the hope that it will be useful, | ||
2188 | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2189 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2190 | 11 | * GNU Lesser General Public License for more details. | ||
2191 | 12 | * | ||
2192 | 13 | * You should have received a copy of the GNU Lesser General Public License | ||
2193 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
2194 | 15 | * | ||
2195 | 16 | * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> | ||
2196 | 17 | */ | ||
2197 | 18 | import QtQuick 2.0 | ||
2198 | 19 | import QtQuick.XmlListModel 2.0 | ||
2199 | 20 | |||
2200 | 21 | ListView { | ||
2201 | 22 | |||
2202 | 23 | clip: true | ||
2203 | 24 | |||
2204 | 25 | property url link | ||
2205 | 26 | |||
2206 | 27 | model: XmlListModel { | ||
2207 | 28 | source: link | ||
2208 | 29 | query: "/rss/channel/item" | ||
2209 | 30 | |||
2210 | 31 | XmlRole { name: "title"; query: "title/string()" } | ||
2211 | 32 | XmlRole { name: "link"; query: "link/string()" } | ||
2212 | 33 | XmlRole { name: "description"; query: "description/string()" } | ||
2213 | 34 | XmlRole { name: "pubDate"; query: "pubDate/string()" } | ||
2214 | 35 | } | ||
2215 | 36 | delegate: Item { | ||
2216 | 37 | id: delegate | ||
2217 | 38 | height: itemContent.height+ 20 | ||
2218 | 39 | width: delegate.ListView.view.width | ||
2219 | 40 | Column { | ||
2220 | 41 | id: itemContent | ||
2221 | 42 | width: parent.width | ||
2222 | 43 | Text { | ||
2223 | 44 | text: pubDate | ||
2224 | 45 | font.pixelSize: 10 | ||
2225 | 46 | font.family: "Ubuntu" | ||
2226 | 47 | font.weight: Font.Light | ||
2227 | 48 | } | ||
2228 | 49 | |||
2229 | 50 | Text { | ||
2230 | 51 | text: title | ||
2231 | 52 | font.family: "Ubuntu" | ||
2232 | 53 | font.pixelSize: 20 | ||
2233 | 54 | font.letterSpacing: 1.5 | ||
2234 | 55 | wrapMode: Text.WordWrap | ||
2235 | 56 | font.weight: Font.Light | ||
2236 | 57 | width: parent.width | ||
2237 | 58 | } | ||
2238 | 59 | |||
2239 | 60 | Text { | ||
2240 | 61 | text: description | ||
2241 | 62 | font.family: "Ubuntu" | ||
2242 | 63 | font.pixelSize: 12 | ||
2243 | 64 | wrapMode: Text.WordWrap | ||
2244 | 65 | font.weight: Font.Light | ||
2245 | 66 | font.letterSpacing: 1.5 | ||
2246 | 67 | width: parent.width | ||
2247 | 68 | textFormat: Text.RichText | ||
2248 | 69 | } | ||
2249 | 70 | } | ||
2250 | 71 | MouseArea { | ||
2251 | 72 | anchors.fill: parent | ||
2252 | 73 | onClicked: { | ||
2253 | 74 | Qt.openUrlExternally(linkText) | ||
2254 | 75 | } | ||
2255 | 76 | } | ||
2256 | 77 | } | ||
2257 | 78 | |||
2258 | 79 | } | ||
2259 | 0 | 80 | ||
2260 | === modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/welcome.qml' | |||
2261 | --- qtcreator/share/qtcreator/ubuntu/welcome/welcome.qml 2013-04-08 13:34:07 +0000 | |||
2262 | +++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/welcome.qml 2013-06-10 18:40:33 +0000 | |||
2263 | @@ -18,9 +18,13 @@ | |||
2264 | 18 | 18 | ||
2265 | 19 | import QtQuick 1.1 | 19 | import QtQuick 1.1 |
2266 | 20 | 20 | ||
2267 | 21 | |||
2268 | 21 | Rectangle { | 22 | Rectangle { |
2269 | 22 | color: "#F7F6F5" | 23 | color: "#F7F6F5" |
2270 | 23 | 24 | ||
2271 | 25 | width: maximumWidth | ||
2272 | 26 | height: maximumHeight | ||
2273 | 27 | |||
2274 | 24 | property int maximumWidth : 900 | 28 | property int maximumWidth : 900 |
2275 | 25 | property int maximumHeight: 579 | 29 | property int maximumHeight: 579 |
2276 | 26 | 30 | ||
2277 | @@ -31,16 +35,20 @@ | |||
2278 | 31 | } | 35 | } |
2279 | 32 | 36 | ||
2280 | 33 | Rectangle { | 37 | Rectangle { |
2282 | 34 | anchors.centerIn: parent | 38 | anchors.horizontalCenter: parent.horizontalCenter |
2283 | 39 | // Commented out until we get Qt 5.1 | ||
2284 | 40 | /*anchors.top: parent.top | ||
2285 | 41 | anchors.bottom: parent.bottom*/ | ||
2286 | 42 | anchors.verticalCenter: parent.verticalCenter | ||
2287 | 43 | height: maximumHeight | ||
2288 | 35 | width: parent.width>maximumWidth ? maximumWidth : parent.width | 44 | width: parent.width>maximumWidth ? maximumWidth : parent.width |
2291 | 36 | height: (parent.height>maximumHeight ? maximumHeight : parent.height) / 1.2 | 45 | color: "#fff" |
2290 | 37 | color: "#FFF" | ||
2292 | 38 | 46 | ||
2293 | 39 | Image { | 47 | Image { |
2295 | 40 | anchors.verticalCenter: parent.verticalCenter | 48 | anchors.top: parent.top |
2296 | 49 | anchors.topMargin: 10 | ||
2297 | 41 | anchors.right: parent.right | 50 | anchors.right: parent.right |
2298 | 42 | source: "images/devices.png" | 51 | source: "images/devices.png" |
2299 | 43 | height: parent.height | ||
2300 | 44 | width: parent.width/2 | 52 | width: parent.width/2 |
2301 | 45 | fillMode: Image.PreserveAspectFit | 53 | fillMode: Image.PreserveAspectFit |
2302 | 46 | } | 54 | } |
2303 | @@ -49,11 +57,13 @@ | |||
2304 | 49 | color: "transparent" | 57 | color: "transparent" |
2305 | 50 | anchors.margins: 20 | 58 | anchors.margins: 20 |
2306 | 51 | anchors.top: parent.top | 59 | anchors.top: parent.top |
2307 | 60 | anchors.topMargin: 40 | ||
2308 | 52 | anchors.bottom: parent.bottom | 61 | anchors.bottom: parent.bottom |
2309 | 53 | anchors.horizontalCenter: parent.horizontalCenter | 62 | anchors.horizontalCenter: parent.horizontalCenter |
2310 | 54 | width: parent.width - anchors.margins*2 | 63 | width: parent.width - anchors.margins*2 |
2311 | 55 | 64 | ||
2312 | 56 | Column { | 65 | Column { |
2313 | 66 | id: headerColumn | ||
2314 | 57 | spacing: 20 | 67 | spacing: 20 |
2315 | 58 | anchors.top: parent.top | 68 | anchors.top: parent.top |
2316 | 59 | anchors.left: parent.left | 69 | anchors.left: parent.left |
2317 | @@ -81,42 +91,29 @@ | |||
2318 | 81 | } | 91 | } |
2319 | 82 | 92 | ||
2320 | 83 | Column { | 93 | Column { |
2325 | 84 | anchors.verticalCenter: parent.verticalCenter | 94 | id: topLinks |
2326 | 85 | spacing: 5 | 95 | anchors.topMargin: 50 |
2327 | 86 | Text { | 96 | anchors.top: headerColumn.bottom |
2328 | 87 | wrapMode: Text.WordWrap | 97 | width: parent.width |
2329 | 98 | spacing: 5 | ||
2330 | 99 | |||
2331 | 100 | Link { | ||
2332 | 88 | width: parent.width | 101 | width: parent.width |
2342 | 89 | font.family: "Ubuntu" | 102 | title: "Design something beautiful >" |
2343 | 90 | font.pixelSize: 20 | 103 | link: "http://design.ubuntu.com/apps" |
2335 | 91 | font.letterSpacing: 1.5 | ||
2336 | 92 | font.weight: Font.Light | ||
2337 | 93 | textFormat: Text.RichText | ||
2338 | 94 | text: "<a style=\"text-decoration: none; color: #DD4814\" href=\"http://design.ubuntu.com/apps\">Design something beautiful ></a>" | ||
2339 | 95 | onLinkActivated: { | ||
2340 | 96 | Qt.openUrlExternally(link); | ||
2341 | 97 | } | ||
2344 | 98 | } | 104 | } |
2345 | 99 | 105 | ||
2349 | 100 | Text { | 106 | Link { |
2347 | 101 | id: demo | ||
2348 | 102 | wrapMode: Text.WordWrap | ||
2350 | 103 | width: parent.width | 107 | width: parent.width |
2361 | 104 | font.family: "Ubuntu" | 108 | title: "Build something solid >" |
2362 | 105 | font.pixelSize: 20 | 109 | link: "http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html" |
2353 | 106 | font.letterSpacing: 1.5 | ||
2354 | 107 | font.weight: Font.Light | ||
2355 | 108 | textFormat: Text.RichText | ||
2356 | 109 | text: "<a style=\"text-decoration: none; color: #DD4814\" href=\"http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html\">Build something solid ></a>" | ||
2357 | 110 | onLinkActivated: { | ||
2358 | 111 | Qt.openUrlExternally(link); | ||
2359 | 112 | } | ||
2360 | 113 | |||
2363 | 114 | } | 110 | } |
2364 | 115 | } | 111 | } |
2365 | 116 | |||
2366 | 117 | Column { | 112 | Column { |
2368 | 118 | anchors.bottom: parent.bottom | 113 | id: bottomBox |
2369 | 114 | anchors.top: topLinks.bottom | ||
2370 | 119 | anchors.left: parent.left | 115 | anchors.left: parent.left |
2371 | 116 | anchors.topMargin: 20 | ||
2372 | 120 | 117 | ||
2373 | 121 | width: parent.width | 118 | width: parent.width |
2374 | 122 | spacing: 5 | 119 | spacing: 5 |
2375 | @@ -134,15 +131,45 @@ | |||
2376 | 134 | width: parent.width | 131 | width: parent.width |
2377 | 135 | font.family: "Ubuntu" | 132 | font.family: "Ubuntu" |
2378 | 136 | font.pixelSize: 18 | 133 | font.pixelSize: 18 |
2379 | 134 | textFormat: Text.RichText | ||
2380 | 137 | font.weight: Font.Light | 135 | font.weight: Font.Light |
2382 | 138 | text: "By joining our <a style=\"text-decoration: none; color: #DD4814\" href=\"http://wiki.ubuntu.com/Touch/Contribute#Discuss\">mailing list</a> and for real-time communication join <a style=\"text-decoration: none; color: #DD4814\" href=\"http://webchat.freenode.net/?channels=ubuntu-touch\">#ubuntu-touch</a> on freenode." | 136 | text: "<style> a { text-decoration: none; color: #DD4814; cursor: pointer } </style>By joining our <a href=\"http://wiki.ubuntu.com/Touch/Contribute#Discuss\">mailing list</a> and for real-time communication join <a href=\"http://webchat.freenode.net/?channels=ubuntu-touch\">#ubuntu-touch</a> on freenode." |
2383 | 139 | onLinkActivated: { | 137 | onLinkActivated: { |
2384 | 140 | Qt.openUrlExternally(link); | 138 | Qt.openUrlExternally(link); |
2385 | 141 | } | 139 | } |
2386 | 142 | } | 140 | } |
2387 | 143 | |||
2388 | 144 | } | 141 | } |
2389 | 145 | 142 | ||
2390 | 143 | /* | ||
2391 | 144 | Commented out until we get Qt 5.1 | ||
2392 | 145 | |||
2393 | 146 | Row { | ||
2394 | 147 | anchors.top: bottomBox.bottom | ||
2395 | 148 | anchors.horizontalCenter: parent.horizontalCenter | ||
2396 | 149 | anchors.bottom: parent.bottom | ||
2397 | 150 | anchors.right: parent.right | ||
2398 | 151 | anchors.margins: 10 | ||
2399 | 152 | anchors.topMargin: 20 | ||
2400 | 153 | spacing: 20 | ||
2401 | 154 | |||
2402 | 155 | NewsBox { | ||
2403 | 156 | height: parent.height | ||
2404 | 157 | width: parent.width/2 | ||
2405 | 158 | |||
2406 | 159 | link: "http://developer.ubuntu.com/feed/" | ||
2407 | 160 | } | ||
2408 | 161 | |||
2409 | 162 | NewsBox { | ||
2410 | 163 | height: parent.height | ||
2411 | 164 | width: parent.width/2 | ||
2412 | 165 | |||
2413 | 166 | link: "http://developer.ubuntu.com/category/event/feed/" | ||
2414 | 167 | } | ||
2415 | 168 | }*/ | ||
2416 | 169 | |||
2417 | 170 | |||
2418 | 171 | |||
2419 | 172 | |||
2420 | 146 | } | 173 | } |
2421 | 147 | } | 174 | } |
2422 | 148 | } | 175 | } |
2423 | 149 | 176 | ||
2424 | === added file 'ubuntu-qtcreator-plugins/src/plugins/plugins.pro' | |||
2425 | --- ubuntu-qtcreator-plugins/src/plugins/plugins.pro 1970-01-01 00:00:00 +0000 | |||
2426 | +++ ubuntu-qtcreator-plugins/src/plugins/plugins.pro 2013-06-10 18:40:33 +0000 | |||
2427 | @@ -0,0 +1,361 @@ | |||
2428 | 1 | # USE .subdir AND .depends ! | ||
2429 | 2 | # OTHERWISE PLUGINS WILL BUILD IN WRONG ORDER (DIRECTORIES ARE COMPILED IN PARALLEL) | ||
2430 | 3 | |||
2431 | 4 | TEMPLATE = subdirs | ||
2432 | 5 | |||
2433 | 6 | SUBDIRS = plugin_coreplugin \ | ||
2434 | 7 | plugin_welcome \ | ||
2435 | 8 | plugin_find \ | ||
2436 | 9 | plugin_texteditor \ | ||
2437 | 10 | plugin_cppeditor \ | ||
2438 | 11 | plugin_bineditor \ | ||
2439 | 12 | plugin_diffeditor \ | ||
2440 | 13 | plugin_imageviewer \ | ||
2441 | 14 | plugin_bookmarks \ | ||
2442 | 15 | plugin_projectexplorer \ | ||
2443 | 16 | plugin_vcsbase \ | ||
2444 | 17 | plugin_perforce \ | ||
2445 | 18 | plugin_subversion \ | ||
2446 | 19 | plugin_git \ | ||
2447 | 20 | plugin_cvs \ | ||
2448 | 21 | plugin_cpptools \ | ||
2449 | 22 | plugin_qtsupport \ | ||
2450 | 23 | plugin_qt4projectmanager \ | ||
2451 | 24 | plugin_locator \ | ||
2452 | 25 | plugin_debugger \ | ||
2453 | 26 | plugin_help \ | ||
2454 | 27 | plugin_cpaster \ | ||
2455 | 28 | plugin_cmakeprojectmanager \ | ||
2456 | 29 | plugin_autotoolsprojectmanager \ | ||
2457 | 30 | plugin_fakevim \ | ||
2458 | 31 | plugin_designer \ | ||
2459 | 32 | plugin_resourceeditor \ | ||
2460 | 33 | plugin_genericprojectmanager \ | ||
2461 | 34 | plugin_qmljseditor \ | ||
2462 | 35 | plugin_glsleditor \ | ||
2463 | 36 | plugin_mercurial \ | ||
2464 | 37 | plugin_bazaar \ | ||
2465 | 38 | plugin_classview \ | ||
2466 | 39 | plugin_tasklist \ | ||
2467 | 40 | plugin_analyzerbase \ | ||
2468 | 41 | plugin_qmljstools \ | ||
2469 | 42 | plugin_macros \ | ||
2470 | 43 | debugger/dumper.pro \ | ||
2471 | 44 | plugin_remotelinux \ | ||
2472 | 45 | plugin_android \ | ||
2473 | 46 | plugin_madde \ | ||
2474 | 47 | plugin_valgrind \ | ||
2475 | 48 | plugin_todo \ | ||
2476 | 49 | plugin_qnx \ | ||
2477 | 50 | plugin_ubuntu | ||
2478 | 51 | |||
2479 | 52 | exists(../shared/qbs/qbs.pro):SUBDIRS += plugin_qbsprojectmanager | ||
2480 | 53 | |||
2481 | 54 | isEmpty(IDE_PACKAGE_MODE) { | ||
2482 | 55 | SUBDIRS += plugin_helloworld \ | ||
2483 | 56 | plugin_updateinfo | ||
2484 | 57 | } else:!isEmpty(UPDATEINFO_ENABLE) { | ||
2485 | 58 | SUBDIRS += plugin_updateinfo | ||
2486 | 59 | } | ||
2487 | 60 | linux-* { | ||
2488 | 61 | SUBDIRS += debugger/ptracepreload.pro | ||
2489 | 62 | } | ||
2490 | 63 | !macx:SUBDIRS += plugin_clearcase | ||
2491 | 64 | |||
2492 | 65 | include(../../qtcreator.pri) | ||
2493 | 66 | |||
2494 | 67 | contains(QT_CONFIG, declarative)|!isEmpty(QT.declarative.name) { | ||
2495 | 68 | SUBDIRS += \ | ||
2496 | 69 | plugin_qmlprojectmanager \ | ||
2497 | 70 | plugin_qmlprofiler | ||
2498 | 71 | |||
2499 | 72 | greaterThan(QT_MAJOR_VERSION, 4) { | ||
2500 | 73 | SUBDIRS += plugin_qmldesigner | ||
2501 | 74 | } else { | ||
2502 | 75 | include(../private_headers.pri) | ||
2503 | 76 | exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) { | ||
2504 | 77 | SUBDIRS += plugin_qmldesigner | ||
2505 | 78 | } else { | ||
2506 | 79 | warning("QmlDesigner plugin has been disabled.") | ||
2507 | 80 | warning("The plugin depends on private headers from QtDeclarative module.") | ||
2508 | 81 | warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.") | ||
2509 | 82 | } | ||
2510 | 83 | } | ||
2511 | 84 | } else { | ||
2512 | 85 | warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative"); | ||
2513 | 86 | } | ||
2514 | 87 | |||
2515 | 88 | include (debugger/lldb/guest/qtcreator-lldb.pri) | ||
2516 | 89 | |||
2517 | 90 | plugin_coreplugin.subdir = coreplugin | ||
2518 | 91 | |||
2519 | 92 | plugin_updateinfo.subdir = updateinfo | ||
2520 | 93 | plugin_updateinfo.depends = plugin_coreplugin | ||
2521 | 94 | |||
2522 | 95 | plugin_welcome.subdir = welcome | ||
2523 | 96 | plugin_welcome.depends = plugin_coreplugin | ||
2524 | 97 | plugin_welcome.depends += plugin_projectexplorer | ||
2525 | 98 | |||
2526 | 99 | plugin_find.subdir = find | ||
2527 | 100 | plugin_find.depends += plugin_coreplugin | ||
2528 | 101 | |||
2529 | 102 | plugin_texteditor.subdir = texteditor | ||
2530 | 103 | plugin_texteditor.depends = plugin_find | ||
2531 | 104 | plugin_texteditor.depends += plugin_locator | ||
2532 | 105 | plugin_texteditor.depends += plugin_coreplugin | ||
2533 | 106 | |||
2534 | 107 | plugin_cppeditor.subdir = cppeditor | ||
2535 | 108 | plugin_cppeditor.depends = plugin_texteditor | ||
2536 | 109 | plugin_cppeditor.depends += plugin_coreplugin | ||
2537 | 110 | plugin_cppeditor.depends += plugin_cpptools | ||
2538 | 111 | |||
2539 | 112 | plugin_bineditor.subdir = bineditor | ||
2540 | 113 | plugin_bineditor.depends = plugin_texteditor | ||
2541 | 114 | plugin_bineditor.depends += plugin_coreplugin | ||
2542 | 115 | |||
2543 | 116 | plugin_diffeditor.subdir = diffeditor | ||
2544 | 117 | plugin_diffeditor.depends = plugin_texteditor | ||
2545 | 118 | plugin_diffeditor.depends += plugin_coreplugin | ||
2546 | 119 | |||
2547 | 120 | plugin_imageviewer.subdir = imageviewer | ||
2548 | 121 | plugin_imageviewer.depends = plugin_coreplugin | ||
2549 | 122 | |||
2550 | 123 | plugin_designer.subdir = designer | ||
2551 | 124 | plugin_designer.depends = plugin_coreplugin plugin_cpptools plugin_projectexplorer plugin_texteditor | ||
2552 | 125 | |||
2553 | 126 | plugin_vcsbase.subdir = vcsbase | ||
2554 | 127 | plugin_vcsbase.depends = plugin_find | ||
2555 | 128 | plugin_vcsbase.depends += plugin_texteditor | ||
2556 | 129 | plugin_vcsbase.depends += plugin_coreplugin | ||
2557 | 130 | plugin_vcsbase.depends += plugin_projectexplorer | ||
2558 | 131 | plugin_vcsbase.depends += plugin_cpptools | ||
2559 | 132 | |||
2560 | 133 | plugin_perforce.subdir = perforce | ||
2561 | 134 | plugin_perforce.depends = plugin_vcsbase | ||
2562 | 135 | plugin_perforce.depends += plugin_projectexplorer | ||
2563 | 136 | plugin_perforce.depends += plugin_coreplugin | ||
2564 | 137 | |||
2565 | 138 | plugin_git.subdir = git | ||
2566 | 139 | plugin_git.depends = plugin_vcsbase | ||
2567 | 140 | plugin_git.depends += plugin_projectexplorer | ||
2568 | 141 | plugin_git.depends += plugin_coreplugin | ||
2569 | 142 | |||
2570 | 143 | plugin_cvs.subdir = cvs | ||
2571 | 144 | plugin_cvs.depends = plugin_vcsbase | ||
2572 | 145 | plugin_cvs.depends += plugin_projectexplorer | ||
2573 | 146 | plugin_cvs.depends += plugin_coreplugin | ||
2574 | 147 | |||
2575 | 148 | plugin_subversion.subdir = subversion | ||
2576 | 149 | plugin_subversion.depends = plugin_vcsbase | ||
2577 | 150 | plugin_subversion.depends += plugin_projectexplorer | ||
2578 | 151 | plugin_subversion.depends += plugin_coreplugin | ||
2579 | 152 | |||
2580 | 153 | plugin_projectexplorer.subdir = projectexplorer | ||
2581 | 154 | plugin_projectexplorer.depends = plugin_locator | ||
2582 | 155 | plugin_projectexplorer.depends += plugin_find | ||
2583 | 156 | plugin_projectexplorer.depends += plugin_coreplugin | ||
2584 | 157 | plugin_projectexplorer.depends += plugin_texteditor | ||
2585 | 158 | |||
2586 | 159 | plugin_qtsupport.subdir = qtsupport | ||
2587 | 160 | plugin_qtsupport.depends = plugin_projectexplorer | ||
2588 | 161 | |||
2589 | 162 | plugin_qt4projectmanager.subdir = qt4projectmanager | ||
2590 | 163 | plugin_qt4projectmanager.depends = plugin_texteditor | ||
2591 | 164 | plugin_qt4projectmanager.depends += plugin_projectexplorer | ||
2592 | 165 | plugin_qt4projectmanager.depends += plugin_qtsupport | ||
2593 | 166 | plugin_qt4projectmanager.depends += plugin_cpptools | ||
2594 | 167 | plugin_qt4projectmanager.depends += plugin_debugger | ||
2595 | 168 | plugin_qt4projectmanager.depends += plugin_qmljseditor | ||
2596 | 169 | plugin_qt4projectmanager.depends += plugin_qmljstools | ||
2597 | 170 | |||
2598 | 171 | plugin_remotelinux.subdir = remotelinux | ||
2599 | 172 | plugin_remotelinux.depends += plugin_coreplugin | ||
2600 | 173 | plugin_remotelinux.depends += plugin_debugger | ||
2601 | 174 | plugin_remotelinux.depends += plugin_projectexplorer | ||
2602 | 175 | plugin_remotelinux.depends += plugin_qtsupport | ||
2603 | 176 | |||
2604 | 177 | plugin_android.subdir = android | ||
2605 | 178 | plugin_android.depends = plugin_coreplugin | ||
2606 | 179 | plugin_android.depends += plugin_debugger | ||
2607 | 180 | plugin_android.depends += plugin_projectexplorer | ||
2608 | 181 | plugin_android.depends += plugin_qt4projectmanager | ||
2609 | 182 | |||
2610 | 183 | plugin_madde.subdir = madde | ||
2611 | 184 | plugin_madde.depends += plugin_remotelinux | ||
2612 | 185 | plugin_madde.depends += plugin_qt4projectmanager | ||
2613 | 186 | |||
2614 | 187 | plugin_locator.subdir = locator | ||
2615 | 188 | plugin_locator.depends = plugin_coreplugin | ||
2616 | 189 | |||
2617 | 190 | plugin_cpptools.subdir = cpptools | ||
2618 | 191 | plugin_cpptools.depends = plugin_projectexplorer | ||
2619 | 192 | plugin_cpptools.depends += plugin_coreplugin | ||
2620 | 193 | plugin_cpptools.depends += plugin_texteditor | ||
2621 | 194 | plugin_cpptools.depends += plugin_find | ||
2622 | 195 | |||
2623 | 196 | plugin_bookmarks.subdir = bookmarks | ||
2624 | 197 | plugin_bookmarks.depends = plugin_projectexplorer | ||
2625 | 198 | plugin_bookmarks.depends += plugin_coreplugin | ||
2626 | 199 | plugin_bookmarks.depends += plugin_texteditor | ||
2627 | 200 | |||
2628 | 201 | plugin_debugger.subdir = debugger | ||
2629 | 202 | plugin_debugger.depends = plugin_projectexplorer | ||
2630 | 203 | plugin_debugger.depends += plugin_coreplugin | ||
2631 | 204 | plugin_debugger.depends += plugin_cpptools | ||
2632 | 205 | |||
2633 | 206 | plugin_fakevim.subdir = fakevim | ||
2634 | 207 | plugin_fakevim.depends = plugin_coreplugin | ||
2635 | 208 | plugin_fakevim.depends += plugin_texteditor | ||
2636 | 209 | |||
2637 | 210 | plugin_qtestlib.subdir = qtestlib | ||
2638 | 211 | plugin_qtestlib.depends = plugin_projectexplorer | ||
2639 | 212 | plugin_qtestlib.depends += plugin_coreplugin | ||
2640 | 213 | |||
2641 | 214 | plugin_helloworld.subdir = helloworld | ||
2642 | 215 | plugin_helloworld.depends = plugin_coreplugin | ||
2643 | 216 | |||
2644 | 217 | plugin_help.subdir = help | ||
2645 | 218 | plugin_help.depends = plugin_find | ||
2646 | 219 | plugin_help.depends += plugin_locator | ||
2647 | 220 | plugin_help.depends += plugin_coreplugin | ||
2648 | 221 | |||
2649 | 222 | plugin_resourceeditor.subdir = resourceeditor | ||
2650 | 223 | plugin_resourceeditor.depends = plugin_coreplugin | ||
2651 | 224 | plugin_resourceeditor.depends = plugin_find | ||
2652 | 225 | |||
2653 | 226 | plugin_regexp.subdir = regexp | ||
2654 | 227 | plugin_regexp.depends = plugin_coreplugin | ||
2655 | 228 | |||
2656 | 229 | plugin_cpaster.subdir = cpaster | ||
2657 | 230 | plugin_cpaster.depends = plugin_texteditor | ||
2658 | 231 | plugin_cpaster.depends += plugin_coreplugin | ||
2659 | 232 | |||
2660 | 233 | plugin_cmakeprojectmanager.subdir = cmakeprojectmanager | ||
2661 | 234 | plugin_cmakeprojectmanager.depends = plugin_texteditor | ||
2662 | 235 | plugin_cmakeprojectmanager.depends += plugin_projectexplorer | ||
2663 | 236 | plugin_cmakeprojectmanager.depends += plugin_cpptools | ||
2664 | 237 | plugin_cmakeprojectmanager.depends += plugin_qtsupport | ||
2665 | 238 | |||
2666 | 239 | plugin_autotoolsprojectmanager.subdir = autotoolsprojectmanager | ||
2667 | 240 | plugin_autotoolsprojectmanager.depends = plugin_projectexplorer | ||
2668 | 241 | plugin_autotoolsprojectmanager.depends += plugin_coreplugin | ||
2669 | 242 | plugin_autotoolsprojectmanager.depends += plugin_cpptools | ||
2670 | 243 | plugin_autotoolsprojectmanager.depends += plugin_qtsupport | ||
2671 | 244 | |||
2672 | 245 | plugin_genericprojectmanager.subdir = genericprojectmanager | ||
2673 | 246 | plugin_genericprojectmanager.depends = plugin_texteditor | ||
2674 | 247 | plugin_genericprojectmanager.depends += plugin_projectexplorer | ||
2675 | 248 | plugin_genericprojectmanager.depends += plugin_cpptools | ||
2676 | 249 | plugin_genericprojectmanager.depends += plugin_qtsupport | ||
2677 | 250 | |||
2678 | 251 | plugin_qmljseditor.subdir = qmljseditor | ||
2679 | 252 | plugin_qmljseditor.depends = plugin_texteditor | ||
2680 | 253 | plugin_qmljseditor.depends += plugin_coreplugin | ||
2681 | 254 | plugin_qmljseditor.depends += plugin_projectexplorer | ||
2682 | 255 | plugin_qmljseditor.depends += plugin_qmljstools | ||
2683 | 256 | |||
2684 | 257 | plugin_glsleditor.subdir = glsleditor | ||
2685 | 258 | plugin_glsleditor.depends = plugin_texteditor | ||
2686 | 259 | plugin_glsleditor.depends += plugin_coreplugin | ||
2687 | 260 | plugin_glsleditor.depends += plugin_projectexplorer | ||
2688 | 261 | plugin_glsleditor.depends += plugin_cpptools | ||
2689 | 262 | |||
2690 | 263 | plugin_qmlprojectmanager.subdir = qmlprojectmanager | ||
2691 | 264 | plugin_qmlprojectmanager.depends = plugin_texteditor | ||
2692 | 265 | plugin_qmlprojectmanager.depends += plugin_projectexplorer | ||
2693 | 266 | plugin_qmlprojectmanager.depends += plugin_qmljseditor | ||
2694 | 267 | plugin_qmlprojectmanager.depends += plugin_qmljstools | ||
2695 | 268 | plugin_qmlprojectmanager.depends += plugin_debugger | ||
2696 | 269 | plugin_qmlprojectmanager.depends += plugin_qtsupport | ||
2697 | 270 | |||
2698 | 271 | plugin_qmldesigner.subdir = qmldesigner | ||
2699 | 272 | plugin_qmldesigner.depends = plugin_coreplugin | ||
2700 | 273 | plugin_qmldesigner.depends += plugin_texteditor | ||
2701 | 274 | plugin_qmldesigner.depends += plugin_qmljseditor | ||
2702 | 275 | plugin_qmldesigner.depends += plugin_projectexplorer | ||
2703 | 276 | plugin_qmldesigner.depends += plugin_qt4projectmanager | ||
2704 | 277 | plugin_qmldesigner.depends += plugin_qmlprojectmanager | ||
2705 | 278 | plugin_qmldesigner.depends += plugin_cpptools | ||
2706 | 279 | |||
2707 | 280 | plugin_mercurial.subdir = mercurial | ||
2708 | 281 | plugin_mercurial.depends = plugin_vcsbase | ||
2709 | 282 | plugin_mercurial.depends += plugin_projectexplorer | ||
2710 | 283 | plugin_mercurial.depends += plugin_coreplugin | ||
2711 | 284 | |||
2712 | 285 | plugin_bazaar.subdir = bazaar | ||
2713 | 286 | plugin_bazaar.depends = plugin_vcsbase | ||
2714 | 287 | plugin_bazaar.depends += plugin_projectexplorer | ||
2715 | 288 | plugin_bazaar.depends += plugin_coreplugin | ||
2716 | 289 | |||
2717 | 290 | plugin_classview.subdir = classview | ||
2718 | 291 | plugin_classview.depends = plugin_coreplugin | ||
2719 | 292 | plugin_classview.depends += plugin_cpptools | ||
2720 | 293 | plugin_classview.depends += plugin_projectexplorer | ||
2721 | 294 | plugin_classview.depends += plugin_texteditor | ||
2722 | 295 | |||
2723 | 296 | plugin_tasklist.subdir = tasklist | ||
2724 | 297 | plugin_tasklist.depends = plugin_coreplugin | ||
2725 | 298 | plugin_tasklist.depends += plugin_projectexplorer | ||
2726 | 299 | |||
2727 | 300 | plugin_analyzerbase.subdir = analyzerbase | ||
2728 | 301 | plugin_analyzerbase.depends = plugin_coreplugin | ||
2729 | 302 | plugin_analyzerbase.depends += plugin_projectexplorer | ||
2730 | 303 | plugin_analyzerbase.depends += plugin_remotelinux | ||
2731 | 304 | plugin_analyzerbase.depends += plugin_cpptools | ||
2732 | 305 | |||
2733 | 306 | plugin_valgrind.subdir = valgrind | ||
2734 | 307 | plugin_valgrind.depends = plugin_coreplugin | ||
2735 | 308 | plugin_valgrind.depends += plugin_analyzerbase | ||
2736 | 309 | plugin_valgrind.depends += plugin_remotelinux | ||
2737 | 310 | plugin_valgrind.depends += plugin_texteditor | ||
2738 | 311 | |||
2739 | 312 | plugin_qmlprofiler.subdir = qmlprofiler | ||
2740 | 313 | plugin_qmlprofiler.depends = plugin_coreplugin | ||
2741 | 314 | plugin_qmlprofiler.depends += plugin_analyzerbase | ||
2742 | 315 | plugin_qmlprofiler.depends += plugin_qmlprojectmanager | ||
2743 | 316 | plugin_qmlprofiler.depends += plugin_qt4projectmanager | ||
2744 | 317 | plugin_qmlprofiler.depends += plugin_remotelinux | ||
2745 | 318 | plugin_qmlprofiler.depends += plugin_qmljstools | ||
2746 | 319 | |||
2747 | 320 | plugin_qmljstools.subdir = qmljstools | ||
2748 | 321 | plugin_qmljstools.depends = plugin_projectexplorer | ||
2749 | 322 | plugin_qmljstools.depends += plugin_coreplugin | ||
2750 | 323 | plugin_qmljstools.depends += plugin_texteditor | ||
2751 | 324 | plugin_qmljstools.depends += plugin_qtsupport | ||
2752 | 325 | plugin_qmljstools.depends += plugin_cpptools | ||
2753 | 326 | |||
2754 | 327 | plugin_macros.subdir = macros | ||
2755 | 328 | plugin_macros.depends = plugin_texteditor | ||
2756 | 329 | plugin_macros.depends += plugin_find | ||
2757 | 330 | plugin_macros.depends += plugin_locator | ||
2758 | 331 | plugin_macros.depends += plugin_coreplugin | ||
2759 | 332 | |||
2760 | 333 | plugin_todo.subdir = todo | ||
2761 | 334 | plugin_todo.depends = plugin_coreplugin | ||
2762 | 335 | plugin_todo.depends += plugin_projectexplorer | ||
2763 | 336 | plugin_todo.depends += plugin_texteditor | ||
2764 | 337 | plugin_todo.depends += plugin_cpptools | ||
2765 | 338 | |||
2766 | 339 | plugin_qnx.subdir = qnx | ||
2767 | 340 | plugin_qnx.depends = plugin_remotelinux | ||
2768 | 341 | plugin_qnx.depends += plugin_qt4projectmanager | ||
2769 | 342 | plugin_qnx.depends += plugin_coreplugin | ||
2770 | 343 | plugin_qnx.depends += plugin_texteditor | ||
2771 | 344 | |||
2772 | 345 | plugin_qbsprojectmanager.subdir = qbsprojectmanager | ||
2773 | 346 | plugin_qbsprojectmanager.depends = plugin_texteditor | ||
2774 | 347 | plugin_qbsprojectmanager.depends += plugin_projectexplorer | ||
2775 | 348 | plugin_qbsprojectmanager.depends += plugin_cpptools | ||
2776 | 349 | plugin_qbsprojectmanager.depends += plugin_qmljstools | ||
2777 | 350 | plugin_qbsprojectmanager.depends += plugin_qtsupport | ||
2778 | 351 | |||
2779 | 352 | plugin_clearcase.subdir = clearcase | ||
2780 | 353 | plugin_clearcase.depends = plugin_vcsbase | ||
2781 | 354 | plugin_clearcase.depends += plugin_projectexplorer | ||
2782 | 355 | plugin_clearcase.depends += plugin_coreplugin | ||
2783 | 356 | |||
2784 | 357 | plugin_ubuntu.subdir = ubuntu | ||
2785 | 358 | plugin_ubuntu.depends = plugin_coreplugin | ||
2786 | 359 | plugin_ubuntu.depends += plugin_projectexplorer | ||
2787 | 360 | plugin_ubuntu.depends += plugin_qt4projectmanager | ||
2788 | 361 | plugin_ubuntu.depends += plugin_qmlprojectmanager | ||
2789 | 0 | 362 | ||
2790 | === modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntu.pro' | |||
2791 | --- qtcreator/src/plugins/ubuntu/ubuntu.pro 2013-02-20 12:33:10 +0000 | |||
2792 | +++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntu.pro 2013-06-10 18:40:33 +0000 | |||
2793 | @@ -2,14 +2,14 @@ | |||
2794 | 2 | TARGET = Ubuntu | 2 | TARGET = Ubuntu |
2795 | 3 | DEFINES += UBUNTU_LIBRARY | 3 | DEFINES += UBUNTU_LIBRARY |
2796 | 4 | 4 | ||
2798 | 5 | QT += network declarative | 5 | QT += network qml quick |
2799 | 6 | 6 | ||
2800 | 7 | PROVIDER = Canonical | 7 | PROVIDER = Canonical |
2806 | 8 | 8 | message($$PWD) | |
2807 | 9 | include(../../qtcreatorplugin.pri) | 9 | include($$PWD/../../qtcreatorplugin.pri) |
2808 | 10 | include(../coreplugin/coreplugin.pri) | 10 | include($$PWD/../coreplugin/coreplugin.pri) |
2809 | 11 | include(../projectexplorer/projectexplorer.pri) | 11 | include($$PWD/../projectexplorer/projectexplorer.pri) |
2810 | 12 | include(../qmlprojectmanager/qmlprojectmanager.pri) | 12 | include($$PWD/../qmlprojectmanager/qmlprojectmanager.pri) |
2811 | 13 | 13 | ||
2812 | 14 | LIBS += -L$$IDE_PLUGIN_PATH/QtProject | 14 | LIBS += -L$$IDE_PLUGIN_PATH/QtProject |
2813 | 15 | 15 | ||
2814 | 16 | 16 | ||
2815 | === modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuconstants.h' | |||
2816 | --- qtcreator/src/plugins/ubuntu/ubuntuconstants.h 2013-05-04 21:41:03 +0000 | |||
2817 | +++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuconstants.h 2013-06-10 18:40:33 +0000 | |||
2818 | @@ -33,6 +33,7 @@ | |||
2819 | 33 | const char UBUNTU_QMLPROJECT_TYPE[] = "qmlproject"; | 33 | const char UBUNTU_QMLPROJECT_TYPE[] = "qmlproject"; |
2820 | 34 | const char UBUNTU_QTPROJECT_TYPE[] = "pro"; | 34 | const char UBUNTU_QTPROJECT_TYPE[] = "pro"; |
2821 | 35 | const char UBUNTU_QML_TYPE[] = "qml"; | 35 | const char UBUNTU_QML_TYPE[] = "qml"; |
2822 | 36 | const char UBUNTU_HAS_TESTS[] = "hasTests"; | ||
2823 | 36 | 37 | ||
2824 | 37 | const QString UBUNTU_WELCOMESCREEN_QML = Core::ICore::resourcePath() + QLatin1String("/ubuntu/welcome/welcome.qml"); | 38 | const QString UBUNTU_WELCOMESCREEN_QML = Core::ICore::resourcePath() + QLatin1String("/ubuntu/welcome/welcome.qml"); |
2825 | 38 | const QString UBUNTU_TEMPLATESPATH = Core::ICore::resourcePath() + QLatin1String("/templates/wizards/ubuntu/"); | 39 | const QString UBUNTU_TEMPLATESPATH = Core::ICore::resourcePath() + QLatin1String("/templates/wizards/ubuntu/"); |
2826 | 39 | 40 | ||
2827 | === modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuplugin.cpp' | |||
2828 | --- qtcreator/src/plugins/ubuntu/ubuntuplugin.cpp 2013-04-08 13:34:07 +0000 | |||
2829 | +++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuplugin.cpp 2013-06-10 18:40:33 +0000 | |||
2830 | @@ -26,7 +26,7 @@ | |||
2831 | 26 | #include <QJsonArray> | 26 | #include <QJsonArray> |
2832 | 27 | #include <QJsonObject> | 27 | #include <QJsonObject> |
2833 | 28 | #include <QDebug> | 28 | #include <QDebug> |
2835 | 29 | 29 | #include <QGuiApplication> | |
2836 | 30 | 30 | ||
2837 | 31 | using namespace Ubuntu::Internal; | 31 | using namespace Ubuntu::Internal; |
2838 | 32 | 32 | ||
2839 | 33 | 33 | ||
2840 | === modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp' | |||
2841 | --- qtcreator/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp 2013-05-03 23:00:15 +0000 | |||
2842 | +++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp 2013-06-10 18:40:33 +0000 | |||
2843 | @@ -118,6 +118,13 @@ | |||
2844 | 118 | if (tmp_type.isUndefined() == false) { | 118 | if (tmp_type.isUndefined() == false) { |
2845 | 119 | projectType = tmp_type.toString(); | 119 | projectType = tmp_type.toString(); |
2846 | 120 | } | 120 | } |
2847 | 121 | |||
2848 | 122 | QJsonValue tmp_hasTests = m_obj.value(QLatin1String(Constants::UBUNTU_HAS_TESTS)); | ||
2849 | 123 | bool hasTests = false; | ||
2850 | 124 | if (tmp_hasTests.isUndefined() == false) { | ||
2851 | 125 | hasTests = tmp_hasTests.toBool(); | ||
2852 | 126 | } | ||
2853 | 127 | |||
2854 | 121 | const UbuntuProjectApplicationWizardDialog *wizard = qobject_cast<const UbuntuProjectApplicationWizardDialog *>(w); | 128 | const UbuntuProjectApplicationWizardDialog *wizard = qobject_cast<const UbuntuProjectApplicationWizardDialog *>(w); |
2855 | 122 | const QString projectName = wizard->projectName(); | 129 | const QString projectName = wizard->projectName(); |
2856 | 123 | const QString projectPath = wizard->path() + QLatin1Char('/') + projectName; | 130 | const QString projectPath = wizard->path() + QLatin1Char('/') + projectName; |
2857 | @@ -187,6 +194,9 @@ | |||
2858 | 187 | << " }" << endl | 194 | << " }" << endl |
2859 | 188 | << " Files {" << endl | 195 | << " Files {" << endl |
2860 | 189 | << " filter: \"*.desktop\"" << endl | 196 | << " filter: \"*.desktop\"" << endl |
2861 | 197 | << " }" << endl | ||
2862 | 198 | << " Files {" << endl | ||
2863 | 199 | << " filter: \"Makefile\"" << endl | ||
2864 | 190 | << " }" << endl; | 200 | << " }" << endl; |
2865 | 191 | if (projectType == QLatin1String(Constants::UBUNTU_HTMLPROJECT_TYPE)) { | 201 | if (projectType == QLatin1String(Constants::UBUNTU_HTMLPROJECT_TYPE)) { |
2866 | 192 | out << " Files {" << endl | 202 | out << " Files {" << endl |
2867 | @@ -194,7 +204,7 @@ | |||
2868 | 194 | << " filter: \"*\"" << endl | 204 | << " filter: \"*\"" << endl |
2869 | 195 | << " }" << endl; | 205 | << " }" << endl; |
2870 | 196 | } | 206 | } |
2872 | 197 | if (projectType == QLatin1String(Constants::UBUNTU_AUTOPILOTPROJECT_TYPE)) { | 207 | if (hasTests || projectType == QLatin1String(Constants::UBUNTU_AUTOPILOTPROJECT_TYPE)) { |
2873 | 198 | out << " Files {" << endl | 208 | out << " Files {" << endl |
2874 | 199 | << " directory: \"tests/\"" << endl | 209 | << " directory: \"tests/\"" << endl |
2875 | 200 | << " filter: \"*\"" << endl | 210 | << " filter: \"*\"" << endl |