Merge lp:~juhapekka-piiroinen/ubuntu-qtcreator-plugins/refactoring-and-fixing into lp:ubuntu-qtcreator-plugins

Proposed by Juhapekka Piiroinen
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
Reviewer Review Type Date Requested Status
Juhapekka Piiroinen Pending
Review via email: mp+167125@code.launchpad.net

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

To post a comment you must log in.
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 automaticOrientation 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

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile'
--- Makefile 2013-02-14 11:08:07 +0000
+++ Makefile 2013-06-10 18:40:33 +0000
@@ -1,6 +1,72 @@
1CORES = `cat /proc/cpuinfo |grep processor|wc -l`
2VERSION = 2.7.1
3SRCPATH = qtcreator-${VERSION}
4ARCH = $(shell arch)
5BUILDPATH = build-$(ARCH)
6
1all:7all:
2 ./prepare8 make src
3 ./build9 make build
10
11src:
12 apt-get source qtcreator=${VERSION}
13 sed -i "s/qtcreator-plugin/#qtcreator-plugin/g" $(SRCPATH)/debian/patches/series
14 sed -i "s/ubuntu/#ubuntu/g" $(SRCPATH)/debian/patches/series
15 sed -i "s/tar xvf debian/#tar xvf debian/g" $(SRCPATH)/debian/rules
16 cp $(SRCPATH)/src/plugins/plugins.pro $(SRCPATH)/src/plugins/plugins.pro.orig
17 cp $(SRCPATH)/share/qtcreator/static.pro $(SRCPATH)/share/qtcreator/static.pro.orig
18 make copy-plugin-src
19
20copy-plugin-src:
21 cp -r ubuntu-qtcreator-plugins/* $(SRCPATH)/
22
23update-plugin-share:
24 cp -r ubuntu-qtcreator-plugins/share $(BUILDPATH)/
25
26clean-src:
27 rm -Rf $(SRCPATH)
28
29clean-build:
30 rm -Rf $(BUILDPATH)
31
32clean-project:
33 make clean-src
34 make clean-build
35 rm qtcreator_${VERSION}*
36
37build:
38 mkdir -p $(BUILDPATH)
39 set -e; cd $(BUILDPATH); \
40 qmake -r ../$(SRCPATH); \
41 make -j${CORES}
42
43run:
44 $(BUILDPATH)/bin/qtcreator
445
5clean:46clean:
6 rm tmp -Rf47 cd $(BUILDPATH); make clean
48
49distclean:
50 cd $(BUILDPATH); make distclean
51
52install:
53 cd $(BUILDPATH); INSTALL_ROOT=/usr make install
54 cp $(SRCPATH)/debian/*.desktop /usr/share/applications
55
56release:
57 cd $(SRCPATH); \
58 dch -U; \
59 dch -r
60
61package:
62 make src
63 cd $(SRCPATH); dpkg-buildpackage -us -uc -nc -j${CORES}
64
65build-dep:
66 sudo apt-get build-dep qtcreator
67
68build-dep-ppa:
69 sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
70 sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list.d/ubuntu-sdk-team-ppa-*.list
71 sudo apt-add-repository ppa:canonical-qt5-edgers/qt5-proper
72 sudo apt-get update
773
=== removed file 'README'
--- README 2013-05-01 21:17:32 +0000
+++ README 1970-01-01 00:00:00 +0000
@@ -1,34 +0,0 @@
1
2Ubuntu Qt Creator plugins
3===================================
4
50) This plugin requires following:
6
7 qtcreator
8 android-tools-adb
9
101) Scripts
11-----------------------------------
12 prepare This script will fetch the Qt Creator source code
13 and creates a source package.
14
15 build This script builds the project inside pbuilder-dist.
16 Accepts command line argument 'release'.
17
18 build-package This script will execute dpkg-buildpackage
19
20
212) Directories
22-----------------------------------
23 qtcreator This directory contains the Ubuntu Qt Creator plugin.
24
25 patches This directory contains the patches which are executed with 'prepare'
26
27 packaging This directory contains the packaging related changes which are done in 'prepare'
28
29
303) Makefile
31-----------------------------------
32 make Build project in pbuilder-dist
33 make clean Deletes the temporary files which were created during 'make' / 'prepare'
34
350
=== removed file 'build'
--- build 2013-04-08 13:34:07 +0000
+++ build 1970-01-01 00:00:00 +0000
@@ -1,35 +0,0 @@
1#!/bin/bash
2# Copyright 2013 Canonical Ltd.
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU Lesser General Public License as published by
6# the Free Software Foundation; version 2.1.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15#
16# Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17
18echo
19echo "Compiling project in pbuilder-dist."
20echo "-----------------------------------"
21read -p "Distribution: " DIST
22read -p "Architecture: " ARCH
23echo
24DSCFILE=`ls -t tmp/*.dsc|head -n1`
25echo "Building $DSCFILE"
26pbuilder-dist $DIST $ARCH build $DSCFILE
27if [ $? == 1 ]; then
28 echo
29 echo "Have you created the target with:"
30 echo " pbuilder-dist $DIST $ARCH create"
31 echo
32 exit
33fi
34echo "-----------------------------------"
35echo "Check results in ~/pbuilder/"
360
=== removed file 'build-package'
--- build-package 2013-04-08 13:34:07 +0000
+++ build-package 1970-01-01 00:00:00 +0000
@@ -1,21 +0,0 @@
1#!/bin/bash
2# Copyright 2013 Canonical Ltd.
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU Lesser General Public License as published by
6# the Free Software Foundation; version 2.1.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15#
16# Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17cd tmp
18cd qtcreator*
19cp -r ../../qtcreator/* .
20dpkg-source --commit --include-binaries
21dpkg-buildpackage -us -uc -nc
220
=== removed directory 'packaging'
=== removed file 'packaging/ubuntu-qtcreator-plugins.install'
--- packaging/ubuntu-qtcreator-plugins.install 2013-02-14 15:19:23 +0000
+++ packaging/ubuntu-qtcreator-plugins.install 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1usr/share/qtcreator/templates/wizards/ubuntu
2usr/share/qtcreator/ubuntu
3usr/lib/*/qtcreator/plugins/Canonical
40
=== removed symlink 'packaging/ubuntu-qtcreator-plugins.install.linux'
=== target was u'ubuntu-qtcreator-plugins.install'
=== removed directory 'patches'
=== removed file 'patches/2013-04-control.patch'
--- patches/2013-04-control.patch 2013-04-18 04:44:02 +0000
+++ patches/2013-04-control.patch 1970-01-01 00:00:00 +0000
@@ -1,12 +0,0 @@
1--- debian/control 2013-04-04 15:42:30.000000000 +0300
2+++ debian/control 2013-04-12 10:32:02.126392842 +0300
3@@ -57,7 +57,8 @@
4 qtdeclarative5-dev,
5 qmlscene,
6 qtcreator-doc,
7- xterm | x-terminal-emulator
8+ xterm | x-terminal-emulator,
9+ dh-make
10 Suggests: cmake, git, kdelibs5-data, subversion, ubuntu-sdk, qtquick1-5-dev, qtquick1-5-dev-tools
11 Description: lightweight integrated development environment (IDE) for Qt
12 Qt Creator is a new, lightweight, cross-platform integrated development
130
=== removed file 'prepare'
--- prepare 2013-04-12 08:36:54 +0000
+++ prepare 1970-01-01 00:00:00 +0000
@@ -1,41 +0,0 @@
1#!/bin/bash
2# Copyright 2013 Canonical Ltd.
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU Lesser General Public License as published by
6# the Free Software Foundation; version 2.1.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU Lesser General Public License for more details.
12#
13# You should have received a copy of the GNU Lesser General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15#
16# Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17set -e
18
19rm -Rf tmp
20mkdir tmp
21cd tmp
22apt-get source qtcreator
23if [[ $? != 0 ]]; then
24 exit 2
25fi
26cd qtcreator*
27cp -dr ../../qtcreator/* .
28set +e
29patch -tp0 < ../../patches/2013-04-control.patch
30#patch -tp0 < ../../patches/override_dh_shlibdeps-skip-ubuntu-qtcreator-plugins.diff
31#patch -tp0 < ../../patches/add-new-packages.diff
32#patch -tp0 < ../../patches/add-statics.diff
33#patch -tp0 < ../../patches/fix-package-depends.diff
34set -e
35#cp -d ../../packaging/* debian/
36if [[ $1 == "release" ]]; then
37 dch -U
38 dch -r
39fi
40dpkg-source --include-binaries --commit . ubuntu
41debuild -S -sa -i -us -uc
420
=== removed directory 'qt5libs'
=== removed directory 'qt5libs/debian'
=== removed file 'qt5libs/debian/changelog'
--- qt5libs/debian/changelog 2013-02-15 16:36:55 +0000
+++ qt5libs/debian/changelog 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
1ubuntu-qtcreator-qt5libs (0.1-1ubuntu1) quantal; urgency=low
2
3 * Quantal release
4
5 -- Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> Fri, 15 Feb 2013 18:35:46 +0200
6
7ubuntu-qtcreator-qt5libs (0.1-1) unstable; urgency=low
8
9 * Initial release
10
11 -- Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com> Fri, 15 Feb 2013 16:29:09 +0200
120
=== removed file 'qt5libs/debian/compat'
--- qt5libs/debian/compat 2013-02-15 15:03:23 +0000
+++ qt5libs/debian/compat 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
18
20
=== removed file 'qt5libs/debian/control'
--- qt5libs/debian/control 2013-02-15 16:36:55 +0000
+++ qt5libs/debian/control 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1Source: ubuntu-qtcreator-qt5libs
2Priority: extra
3Maintainer: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
4Build-Depends: debhelper (>= 9.0.0),
5 libqt5sql5-sqlite (>= 5.0.1~),
6 libqt5designercomponents5 (>= 5.0.1~),
7 libqt5designer5 (>= 5.0.1~),
8 libqt5clucene5 (>= 5.0.1~),
9 qttools5-private-dev (>= 5.0.1~),
10 libqt5v8-5-private-dev (>= 5.0.1~),
11 libqt5help5 (>= 5.0.1~),
12 qttools5-dev (>= 5.0.1~),
13 qttools5-dev-tools (>= 5.0.1~),
14 qt5-qmake (>= 5.0.1~),
15 qtbase5-private-dev (>= 5.0.1~),
16 libqt5script5 (>= 5.0.1~),
17 libqt5scripttools5 (>= 5.0.1~),
18 qt5-default,
19 qtscript5-private-dev (>= 5.0.1~),
20 qtxmlpatterns5-dev-tools (>= 5.0.1~),
21 libqt5widgets5 (>= 5.0.1~),
22 qttools5-dev-tools (>= 5.0.1~),
23 qtdeclarative5-private-dev (>= 5.0.1~),
24 qtdeclarative5-dev-tools (>= 5.0.1~),
25 qtquick1-5-dev (>= 5.0.1~),
26 qtquick1-5-dev-tools (>= 5.0.1~),
27 libqt5help5 (>= 5.0.1~),
28 qtlocation5-dev,
29 qtsensors5-dev
30Standards-Version: 3.9.4
31Section: libs
32Homepage: http://launchpad.net/ubuntu-qtcreator-plugins
33
34Package: ubuntu-qtcreator-qt5libs
35Section: libs
36Architecture: any
37Depends: ubuntu-qtcreator-plugins
38Description: Qt 5 libraries for Qt Creator
39 This package contains Qt 5 libraries for Qt Creator.
400
=== removed file 'qt5libs/debian/rules'
--- qt5libs/debian/rules 2013-02-15 16:09:13 +0000
+++ qt5libs/debian/rules 1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4# This file was originally written by Joey Hess and Craig Small.
5# As a special exception, when this file is copied by dh-make into a
6# dh-make output file, you may use that output file without restriction.
7# This special exception was added by Craig Small in version 0.37 of dh-make.
8
9# Uncomment this to turn on verbose mode.
10export DH_VERBOSE=1
11
12DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
13TARGET_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator
14BIN_PATH=$(CURDIR)/debian/tmp/usr/bin
15%:
16 dh $@
17
18override_dh_installdirs:
19 mkdir -p $(BIN_PATH)
20 echo "#!/bin/bash" > $(BIN_PATH)/ubuntu-qtcreator
21 echo "QT_PLUGIN_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator/qt5/plugins qtcreator" >> $(BIN_PATH)/ubuntu-qtcreator
22 chmod +x $(BIN_PATH)/ubuntu-qtcreator
23
24 mkdir -p $(TARGET_PATH)
25 cp -dr /usr/lib/$(DEB_HOST_MULTIARCH)/qt5 $(TARGET_PATH)
26 cp -d /usr/lib/$(DEB_HOST_MULTIARCH)/libQt5*so* $(TARGET_PATH)
27
280
=== removed directory 'qt5libs/debian/source'
=== removed file 'qt5libs/debian/source/format'
--- qt5libs/debian/source/format 2013-02-15 15:03:23 +0000
+++ qt5libs/debian/source/format 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
13.0 (native)
20
=== removed file 'qt5libs/debian/source/include-binaries'
--- qt5libs/debian/source/include-binaries 2013-02-15 15:03:23 +0000
+++ qt5libs/debian/source/include-binaries 1970-01-01 00:00:00 +0000
@@ -1,331 +0,0 @@
1usr
2usr/lib
3usr/lib/x86_64-linux-gnu
4usr/lib/x86_64-linux-gnu/qtcreator
5usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5.0.1
6usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5.0
7usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so
8usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5.0.1
9usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5.0.1
10usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so
11usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so
12usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5.0
13usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so
14usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5.0
15usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5.0
16usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5.0
17usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5.0.1
18usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so
19usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so
20usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5
21usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so
22usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5
23usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5.0.1
24usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5
25usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5.0
26usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5.0.1
27usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so.5
28usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5.0
29usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5
30usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so
31usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5.0.1
32usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5
33usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5.0
34usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5
35usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5
36usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5.0.1
37usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5.0
38usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5.0
39usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5
40usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5.0.1
41usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5
42usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5.0.1
43usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so.5
44usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so
45usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5
46usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so
47usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5
48usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5.0.1
49usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5.0
50usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so
51usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5.0.1
52usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5.0
53usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so
54usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5.0
55usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5.0.1
56usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5.0
57usr/lib/x86_64-linux-gnu/qtcreator/libQt5CLucene.so
58usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5
59usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5.0
60usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so
61usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so
62usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5.0.1
63usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so
64usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so
65usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5
66usr/lib/x86_64-linux-gnu/qtcreator/libQt5Location.so.5.0.0
67usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5.0
68usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so
69usr/lib/x86_64-linux-gnu/qtcreator/libQt5Network.so.5.0
70usr/lib/x86_64-linux-gnu/qtcreator/libQt5Concurrent.so
71usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sql.so.5
72usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5.0
73usr/lib/x86_64-linux-gnu/qtcreator/libQt5XmlPatterns.so.5.0.1
74usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5
75usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5
76usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so
77usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKitWidgets.so.5.0.1
78usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5
79usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5.0.1
80usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5.0
81usr/lib/x86_64-linux-gnu/qtcreator/libQt5OpenGL.so.5.0
82usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5.0
83usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so
84usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5.0.1
85usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5.0.0
86usr/lib/x86_64-linux-gnu/qtcreator/libQt5Gui.so.5
87usr/lib/x86_64-linux-gnu/qtcreator/libQt5DBus.so.5
88usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.prl
89usr/lib/x86_64-linux-gnu/qtcreator/libQt53D.so.5.0
90usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5.0
91usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so.5.0
92usr/lib/x86_64-linux-gnu/qtcreator/libQt5PrintSupport.so.5
93usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5.0.1
94usr/lib/x86_64-linux-gnu/qtcreator/libQt5Quick.so.5.0.1
95usr/lib/x86_64-linux-gnu/qtcreator/libQt5Script.so.5
96usr/lib/x86_64-linux-gnu/qtcreator/libQt5V8.so
97usr/lib/x86_64-linux-gnu/qtcreator/libQt5Help.so.5
98usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so.5.0.1
99usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickTest.so.5.0.1
100usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so.5.0
101usr/lib/x86_64-linux-gnu/qtcreator/libQt5Core.so.5.0
102usr/lib/x86_64-linux-gnu/qtcreator/libQt5Declarative.so.5.0.1
103usr/lib/x86_64-linux-gnu/qtcreator/libQt5DesignerComponents.so.5.0.1
104usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5.0.0
105usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5.0.1
106usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5.0
107usr/lib/x86_64-linux-gnu/qtcreator/libQt5Qml.so.5.0
108usr/lib/x86_64-linux-gnu/qtcreator/libQt5Xml.so.5
109usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5
110usr/lib/x86_64-linux-gnu/qtcreator/qt5
111usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec
112usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec/QtWebPluginProcess
113usr/lib/x86_64-linux-gnu/qtcreator/qt5/libexec/QtWebProcess
114usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin
115usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/uic
116usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/rcc
117usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/moc
118usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qml1plugindump
119usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lrelease
120usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlprofiler
121usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lconvert
122usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmake
123usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbusviewer
124usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbusxml2cpp
125usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbuscpp2xml
126usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qhelpconverter
127usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/syncqt
128usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdbus
129usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/xmlpatterns
130usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qhelpgenerator
131usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlplugindump
132usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmltestrunner
133usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/lupdate
134usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qcollectiongenerator
135usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/designer
136usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/pixeltool
137usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlbundle
138usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlmin
139usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/linguist
140usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/assistant
141usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qmlviewer
142usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/qdoc
143usr/lib/x86_64-linux-gnu/qtcreator/qt5/bin/xmlpatternsvalidator
144usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml
145usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors
146usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/qmldir
147usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/libdeclarative_sensors.so
148usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtSensors/plugins.qmltypes
149usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2
150usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/qmldir
151usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/libqtquick2plugin.so
152usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick.2/plugins.qmltypes
153usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu
154usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components
155usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/qmldir
156usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageStack.qml
157usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/AnimatedItem.qml
158usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/UbuntuShape.qml
159usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/sliderUtils.js
160usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups
161usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/qmldir
162usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/SheetBase.qml
163usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Pointer.qml
164usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Popover.qml
165usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/ubuntu-components-popups.qdoc
166usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/internalPopupUtils.js
167usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/Dialog.qml
168usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/DefaultSheet.qml
169usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/ComposerSheet.qml
170usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/popupUtils.js
171usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Popups/PopupBase.qml
172usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Label.qml
173usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Page.qml
174usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ModelSectionCounter.qml
175usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/scrollbarUtils.js
176usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/mathUtils.js
177usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Tabs.qml
178usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Scrollbar.qml
179usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ActivityIndicator.qml
180usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/componentUtils.js
181usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/plugins.qmltypes
182usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextArea.qml
183usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Object.qml
184usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/libUbuntuComponents.so
185usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ActionList.qml
186usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Toolbar.qml
187usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ProgressBar.qml
188usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextField.qml
189usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TextCustom.qml
190usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Action.qml
191usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Slider.qml
192usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ToolbarActions.qml
193usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageWrapperUtils.js
194usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/CheckBox.qml
195usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Button.qml
196usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork
197usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarTrackerIndeterminate@8.png
198usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicator@8.png
199usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarTracker@8.png
200usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/back@18.png
201usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ProgressBarBackground@8.png
202usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicatorCentre@8.png
203usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/artwork/ActivityIndicatorMoving@8.png
204usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/MainView.qml
205usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Header.qml
206usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/TabButton.qml
207usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/fontUtils.js
208usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/stack.js
209usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems
210usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/qmldir
211usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml
212usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/MultiValue.qml
213usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Base.qml
214usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/SingleValue.qml
215usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml
216usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Standard.qml
217usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Divider.qml
218usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ubuntu-components-listitems.qdoc
219usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ImageWithFallback.qml
220usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Subtitled.qml
221usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Empty.qml
222usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork
223usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDivider6px@8.png
224usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDivider24px@8.png
225usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow@8.png
226usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDividerVertical@18.png
227usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemDividerHorizontal@18.png
228usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Header.qml
229usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ProgressionVisual.qml
230usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/IconVisual.qml
231usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/ThinDivider.qml
232usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/Caption.qml
233usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/ListItems/LabelVisual.qml
234usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/DraggingArea.qml
235usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Tab.qml
236usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/PageWrapper.qml
237usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/Switch.qml
238usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/GenericToolbar.qml
239usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/Ubuntu/Components/AbstractButton.qml
240usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest
241usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/qmldir
242usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/testlogger.js
243usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/TestCase.qml
244usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/plugins.qmltypes
245usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/libqmltestplugin.so
246usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtTest/SignalSpy.qml
247usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation
248usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/qmldir
249usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/libdeclarative_location.so
250usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtLocation/plugins.qmltypes
251usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick
252usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel
253usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/qmldir
254usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/plugins.qmltypes
255usr/lib/x86_64-linux-gnu/qtcreator/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
256usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins
257usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/geoservices
258usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/geoservices/libqtgeoservices_nokia.so
259usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer
260usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqnmbearer.so
261usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqconnmanbearer.so
262usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/bearer/libqgenericbearer.so
263usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/printsupport
264usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/printsupport/libcupsprintersupport.so
265usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic
266usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevtouchplugin.so
267usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevmouseplugin.so
268usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevkeyboardplugin.so
269usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/generic/libqevdevtabletplugin.so
270usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats
271usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqico.so
272usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqgif.so
273usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/imageformats/libqjpeg.so
274usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sqldrivers
275usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sqldrivers/libqsqlite.so
276usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling
277usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_qtquick2.so
278usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_tcp_qtdeclarative.so
279usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_inspector.so
280usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/qmltooling/libqmldbg_tcp.so
281usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts
282usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts/libmaliitplatforminputcontextplugin.so
283usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
284usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible
285usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible/libqtaccessiblequick.so
286usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/accessible/libqtaccessiblewidgets.so
287usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms
288usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqlinuxfb.so
289usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqxcb.so
290usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/platforms/libqminimal.so
291usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/position
292usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/position/libqtposition_geoclue.so
293usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors
294usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_generic.so
295usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_dummy.so
296usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensors/libqtsensors_linuxsys.so
297usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures
298usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so
299usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so
300usr/lib/x86_64-linux-gnu/qtcreator/qt5/plugins/sensorgestures/libqtsensorgestures_counterplugin.so
301usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports
302usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt
303usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs
304usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures
305usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/qmldir
306usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/plugins.qmltypes
307usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/gestures/libqmlgesturesplugin.so
308usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders
309usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/qmldir
310usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/plugins.qmltypes
311usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/shaders/libqmlshadersplugin.so
312usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel
313usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/qmldir
314usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so
315usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/folderlistmodel/plugins.qmltypes
316usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles
317usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/qmldir
318usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/libqmlparticlesplugin.so
319usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/Qt/labs/particles/plugins.qmltypes
320usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit
321usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/qmldir
322usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/plugins.qmltypes
323usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/QtWebKit/libqmlwebkitplugin.so
324usr/lib/x86_64-linux-gnu/qtcreator/qt5/imports/builtins.qmltypes
325usr/lib/x86_64-linux-gnu/qtcreator/libQt5Test.so.5
326usr/lib/x86_64-linux-gnu/qtcreator/libQt5Sensors.so.5
327usr/lib/x86_64-linux-gnu/qtcreator/libQt5ScriptTools.so
328usr/lib/x86_64-linux-gnu/qtcreator/libQt5Designer.so
329usr/lib/x86_64-linux-gnu/qtcreator/libQt5WebKit.so.5
330usr/lib/x86_64-linux-gnu/qtcreator/libQt5Widgets.so.5.0.1
331usr/lib/x86_64-linux-gnu/qtcreator/libQt5QuickParticles.so.5.0
3320
=== removed file 'qt5libs/debian/ubuntu-qtcreator-qt5libs.install'
--- qt5libs/debian/ubuntu-qtcreator-qt5libs.install 2013-02-15 16:04:20 +0000
+++ qt5libs/debian/ubuntu-qtcreator-qt5libs.install 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1usr/lib/*/qtcreator
2usr/bin
30
=== removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot'
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile 2013-05-03 23:00:15 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/Makefile 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1check:
2 cd tests
3 autopilot run qmluitests
40
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml 2013-02-14 11:31:47 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/helloworld.qml 1970-01-01 00:00:00 +0000
@@ -1,37 +0,0 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3
4/*!
5 \brief A Hello World application with a functional tests with autopilot-qt
6*/
7
8MainView {
9 // objectName for functional testing purposes (autopilot-qt5)
10 objectName: "mainView"
11
12 width: units.gu(100)
13 height: units.gu(75)
14
15 Column {
16 anchors.centerIn: parent
17 width: units.gu(40)
18 spacing: units.gu(2)
19
20 Label {
21 id: label
22 objectName: "label"
23
24 text: "Hello.."
25 }
26 Button {
27 objectName: "button"
28 width: parent.width
29
30 text: "Tap me!"
31
32 onClicked: {
33 label.text = "..world!"
34 }
35 }
36 }
37}
380
=== removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests'
=== removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests'
=== removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic'
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py 2013-02-14 11:31:47 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/__init__.py 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1""" A Generic test suite """
20
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py 2013-05-03 23:00:15 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/Generic/test_helloworld.py 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Tests for the Hello World"""
4
5from autopilot.matchers import Eventually
6from textwrap import dedent
7from testtools.matchers import Is, Not, Equals
8from testtools import skip
9import os
10from tests import HelloWorldTestCase
11
12
13class GenericTests(HelloWorldTestCase):
14 """Generic tests for the Hello World"""
15
16 test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../helloworld")
17
18 def test_can_select_mainView(self):
19 """Must be able to select the button."""
20
21 mainView = self.app.select_single('MainView')
22 self.assertThat(mainView, Not(Is(None)))
23 self.assertThat(mainView.visible,Eventually(Equals(True)))
24
25 def test_can_tap_button(self):
26 """Must be able to tap the button"""
27
28 lbl = self.app.select_single(objectName="label")
29 self.assertThat(lbl, Not(Is(None)))
30
31 btn = self.app.select_single(objectName="button")
32 self.assertThat(btn, Not(Is(None)))
33 self.assertThat(btn.visible, Eventually(Equals(True)))
34
35 self.mouse.move_to_object(btn)
36 self.mouse.click()
37
38 self.assertThat(lbl.text, Eventually(Equals("..world!")))
39
400
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py 2013-05-03 23:00:15 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/autopilot/tests/qmluitests/__init__.py 1970-01-01 00:00:00 +0000
@@ -1,54 +0,0 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Hello World autopilot tests."""
4
5from os import remove
6import os.path
7from tempfile import mktemp
8
9from autopilot.matchers import Eventually
10from testtools.matchers import Is, Not, Equals
11from autopilot.introspection.qt import QtIntrospectionTestMixin
12from autopilot.testcase import AutopilotTestCase
13
14
15def get_module_include_path():
16 return os.path.abspath(
17 os.path.join(
18 os.path.dirname(__file__),
19 '..',
20 '..',
21 '..',
22 '..',
23 'modules')
24 )
25
26
27class HelloWorldTestCase(AutopilotTestCase, QtIntrospectionTestMixin):
28
29 """A common test case class that provides several useful methods for the HelloWorld tests."""
30
31 def setUp(self):
32 super(HelloWorldTestCase, self).setUp()
33 self.launch_test_qml()
34
35 def launch_test_qml(self):
36 # If the test class has defined a 'test_qml' class attribute then we
37 # write it to disk and launch it inside the Qml Viewer. If not, then we
38 # silently do nothing (presumably the test has something else planned).
39 if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring):
40 qml_path = mktemp(suffix='.qml')
41 open(qml_path, 'w').write(self.test_qml)
42 self.addCleanup(remove, qml_path)
43
44 self.app = self.launch_test_application(
45 "qmlscene",
46 "-I", get_module_include_path(),
47 qml_path)
48
49 if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring):
50 qml_path = self.test_qml_file
51 self.app = self.launch_test_application(
52 "qmlscene",
53 "-I", get_module_include_path(),
54 qml_path)
550
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/toolbarIcon@8.png'
56Binary 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 differ1Binary 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
=== removed directory 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit'
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile 2013-05-03 23:00:15 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/Makefile 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1check:
2 qmltestrunner
30
=== removed file 'qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml 2013-05-03 23:00:15 +0000
+++ qtcreator/share/qtcreator/templates/wizards/ubuntu/unit/tst_test.qml 1970-01-01 00:00:00 +0000
@@ -1,43 +0,0 @@
1import QtQuick 2.0
2import QtTest 1.0
3import Ubuntu.Components 0.1
4
5// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html
6
7Item {
8 // The objects
9 Button {
10 id: objectUnderTest
11 }
12
13 TestCase {
14 name: "testCase1"
15 when: windowShown
16
17 function init() {
18 console.debug(">> init");
19 console.debug("<< init");
20 }
21
22 function cleanup() {
23 console.debug(">> cleanup");
24 console.debug("<< cleanup");
25 }
26
27 function initTestCase() {
28 console.debug(">> initTestCase");
29 console.debug("<< initTestCase");
30 }
31
32 function cleanupTestCase() {
33 console.debug(">> cleanupTestCase");
34 console.debug("<< cleanupTestCase");
35 }
36
37 function test_exampleTest1() {
38 var expected = true;
39 var result = true;
40 compare(expected,result,"expected did not equal result");
41 }
42 }
43}
440
=== renamed directory 'qtcreator' => 'ubuntu-qtcreator-plugins'
=== added directory 'ubuntu-qtcreator-plugins/debian'
=== added file 'ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install'
--- ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/debian/qtcreator-plugin-ubuntu.install 2013-06-10 18:40:33 +0000
@@ -0,0 +1,4 @@
1debian/ubuntusdk.desktop usr/share/applications
2usr/share/qtcreator/templates/wizards/ubuntu
3usr/share/qtcreator/ubuntu
4usr/lib/*/qtcreator/plugins/Canonical
05
=== added file 'ubuntu-qtcreator-plugins/debian/qtcreator.desktop'
--- ubuntu-qtcreator-plugins/debian/qtcreator.desktop 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/debian/qtcreator.desktop 2013-06-10 18:40:33 +0000
@@ -0,0 +1,10 @@
1[Desktop Entry]
2Exec=qtcreator -noload Ubuntu %F
3Icon=QtProject-qtcreator
4Type=Application
5Terminal=false
6Name=Qt Creator
7GenericName=Integrated Development Environment
8MimeType=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;
9Categories=Qt;Development;IDE;
10InitialPreference=9
011
=== added file 'ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop'
--- ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/debian/ubuntusdk.desktop 2013-06-10 18:40:33 +0000
@@ -0,0 +1,11 @@
1[Desktop Entry]
2Exec=qtcreator -noload Welcome %F
3Icon=QtProject-qtcreator
4Type=Application
5Terminal=false
6Name=Ubuntu SDK
7GenericName=Integrated Development Environment
8MimeType=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;
9Categories=Qt;Development;IDE;
10InitialPreference=9
11Keywords=Ubuntu SDK;SDK;Ubuntu Touch
012
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/static.pro'
--- ubuntu-qtcreator-plugins/share/qtcreator/static.pro 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/static.pro 2013-06-10 18:40:33 +0000
@@ -0,0 +1,126 @@
1include(../../qtcreator.pri)
2
3TEMPLATE = app
4TARGET = phony_target
5CONFIG -= qt separate_debug_info gdb_dwarf_index
6QT =
7LIBS =
8macx:CONFIG -= app_bundle
9
10isEmpty(vcproj) {
11 QMAKE_LINK = @: IGNORE THIS LINE
12 OBJECTS_DIR =
13 win32:CONFIG -= embed_manifest_exe
14} else {
15 CONFIG += console
16 PHONY_DEPS = .
17 phony_src.input = PHONY_DEPS
18 phony_src.output = phony.c
19 phony_src.variable_out = GENERATED_SOURCES
20 phony_src.commands = echo int main() { return 0; } > phony.c
21 phony_src.name = CREATE phony.c
22 phony_src.CONFIG += combine
23 QMAKE_EXTRA_COMPILERS += phony_src
24}
25
26DATA_DIRS = \
27 welcomescreen \
28 examplebrowser \
29 snippets \
30 templates \
31 designer \
32 schemes \
33 styles \
34 rss \
35 dumper \
36 qmldesigner \
37 qmlicons \
38 qml \
39 qml-type-descriptions \
40 generic-highlighter \
41 glsl \
42 ubuntu
43
44macx: DATA_DIRS += scripts
45
46for(data_dir, DATA_DIRS) {
47 files = $$files($$PWD/$$data_dir/*, true)
48 win32:files ~= s|\\\\|/|g
49 for(file, files):!contains(file, ".*/Info\\.plist\\.in$"):!exists($$file/*):FILES += $$file
50}
51OTHER_FILES += $$FILES
52
53# conditionally deployed data
54!isEmpty(copydata) {
55 copy2build.input = FILES
56 copy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcDir}
57 isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS
58 win32:copy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\"
59 unix:copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
60 copy2build.name = COPY ${QMAKE_FILE_IN}
61 copy2build.CONFIG += no_link
62 QMAKE_EXTRA_COMPILERS += copy2build
63}
64
65!macx {
66 for(data_dir, DATA_DIRS) {
67 eval($${data_dir}.files = $$quote($$PWD/$$data_dir))
68 eval($${data_dir}.path = $$QTC_PREFIX/share/qtcreator)
69 INSTALLS += $$data_dir
70 }
71} else {
72 # do version magic for app bundles
73 dumpinfo.input = qml/qmldump/Info.plist.in
74 dumpinfo.output = $$IDE_DATA_PATH/qml/qmldump/Info.plist
75 QMAKE_SUBSTITUTES += dumpinfo
76 observerinfo.input = qml/qmlobserver/Info.plist.in
77 observerinfo.output = $$IDE_DATA_PATH/qml/qmlobserver/Info.plist
78 QMAKE_SUBSTITUTES += observerinfo
79}
80
81SRCRESOURCEDIR = $$IDE_SOURCE_TREE/src/share/qtcreator/
82defineReplace(stripSrcResourceDir) {
83 win32 {
84 !contains(1, ^.:.*):1 = $$OUT_PWD/$$1
85 } else {
86 !contains(1, ^/.*):1 = $$OUT_PWD/$$1
87 }
88 out = $$cleanPath($$1)
89 out ~= s|^$$re_escape($$SRCRESOURCEDIR)||$$i_flag
90 return($$out)
91}
92
93# files that are to be unconditionally "deployed" to the build dir from src/share to share
94DATA_DIRS = \
95 externaltools
96DATA_FILES_SRC = \
97 externaltools/lrelease.xml \
98 externaltools/lupdate.xml \
99 externaltools/sort.xml \
100 externaltools/qmlviewer.xml \
101 externaltools/qmlscene.xml
102unix {
103 macx:DATA_FILES_SRC += externaltools/vi_mac.xml
104 else:DATA_FILES_SRC += externaltools/vi.xml
105} else {
106 DATA_FILES_SRC += externaltools/notepad_win.xml
107}
108for(file, DATA_FILES_SRC):DATA_FILES += $${SRCRESOURCEDIR}$$file
109OTHER_FILES += $$DATA_FILES
110unconditionalCopy2build.input = DATA_FILES
111unconditionalCopy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcResourceDir}
112isEmpty(vcproj):unconditionalCopy2build.variable_out = PRE_TARGETDEPS
113win32:unconditionalCopy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\"
114unix:unconditionalCopy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
115unconditionalCopy2build.name = COPY ${QMAKE_FILE_IN}
116unconditionalCopy2build.CONFIG += no_link
117QMAKE_EXTRA_COMPILERS += unconditionalCopy2build
118
119!macx {
120 for(data_dir, DATA_DIRS) {
121 eval($${data_dir}.files = $$IDE_DATA_PATH/$$data_dir)
122 eval($${data_dir}.path = $$QTC_PREFIX/share/qtcreator)
123 eval($${data_dir}.CONFIG += no_check_exist)
124 INSTALLS += $$data_dir
125 }
126}
0127
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/backend/backend.h'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/backend/backend.h 2013-04-23 14:15:56 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/backend/backend.h 2013-06-10 18:40:33 +0000
@@ -4,6 +4,27 @@
4#include <QtQml/QQmlEngine>4#include <QtQml/QQmlEngine>
5#include <QtQml/QQmlExtensionPlugin>5#include <QtQml/QQmlExtensionPlugin>
66
7/*
8 ----8<-----
9
10 import %DISPLAYNAME% 1.0
11
12 Rectangle {
13 width: 200
14 height: 200
15
16 MyType {
17 id: helloType
18 }
19
20 Text {
21 anchors.centerIn: parent
22 text: helloType.helloworld
23 }
24 }
25
26 -----8<------
27*/
7class BackendPlugin : public QQmlExtensionPlugin28class BackendPlugin : public QQmlExtensionPlugin
8{29{
9 Q_OBJECT30 Q_OBJECT
1031
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/projectypes.json'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/projectypes.json 2013-05-03 23:00:15 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/projectypes.json 2013-06-10 18:40:33 +0000
@@ -6,9 +6,28 @@
6 "id": "UbuntuAppSimple",6 "id": "UbuntuAppSimple",
7 "description": "A simple Ubuntu UI with a Label and a Button",7 "description": "A simple Ubuntu UI with a Label and a Button",
8 "mainFile" : "main.qml",8 "mainFile" : "main.qml",
9 "hasTests" : true,
9 "files": [10 "files": [
10 {11 {
11 "fileName": "displayName.desktop"12 "fileName": "displayName.desktop"
13 },
14 {
15 "fileName": "tests/unit/tst_hellocomponent.qml"
16 },
17 {
18 "fileName": "components/HelloComponent.qml"
19 },
20 {
21 "fileName": "Makefile"
22 },
23 {
24 "fileName": "tests/autopilot/uitests/main/test_main.py"
25 },
26 {
27 "fileName": "tests/autopilot/uitests/__init__.py"
28 },
29 {
30 "fileName": "tests/autopilot/uitests/main/__init__.py"
12 }31 }
13 ]32 ]
14 },33 },
@@ -19,12 +38,40 @@
19 "id": "UbuntuAppTabs",38 "id": "UbuntuAppTabs",
20 "description": "A multi-page UI using the Tabs component",39 "description": "A multi-page UI using the Tabs component",
21 "mainFile" : "main.qml",40 "mainFile" : "main.qml",
41 "hasTests" : true,
22 "files": [42 "files": [
23 {43 {
24 "fileName": "toolbarIcon@8.png"44 "fileName": "graphics/toolbarIcon@8.png"
25 },45 },
26 {46 {
27 "fileName": "displayName.desktop"47 "fileName": "displayName.desktop"
48 },
49 {
50 "fileName": "tests/unit/tst_hellocomponent.qml"
51 },
52 {
53 "fileName": "components/HelloComponent.qml"
54 },
55 {
56 "fileName": "ui/WorldTabTools.qml"
57 },
58 {
59 "fileName": "ui/WorldTab.qml"
60 },
61 {
62 "fileName": "ui/HelloTab.qml"
63 },
64 {
65 "fileName": "Makefile"
66 },
67 {
68 "fileName": "tests/autopilot/uitests/main/test_main.py"
69 },
70 {
71 "fileName": "tests/autopilot/uitests/__init__.py"
72 },
73 {
74 "fileName": "tests/autopilot/uitests/main/__init__.py"
28 }75 }
29 ]76 ]
30 },77 },
@@ -60,40 +107,5 @@
60 { "fileName": "mytype.cpp" },107 { "fileName": "mytype.cpp" },
61 { "fileName": "qmldir" }108 { "fileName": "qmldir" }
62 ]109 ]
63 },
64 {
65 "type": "qmlproject",
66 "folder": "unit",
67 "displayName": "Unit Test with QML",
68 "id": "UbuntuTestQML",
69 "description": "A QML based unit test case template",
70 "mainFile" : "tst_test.qml",
71 "files": [
72 {
73 "fileName": "Makefile"
74 }
75 ]
76 },
77 {
78 "type": "autopilotproject",
79 "folder": "autopilot",
80 "displayName": "Functional Tests with Autopilot",
81 "id": "UbuntuTestAutopilot",
82 "description": "A Python based functional test case template for a simple QML UI",
83 "mainFile" : "helloworld.qml",
84 "files": [
85 {
86 "fileName": "Makefile"
87 },
88 {
89 "fileName": "tests/qmluitests/Generic/test_helloworld.py"
90 },
91 {
92 "fileName": "tests/qmluitests/__init__.py"
93 },
94 {
95 "fileName": "tests/qmluitests/Generic/__init__.py"
96 }
97 ]
98 }110 }
99]111]
100112
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/Makefile 2013-06-10 18:40:33 +0000
@@ -0,0 +1,18 @@
1# More information: https://wiki.ubuntu.com/Touch/Testing
2#
3# Notes for autopilot tests:
4# -----------------------------------------------------------
5# In order to run autopilot tests:
6# sudo apt-add-repository ppa:autopilot/ppa
7# sudo apt-get update
8# sudo apt-get install python-autopilot autopilot-qt
9#############################################################
10
11autopilot:
12 cd tests/autopilot; autopilot run uitests
13
14check:
15 qmltestrunner -input tests/unit
16
17run:
18 /usr/bin/qmlscene $@ %DISPLAYNAME%.qml
019
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/components/HelloComponent.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,14 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3
4UbuntuShape {
5 width: 200
6 height: width
7
8 property alias text : myText.text
9
10 Label {
11 id: myText
12 anchors.centerIn: parent
13 }
14}
015
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/main.qml'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/simple/main.qml 2013-05-03 21:22:40 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/main.qml 2013-06-10 18:40:33 +0000
@@ -1,5 +1,6 @@
1import QtQuick 2.01import QtQuick 2.0
2import Ubuntu.Components 0.12import Ubuntu.Components 0.1
3import "components"
34
4/*!5/*!
5 \brief MainView with a Label and Button elements.6 \brief MainView with a Label and Button elements.
@@ -16,7 +17,7 @@
16 This property enables the application to change orientation 17 This property enables the application to change orientation
17 when the device is rotated. The default is false.18 when the device is rotated. The default is false.
18 */19 */
19 automaticOrientation: true20 //automaticOrientation: true
2021
21 width: units.gu(100)22 width: units.gu(100)
22 height: units.gu(75)23 height: units.gu(75)
@@ -31,12 +32,13 @@
31 fill: parent32 fill: parent
32 }33 }
3334
34 Label {35 HelloComponent {
35 id: label36 id: label
36 objectName: "label"37 objectName: "label"
3738
38 text: i18n.tr("Hello..")39 text: i18n.tr("Hello..")
39 }40 }
41
40 Button {42 Button {
41 objectName: "button"43 objectName: "button"
42 width: parent.width44 width: parent.width
4345
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests'
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot'
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/__init__.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,129 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Ubuntu Touch App autopilot tests."""
4
5from os import remove
6import os.path
7from tempfile import mktemp
8import subprocess
9
10from autopilot.input import Mouse, Touch, Pointer
11from autopilot.matchers import Eventually
12from autopilot.platform import model
13from testtools.matchers import Is, Not, Equals
14from autopilot.testcase import AutopilotTestCase
15
16def get_module_include_path():
17 return os.path.abspath(
18 os.path.join(
19 os.path.dirname(__file__),
20 '..',
21 '..',
22 '..',
23 '..',
24 'modules')
25 )
26
27
28class UbuntuTouchAppTestCase(AutopilotTestCase):
29 """A common test case class that provides several useful methods for the tests."""
30
31 if model() == 'Desktop':
32 scenarios = [
33 ('with mouse', dict(input_device_class=Mouse))
34 ]
35 else:
36 scenarios = [
37 ('with touch', dict(input_device_class=Touch))
38 ]
39
40 @property
41 def main_window(self):
42 return MainWindow(self.app)
43
44
45 def setUp(self):
46 self.pointing_device = Pointer(self.input_device_class.create())
47 super(UbuntuTouchAppTestCase, self).setUp()
48 self.launch_test_qml()
49
50
51 def launch_test_qml(self):
52 # If the test class has defined a 'test_qml' class attribute then we
53 # write it to disk and launch it inside the QML Scene. If not, then we
54 # silently do nothing (presumably the test has something else planned).
55 arch = subprocess.check_output(["dpkg-architecture",
56 "-qDEB_HOST_MULTIARCH"]).strip()
57 if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring):
58 qml_path = mktemp(suffix='.qml')
59 open(qml_path, 'w').write(self.test_qml)
60 self.addCleanup(remove, qml_path)
61
62 self.app = self.launch_test_application(
63 "/usr/lib/" + arch + "/qt5/bin/qmlscene",
64 "-I", get_module_include_path(),
65 qml_path)
66
67 if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring):
68 qml_path = self.test_qml_file
69 self.app = self.launch_test_application(
70 "/usr/lib/" + arch + "/qt5/bin/qmlscene",
71 "-I", get_module_include_path(),
72 qml_path)
73
74 self.assertThat(self.get_qml_view().visible, Eventually(Equals(True)))
75
76
77 def get_qml_view(self):
78 """Get the main QML view"""
79
80 return self.app.select_single("QQuickView")
81
82 def get_mainview(self):
83 """Get the QML MainView"""
84
85 mainView = self.app.select_single("MainView")
86 self.assertThat(mainView, Not(Is(None)))
87 return mainView
88
89
90 def get_object(self,objectName):
91 """Get a object based on the objectName"""
92
93 obj = self.app.select_single(objectName=objectName)
94 self.assertThat(obj, Not(Is(None)))
95 return obj
96
97
98 def mouse_click(self,objectName):
99 """Move mouse on top of the object and click on it"""
100
101 obj = self.get_object(objectName)
102 self.pointing_device.move_to_object(obj)
103 self.pointing_device.click()
104
105
106 def mouse_press(self,objectName):
107 """Move mouse on top of the object and press mouse button (without releasing it)"""
108
109 obj = self.get_object(objectName)
110 self.pointing_device.move_to_object(obj)
111 self.pointing_device.press()
112
113
114 def mouse_release(self):
115 """Release mouse button"""
116
117 self.pointing_device.release()
118
119
120 def type_string(self, string):
121 """Type a string with keyboard"""
122
123 self.keyboard.type(string)
124
125
126 def type_key(self, key):
127 """Type a single key with keyboard"""
128
129 self.keyboard.key(key)
0130
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/__init__.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,1 @@
1""" A Generic test suite """
02
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/autopilot/uitests/main/test_main.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,38 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Tests for the Hello World"""
4
5from autopilot.matchers import Eventually
6from textwrap import dedent
7from testtools.matchers import Is, Not, Equals
8from testtools import skip
9import os
10from uitests import HelloWorldTestCase
11
12
13class GenericTests(HelloWorldTestCase):
14 """Generic tests for the Hello World"""
15
16 test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../../%DISPLAYNAME%")
17
18 def test_0_can_select_mainView(self):
19 """Must be able to select the mainview."""
20
21 mainView = self.get_mainview()
22 self.assertThat(mainView.visible,Eventually(Equals(True)))
23
24
25 def test_1_init_label(self):
26 """Check the initial text of the label"""
27
28 lbl = self.get_object(objectName="label")
29 self.assertThat(lbl.text, Equals("Hello.."))
30
31
32 def test_can_tap_button(self):
33 """Must be able to tap the button"""
34
35 lbl = self.get_object(objectName="label")
36 self.mouse_click(objectName="button")
37 self.assertThat(lbl.text, Eventually(Equals("..world!")))
38
039
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/simple/tests/unit/tst_hellocomponent.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,49 @@
1import QtQuick 2.0
2import QtTest 1.0
3import Ubuntu.Components 0.1
4import "../../components"
5
6// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html
7
8// Execute tests with:
9// qmltestrunner
10
11Item {
12 // The objects
13 HelloComponent {
14 id: objectUnderTest
15 }
16
17 TestCase {
18 name: "HelloComponent"
19
20 function init() {
21 console.debug(">> init");
22 compare("",objectUnderTest.text,"text was not empty on init");
23 console.debug("<< init");
24 }
25
26 function cleanup() {
27 console.debug(">> cleanup");
28 console.debug("<< cleanup");
29 }
30
31 function initTestCase() {
32 console.debug(">> initTestCase");
33 console.debug("<< initTestCase");
34 }
35
36 function cleanupTestCase() {
37 console.debug(">> cleanupTestCase");
38 console.debug("<< cleanupTestCase");
39 }
40
41 function test_canReadAndWriteText() {
42 var expected = "Hello World";
43
44 objectUnderTest.text = expected;
45
46 compare(expected,objectUnderTest.text,"expected did not equal result");
47 }
48 }
49}
050
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/Makefile 2013-06-10 18:40:33 +0000
@@ -0,0 +1,18 @@
1# More information: https://wiki.ubuntu.com/Touch/Testing
2#
3# Notes for autopilot tests:
4# -----------------------------------------------------------
5# In order to run autopilot tests:
6# sudo apt-add-repository ppa:autopilot/ppa
7# sudo apt-get update
8# sudo apt-get install python-autopilot autopilot-qt
9#############################################################
10
11autopilot:
12 cd tests/autopilot; autopilot run uitests
13
14check:
15 qmltestrunner -input tests/unit
16
17run:
18 /usr/bin/qmlscene $@ %DISPLAYNAME%.qml
019
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/components/HelloComponent.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,14 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3
4UbuntuShape {
5 width: 200
6 height: width
7
8 property alias text : myText.text
9
10 Label {
11 id: myText
12 anchors.centerIn: parent
13 }
14}
015
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/graphics/toolbarIcon@8.png'
1Binary 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 differ16Binary 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
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml'
--- qtcreator/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml 2013-04-26 17:51:04 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/main.qml 2013-06-10 18:40:33 +0000
@@ -1,5 +1,6 @@
1import QtQuick 2.01import QtQuick 2.0
2import Ubuntu.Components 0.12import Ubuntu.Components 0.1
3import "ui"
34
4/*!5/*!
5 \brief MainView with Tabs element.6 \brief MainView with Tabs element.
@@ -18,7 +19,7 @@
18 This property enables the application to change orientation 19 This property enables the application to change orientation
19 when the device is rotated. The default is false.20 when the device is rotated. The default is false.
20 */21 */
21 automaticOrientation: true22 //automaticOrientation: true
2223
23 width: units.gu(100)24 width: units.gu(100)
24 height: units.gu(75)25 height: units.gu(75)
@@ -26,52 +27,12 @@
26 Tabs {27 Tabs {
27 id: tabs28 id: tabs
2829
29 // First tab begins here30 HelloTab {
30 Tab {31 objectName: "helloTab"
31 objectName: "Tab1"
32
33 title: i18n.tr("Hello..")
34
35 // Tab content begins here
36 page: Page {
37 Column {
38 anchors.centerIn: parent
39 Label {
40 text: i18n.tr("Swipe from right to left to change tab.")
41 }
42 }
43 }
44 }32 }
4533
46 // Second tab begins here34 WorldTab {
47 Tab {35 objectName: "worldTab"
48 objectName: "Tab2"
49
50 title: i18n.tr("..Toolbar!")
51 page: Page {
52 tools: ToolbarActions {
53 Action {
54 objectName: "action"
55
56 iconSource: Qt.resolvedUrl("toolbarIcon.png")
57 text: i18n.tr("Tap me!")
58
59 onTriggered: {
60 label.text = i18n.tr("Toolbar tapped")
61 }
62 }
63 }
64
65 Column {
66 anchors.centerIn: parent
67 Label {
68 id: label
69 objectName: "label"
70
71 text: i18n.tr("Swipe from bottom to up to reveal the toolbar.")
72 }
73 }
74 }
75 }36 }
76 }37 }
77}38}
7839
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests'
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot'
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/__init__.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,129 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Ubuntu Touch App autopilot tests."""
4
5from os import remove
6import os.path
7from tempfile import mktemp
8import subprocess
9
10from autopilot.input import Mouse, Touch, Pointer
11from autopilot.matchers import Eventually
12from autopilot.platform import model
13from testtools.matchers import Is, Not, Equals
14from autopilot.testcase import AutopilotTestCase
15
16def get_module_include_path():
17 return os.path.abspath(
18 os.path.join(
19 os.path.dirname(__file__),
20 '..',
21 '..',
22 '..',
23 '..',
24 'modules')
25 )
26
27
28class UbuntuTouchAppTestCase(AutopilotTestCase):
29 """A common test case class that provides several useful methods for the tests."""
30
31 if model() == 'Desktop':
32 scenarios = [
33 ('with mouse', dict(input_device_class=Mouse))
34 ]
35 else:
36 scenarios = [
37 ('with touch', dict(input_device_class=Touch))
38 ]
39
40 @property
41 def main_window(self):
42 return MainWindow(self.app)
43
44
45 def setUp(self):
46 self.pointing_device = Pointer(self.input_device_class.create())
47 super(UbuntuTouchAppTestCase, self).setUp()
48 self.launch_test_qml()
49
50
51 def launch_test_qml(self):
52 # If the test class has defined a 'test_qml' class attribute then we
53 # write it to disk and launch it inside the QML Scene. If not, then we
54 # silently do nothing (presumably the test has something else planned).
55 arch = subprocess.check_output(["dpkg-architecture",
56 "-qDEB_HOST_MULTIARCH"]).strip()
57 if hasattr(self, 'test_qml') and isinstance(self.test_qml, basestring):
58 qml_path = mktemp(suffix='.qml')
59 open(qml_path, 'w').write(self.test_qml)
60 self.addCleanup(remove, qml_path)
61
62 self.app = self.launch_test_application(
63 "/usr/lib/" + arch + "/qt5/bin/qmlscene",
64 "-I", get_module_include_path(),
65 qml_path)
66
67 if hasattr(self, 'test_qml_file') and isinstance(self.test_qml_file, basestring):
68 qml_path = self.test_qml_file
69 self.app = self.launch_test_application(
70 "/usr/lib/" + arch + "/qt5/bin/qmlscene",
71 "-I", get_module_include_path(),
72 qml_path)
73
74 self.assertThat(self.get_qml_view().visible, Eventually(Equals(True)))
75
76
77 def get_qml_view(self):
78 """Get the main QML view"""
79
80 return self.app.select_single("QQuickView")
81
82 def get_mainview(self):
83 """Get the QML MainView"""
84
85 mainView = self.app.select_single("MainView")
86 self.assertThat(mainView, Not(Is(None)))
87 return mainView
88
89
90 def get_object(self,objectName):
91 """Get a object based on the objectName"""
92
93 obj = self.app.select_single(objectName=objectName)
94 self.assertThat(obj, Not(Is(None)))
95 return obj
96
97
98 def mouse_click(self,objectName):
99 """Move mouse on top of the object and click on it"""
100
101 obj = self.get_object(objectName)
102 self.pointing_device.move_to_object(obj)
103 self.pointing_device.click()
104
105
106 def mouse_press(self,objectName):
107 """Move mouse on top of the object and press mouse button (without releasing it)"""
108
109 obj = self.get_object(objectName)
110 self.pointing_device.move_to_object(obj)
111 self.pointing_device.press()
112
113
114 def mouse_release(self):
115 """Release mouse button"""
116
117 self.pointing_device.release()
118
119
120 def type_string(self, string):
121 """Type a string with keyboard"""
122
123 self.keyboard.type(string)
124
125
126 def type_key(self, key):
127 """Type a single key with keyboard"""
128
129 self.keyboard.key(key)
0130
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/__init__.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,1 @@
1""" A main.qml test suite """
02
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/autopilot/uitests/main/test_main.py 2013-06-10 18:40:33 +0000
@@ -0,0 +1,23 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
3"""Tests for the Hello World"""
4
5from autopilot.matchers import Eventually
6from textwrap import dedent
7from testtools.matchers import Is, Not, Equals
8from testtools import skip
9import os
10from uitests import UbuntuTouchAppTestCase
11
12
13class MainTests(UbuntuTouchAppTestCase):
14 """Generic tests for the Hello World"""
15
16 test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../../%DISPLAYNAME%")
17
18 def test_0_can_select_mainView(self):
19 """Must be able to select the mainview."""
20
21 mainView = self.get_mainview()
22 self.assertThat(mainView.visible,Eventually(Equals(True)))
23
024
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/tests/unit/tst_hellocomponent.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,49 @@
1import QtQuick 2.0
2import QtTest 1.0
3import Ubuntu.Components 0.1
4import "../../components"
5
6// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html
7
8// Execute tests with:
9// qmltestrunner
10
11Item {
12 // The objects
13 HelloComponent {
14 id: objectUnderTest
15 }
16
17 TestCase {
18 name: "HelloComponent"
19
20 function init() {
21 console.debug(">> init");
22 compare("",objectUnderTest.text,"text was not empty on init");
23 console.debug("<< init");
24 }
25
26 function cleanup() {
27 console.debug(">> cleanup");
28 console.debug("<< cleanup");
29 }
30
31 function initTestCase() {
32 console.debug(">> initTestCase");
33 console.debug("<< initTestCase");
34 }
35
36 function cleanupTestCase() {
37 console.debug(">> cleanupTestCase");
38 console.debug("<< cleanupTestCase");
39 }
40
41 function test_canReadAndWriteText() {
42 var expected = "Hello World";
43
44 objectUnderTest.text = expected;
45
46 compare(expected,objectUnderTest.text,"expected did not equal result");
47 }
48 }
49}
050
=== added directory 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui'
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/HelloTab.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,30 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3import "../components"
4
5Tab {
6 title: i18n.tr("Hello..")
7
8 page: Page {
9 Column {
10 spacing: units.gu(2)
11 anchors.centerIn: parent
12
13 HelloComponent {
14 objectName: "helloTab_HelloComponent"
15
16 anchors.horizontalCenter: parent.horizontalCenter
17
18 text: i18n.tr("HelloTab")
19 }
20
21 Label {
22 objectName: "helloTab_label"
23
24 anchors.horizontalCenter: parent.horizontalCenter
25
26 text: i18n.tr("You can change the Tab from Page title above.")
27 }
28 }
29 }
30}
031
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTab.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,35 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3import "../components"
4
5Tab {
6 title: i18n.tr("..World!")
7
8 page: Page {
9 tools: WorldTabTools {
10 objectName: "worldTab_tools"
11 }
12
13 Column {
14 spacing: units.gu(2)
15 anchors.centerIn: parent
16
17 HelloComponent {
18 objectName: "worldTab_HelloComponent"
19
20 anchors.horizontalCenter: parent.horizontalCenter
21
22 text: i18n.tr("WorldTab")
23 }
24
25 Label {
26 id: label
27 objectName: "worldTab_label"
28
29 anchors.horizontalCenter: parent.horizontalCenter
30
31 text: i18n.tr("Swipe from bottom to up to reveal the toolbar.")
32 }
33 }
34 }
35}
036
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/templates/wizards/ubuntu/tabs/ui/WorldTabTools.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,13 @@
1import QtQuick 2.0
2import Ubuntu.Components 0.1
3
4ToolbarActions {
5 Action {
6 iconSource: Qt.resolvedUrl("../graphics/toolbarIcon.png")
7 text: i18n.tr("Tap me!")
8
9 onTriggered: {
10 label.text = i18n.tr("Toolbar tapped")
11 }
12 }
13}
014
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/menu.json'
--- qtcreator/share/qtcreator/ubuntu/menu.json 2013-05-04 21:41:03 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/menu.json 2013-06-10 18:40:33 +0000
@@ -139,6 +139,13 @@
139 "id": "Ubuntu.Menu",139 "id": "Ubuntu.Menu",
140 "parent": "Tools",140 "parent": "Tools",
141 "submenu": [141 "submenu": [
142 {
143 "name": "Ubuntu Touch Showcase Gallery",
144 "id": "Ubuntu.Menu.Showcase",
145 "actions": [
146 "%SCRIPTDIRECTORY%/qtc_launch_gallery"
147 ]
148 },
142 {149 {
143 "name": "Translations",150 "name": "Translations",
144 "id": "Ubuntu.Menu.i18n",151 "id": "Ubuntu.Menu.i18n",
145152
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/device_search'
--- qtcreator/share/qtcreator/ubuntu/scripts/device_search 2013-05-02 00:47:53 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/device_search 2013-06-10 18:40:33 +0000
@@ -15,5 +15,6 @@
15#15#
16# Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>16# Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17set -e;17set -e;
1818adb kill-server &> /dev/null
19adb start-server &> /dev/null
19adb devices -l20adb devices -l
2021
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery'
--- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_launch_gallery 2013-06-10 18:40:33 +0000
@@ -0,0 +1,2 @@
1#!/bin/bash
2/usr/bin/qmlscene $@ /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml &
03
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_project_packaging'
--- qtcreator/share/qtcreator/ubuntu/scripts/qtc_project_packaging 2013-04-25 08:45:39 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_project_packaging 2013-06-10 18:40:33 +0000
@@ -1,3 +1,4 @@
1
1#!/bin/bash2#!/bin/bash
2# Copyright 2013 Canonical Ltd.3# Copyright 2013 Canonical Ltd.
3#4#
45
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings'
--- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/scripts/qtc_read_bazaar_settings 2013-06-10 18:40:33 +0000
@@ -0,0 +1,24 @@
1#!/bin/bash
2
3DEBEMAIL=`grep -G "^DEBEMAIL" ~/.bashrc`
4DEBFULLNAME=`grep -G "^DEBFULLNAME" ~/.bashrc`
5
6if [[ ! -z "$DEBEMAIL" ]]; then
7 export $DEBEMAIL
8else
9 CMD=`grep -G "export DEBEMAIL=" ~/.bashrc|sed "s/\"//g"`
10 if [[ ! -z $CMD ]]; then
11 $CMD
12 fi
13fi
14if [[ ! -z $DEBFULLNAME ]]; then
15 export $DEBFULLNAME
16else
17 CMD=`grep -G "export DEBFULLNAME=" ~/.bashrc|sed "s/\"//g"|sed "s/export DEBFULLNAME=//g"`
18 if [[ ! -z $CMD ]]; then
19 export DEBFULLNAME="$CMD"
20 fi
21fi
22
23echo $DEBFULLNAME
24echo $DEBEMAIL
025
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/Link.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,79 @@
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 2.1.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17 */
18
19import QtQuick 1.0
20
21Rectangle {
22 width: linkTitle.paintedWidth
23 height: 60
24 color: "transparent"
25 opacity: 0.8
26
27 property alias title : linkTitle.text
28 property url link
29 property color defaultColor : "#DD4814"
30 property color hoverColor : "#eee"
31
32 Rectangle {
33 id: background
34 color: hoverColor
35 opacity: 0
36 anchors.fill: parent
37
38 Behavior on opacity {
39 NumberAnimation { duration: 250 }
40 }
41 }
42
43 Text {
44 id: linkTitle
45 anchors.centerIn: parent
46 wrapMode: Text.WordWrap
47 width: parent.width - 20
48 font.family: "Ubuntu"
49 font.pixelSize: 20
50 font.letterSpacing: 1.5
51 color: defaultColor
52 font.weight: Font.Light
53 textFormat: Text.RichText
54 text: ""
55 }
56
57 MouseArea {
58 anchors.fill: parent
59 hoverEnabled: true
60
61 onEntered: {
62 background.opacity = 1;
63 }
64 onExited: {
65 background.opacity = 0;
66 }
67
68 onClicked: {
69 Qt.openUrlExternally(link);
70 }
71 onPressed: {
72 linkTitle.color = Qt.lighter(defaultColor);
73 }
74 onReleased: {
75 linkTitle.color = defaultColor;
76 }
77 }
78
79}
080
=== added file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml'
--- ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/NewsBox.qml 2013-06-10 18:40:33 +0000
@@ -0,0 +1,79 @@
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 2.1.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Author: Juhapekka Piiroinen <juhapekka.piiroinen@canonical.com>
17 */
18import QtQuick 2.0
19import QtQuick.XmlListModel 2.0
20
21ListView {
22
23 clip: true
24
25 property url link
26
27 model: XmlListModel {
28 source: link
29 query: "/rss/channel/item"
30
31 XmlRole { name: "title"; query: "title/string()" }
32 XmlRole { name: "link"; query: "link/string()" }
33 XmlRole { name: "description"; query: "description/string()" }
34 XmlRole { name: "pubDate"; query: "pubDate/string()" }
35 }
36 delegate: Item {
37 id: delegate
38 height: itemContent.height+ 20
39 width: delegate.ListView.view.width
40 Column {
41 id: itemContent
42 width: parent.width
43 Text {
44 text: pubDate
45 font.pixelSize: 10
46 font.family: "Ubuntu"
47 font.weight: Font.Light
48 }
49
50 Text {
51 text: title
52 font.family: "Ubuntu"
53 font.pixelSize: 20
54 font.letterSpacing: 1.5
55 wrapMode: Text.WordWrap
56 font.weight: Font.Light
57 width: parent.width
58 }
59
60 Text {
61 text: description
62 font.family: "Ubuntu"
63 font.pixelSize: 12
64 wrapMode: Text.WordWrap
65 font.weight: Font.Light
66 font.letterSpacing: 1.5
67 width: parent.width
68 textFormat: Text.RichText
69 }
70 }
71 MouseArea {
72 anchors.fill: parent
73 onClicked: {
74 Qt.openUrlExternally(linkText)
75 }
76 }
77 }
78
79}
080
=== modified file 'ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/welcome.qml'
--- qtcreator/share/qtcreator/ubuntu/welcome/welcome.qml 2013-04-08 13:34:07 +0000
+++ ubuntu-qtcreator-plugins/share/qtcreator/ubuntu/welcome/welcome.qml 2013-06-10 18:40:33 +0000
@@ -18,9 +18,13 @@
1818
19import QtQuick 1.119import QtQuick 1.1
2020
21
21Rectangle {22Rectangle {
22 color: "#F7F6F5"23 color: "#F7F6F5"
2324
25 width: maximumWidth
26 height: maximumHeight
27
24 property int maximumWidth : 90028 property int maximumWidth : 900
25 property int maximumHeight: 57929 property int maximumHeight: 579
2630
@@ -31,16 +35,20 @@
31 }35 }
3236
33 Rectangle {37 Rectangle {
34 anchors.centerIn: parent38 anchors.horizontalCenter: parent.horizontalCenter
39 // Commented out until we get Qt 5.1
40 /*anchors.top: parent.top
41 anchors.bottom: parent.bottom*/
42 anchors.verticalCenter: parent.verticalCenter
43 height: maximumHeight
35 width: parent.width>maximumWidth ? maximumWidth : parent.width44 width: parent.width>maximumWidth ? maximumWidth : parent.width
36 height: (parent.height>maximumHeight ? maximumHeight : parent.height) / 1.245 color: "#fff"
37 color: "#FFF"
3846
39 Image {47 Image {
40 anchors.verticalCenter: parent.verticalCenter48 anchors.top: parent.top
49 anchors.topMargin: 10
41 anchors.right: parent.right50 anchors.right: parent.right
42 source: "images/devices.png"51 source: "images/devices.png"
43 height: parent.height
44 width: parent.width/252 width: parent.width/2
45 fillMode: Image.PreserveAspectFit53 fillMode: Image.PreserveAspectFit
46 }54 }
@@ -49,11 +57,13 @@
49 color: "transparent"57 color: "transparent"
50 anchors.margins: 2058 anchors.margins: 20
51 anchors.top: parent.top59 anchors.top: parent.top
60 anchors.topMargin: 40
52 anchors.bottom: parent.bottom61 anchors.bottom: parent.bottom
53 anchors.horizontalCenter: parent.horizontalCenter62 anchors.horizontalCenter: parent.horizontalCenter
54 width: parent.width - anchors.margins*263 width: parent.width - anchors.margins*2
5564
56 Column {65 Column {
66 id: headerColumn
57 spacing: 2067 spacing: 20
58 anchors.top: parent.top68 anchors.top: parent.top
59 anchors.left: parent.left69 anchors.left: parent.left
@@ -81,42 +91,29 @@
81 }91 }
8292
83 Column {93 Column {
84 anchors.verticalCenter: parent.verticalCenter94 id: topLinks
85 spacing: 595 anchors.topMargin: 50
86 Text {96 anchors.top: headerColumn.bottom
87 wrapMode: Text.WordWrap97 width: parent.width
98 spacing: 5
99
100 Link {
88 width: parent.width101 width: parent.width
89 font.family: "Ubuntu"102 title: "Design something beautiful &gt;"
90 font.pixelSize: 20103 link: "http://design.ubuntu.com/apps"
91 font.letterSpacing: 1.5
92 font.weight: Font.Light
93 textFormat: Text.RichText
94 text: "<a style=\"text-decoration: none; color: #DD4814\" href=\"http://design.ubuntu.com/apps\">Design something beautiful &gt;</a>"
95 onLinkActivated: {
96 Qt.openUrlExternally(link);
97 }
98 }104 }
99105
100 Text {106 Link {
101 id: demo
102 wrapMode: Text.WordWrap
103 width: parent.width107 width: parent.width
104 font.family: "Ubuntu"108 title: "Build something solid &gt;"
105 font.pixelSize: 20109 link: "http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html"
106 font.letterSpacing: 1.5
107 font.weight: Font.Light
108 textFormat: Text.RichText
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 &gt;</a>"
110 onLinkActivated: {
111 Qt.openUrlExternally(link);
112 }
113
114 }110 }
115 }111 }
116
117 Column {112 Column {
118 anchors.bottom: parent.bottom113 id: bottomBox
114 anchors.top: topLinks.bottom
119 anchors.left: parent.left115 anchors.left: parent.left
116 anchors.topMargin: 20
120117
121 width: parent.width118 width: parent.width
122 spacing: 5119 spacing: 5
@@ -134,15 +131,45 @@
134 width: parent.width131 width: parent.width
135 font.family: "Ubuntu"132 font.family: "Ubuntu"
136 font.pixelSize: 18133 font.pixelSize: 18
134 textFormat: Text.RichText
137 font.weight: Font.Light135 font.weight: Font.Light
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."
139 onLinkActivated: {137 onLinkActivated: {
140 Qt.openUrlExternally(link);138 Qt.openUrlExternally(link);
141 }139 }
142 }140 }
143
144 }141 }
145142
143 /*
144 Commented out until we get Qt 5.1
145
146 Row {
147 anchors.top: bottomBox.bottom
148 anchors.horizontalCenter: parent.horizontalCenter
149 anchors.bottom: parent.bottom
150 anchors.right: parent.right
151 anchors.margins: 10
152 anchors.topMargin: 20
153 spacing: 20
154
155 NewsBox {
156 height: parent.height
157 width: parent.width/2
158
159 link: "http://developer.ubuntu.com/feed/"
160 }
161
162 NewsBox {
163 height: parent.height
164 width: parent.width/2
165
166 link: "http://developer.ubuntu.com/category/event/feed/"
167 }
168 }*/
169
170
171
172
146 }173 }
147 }174 }
148}175}
149176
=== added file 'ubuntu-qtcreator-plugins/src/plugins/plugins.pro'
--- ubuntu-qtcreator-plugins/src/plugins/plugins.pro 1970-01-01 00:00:00 +0000
+++ ubuntu-qtcreator-plugins/src/plugins/plugins.pro 2013-06-10 18:40:33 +0000
@@ -0,0 +1,361 @@
1# USE .subdir AND .depends !
2# OTHERWISE PLUGINS WILL BUILD IN WRONG ORDER (DIRECTORIES ARE COMPILED IN PARALLEL)
3
4TEMPLATE = subdirs
5
6SUBDIRS = plugin_coreplugin \
7 plugin_welcome \
8 plugin_find \
9 plugin_texteditor \
10 plugin_cppeditor \
11 plugin_bineditor \
12 plugin_diffeditor \
13 plugin_imageviewer \
14 plugin_bookmarks \
15 plugin_projectexplorer \
16 plugin_vcsbase \
17 plugin_perforce \
18 plugin_subversion \
19 plugin_git \
20 plugin_cvs \
21 plugin_cpptools \
22 plugin_qtsupport \
23 plugin_qt4projectmanager \
24 plugin_locator \
25 plugin_debugger \
26 plugin_help \
27 plugin_cpaster \
28 plugin_cmakeprojectmanager \
29 plugin_autotoolsprojectmanager \
30 plugin_fakevim \
31 plugin_designer \
32 plugin_resourceeditor \
33 plugin_genericprojectmanager \
34 plugin_qmljseditor \
35 plugin_glsleditor \
36 plugin_mercurial \
37 plugin_bazaar \
38 plugin_classview \
39 plugin_tasklist \
40 plugin_analyzerbase \
41 plugin_qmljstools \
42 plugin_macros \
43 debugger/dumper.pro \
44 plugin_remotelinux \
45 plugin_android \
46 plugin_madde \
47 plugin_valgrind \
48 plugin_todo \
49 plugin_qnx \
50 plugin_ubuntu
51
52exists(../shared/qbs/qbs.pro):SUBDIRS += plugin_qbsprojectmanager
53
54isEmpty(IDE_PACKAGE_MODE) {
55 SUBDIRS += plugin_helloworld \
56 plugin_updateinfo
57} else:!isEmpty(UPDATEINFO_ENABLE) {
58 SUBDIRS += plugin_updateinfo
59}
60linux-* {
61 SUBDIRS += debugger/ptracepreload.pro
62}
63!macx:SUBDIRS += plugin_clearcase
64
65include(../../qtcreator.pri)
66
67contains(QT_CONFIG, declarative)|!isEmpty(QT.declarative.name) {
68 SUBDIRS += \
69 plugin_qmlprojectmanager \
70 plugin_qmlprofiler
71
72 greaterThan(QT_MAJOR_VERSION, 4) {
73 SUBDIRS += plugin_qmldesigner
74 } else {
75 include(../private_headers.pri)
76 exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
77 SUBDIRS += plugin_qmldesigner
78 } else {
79 warning("QmlDesigner plugin has been disabled.")
80 warning("The plugin depends on private headers from QtDeclarative module.")
81 warning("To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
82 }
83 }
84} else {
85 warning("QmlProjectManager, QmlProfiler and QmlDesigner plugins have been disabled: The plugins require QtDeclarative");
86}
87
88include (debugger/lldb/guest/qtcreator-lldb.pri)
89
90plugin_coreplugin.subdir = coreplugin
91
92plugin_updateinfo.subdir = updateinfo
93plugin_updateinfo.depends = plugin_coreplugin
94
95plugin_welcome.subdir = welcome
96plugin_welcome.depends = plugin_coreplugin
97plugin_welcome.depends += plugin_projectexplorer
98
99plugin_find.subdir = find
100plugin_find.depends += plugin_coreplugin
101
102plugin_texteditor.subdir = texteditor
103plugin_texteditor.depends = plugin_find
104plugin_texteditor.depends += plugin_locator
105plugin_texteditor.depends += plugin_coreplugin
106
107plugin_cppeditor.subdir = cppeditor
108plugin_cppeditor.depends = plugin_texteditor
109plugin_cppeditor.depends += plugin_coreplugin
110plugin_cppeditor.depends += plugin_cpptools
111
112plugin_bineditor.subdir = bineditor
113plugin_bineditor.depends = plugin_texteditor
114plugin_bineditor.depends += plugin_coreplugin
115
116plugin_diffeditor.subdir = diffeditor
117plugin_diffeditor.depends = plugin_texteditor
118plugin_diffeditor.depends += plugin_coreplugin
119
120plugin_imageviewer.subdir = imageviewer
121plugin_imageviewer.depends = plugin_coreplugin
122
123plugin_designer.subdir = designer
124plugin_designer.depends = plugin_coreplugin plugin_cpptools plugin_projectexplorer plugin_texteditor
125
126plugin_vcsbase.subdir = vcsbase
127plugin_vcsbase.depends = plugin_find
128plugin_vcsbase.depends += plugin_texteditor
129plugin_vcsbase.depends += plugin_coreplugin
130plugin_vcsbase.depends += plugin_projectexplorer
131plugin_vcsbase.depends += plugin_cpptools
132
133plugin_perforce.subdir = perforce
134plugin_perforce.depends = plugin_vcsbase
135plugin_perforce.depends += plugin_projectexplorer
136plugin_perforce.depends += plugin_coreplugin
137
138plugin_git.subdir = git
139plugin_git.depends = plugin_vcsbase
140plugin_git.depends += plugin_projectexplorer
141plugin_git.depends += plugin_coreplugin
142
143plugin_cvs.subdir = cvs
144plugin_cvs.depends = plugin_vcsbase
145plugin_cvs.depends += plugin_projectexplorer
146plugin_cvs.depends += plugin_coreplugin
147
148plugin_subversion.subdir = subversion
149plugin_subversion.depends = plugin_vcsbase
150plugin_subversion.depends += plugin_projectexplorer
151plugin_subversion.depends += plugin_coreplugin
152
153plugin_projectexplorer.subdir = projectexplorer
154plugin_projectexplorer.depends = plugin_locator
155plugin_projectexplorer.depends += plugin_find
156plugin_projectexplorer.depends += plugin_coreplugin
157plugin_projectexplorer.depends += plugin_texteditor
158
159plugin_qtsupport.subdir = qtsupport
160plugin_qtsupport.depends = plugin_projectexplorer
161
162plugin_qt4projectmanager.subdir = qt4projectmanager
163plugin_qt4projectmanager.depends = plugin_texteditor
164plugin_qt4projectmanager.depends += plugin_projectexplorer
165plugin_qt4projectmanager.depends += plugin_qtsupport
166plugin_qt4projectmanager.depends += plugin_cpptools
167plugin_qt4projectmanager.depends += plugin_debugger
168plugin_qt4projectmanager.depends += plugin_qmljseditor
169plugin_qt4projectmanager.depends += plugin_qmljstools
170
171plugin_remotelinux.subdir = remotelinux
172plugin_remotelinux.depends += plugin_coreplugin
173plugin_remotelinux.depends += plugin_debugger
174plugin_remotelinux.depends += plugin_projectexplorer
175plugin_remotelinux.depends += plugin_qtsupport
176
177plugin_android.subdir = android
178plugin_android.depends = plugin_coreplugin
179plugin_android.depends += plugin_debugger
180plugin_android.depends += plugin_projectexplorer
181plugin_android.depends += plugin_qt4projectmanager
182
183plugin_madde.subdir = madde
184plugin_madde.depends += plugin_remotelinux
185plugin_madde.depends += plugin_qt4projectmanager
186
187plugin_locator.subdir = locator
188plugin_locator.depends = plugin_coreplugin
189
190plugin_cpptools.subdir = cpptools
191plugin_cpptools.depends = plugin_projectexplorer
192plugin_cpptools.depends += plugin_coreplugin
193plugin_cpptools.depends += plugin_texteditor
194plugin_cpptools.depends += plugin_find
195
196plugin_bookmarks.subdir = bookmarks
197plugin_bookmarks.depends = plugin_projectexplorer
198plugin_bookmarks.depends += plugin_coreplugin
199plugin_bookmarks.depends += plugin_texteditor
200
201plugin_debugger.subdir = debugger
202plugin_debugger.depends = plugin_projectexplorer
203plugin_debugger.depends += plugin_coreplugin
204plugin_debugger.depends += plugin_cpptools
205
206plugin_fakevim.subdir = fakevim
207plugin_fakevim.depends = plugin_coreplugin
208plugin_fakevim.depends += plugin_texteditor
209
210plugin_qtestlib.subdir = qtestlib
211plugin_qtestlib.depends = plugin_projectexplorer
212plugin_qtestlib.depends += plugin_coreplugin
213
214plugin_helloworld.subdir = helloworld
215plugin_helloworld.depends = plugin_coreplugin
216
217plugin_help.subdir = help
218plugin_help.depends = plugin_find
219plugin_help.depends += plugin_locator
220plugin_help.depends += plugin_coreplugin
221
222plugin_resourceeditor.subdir = resourceeditor
223plugin_resourceeditor.depends = plugin_coreplugin
224plugin_resourceeditor.depends = plugin_find
225
226plugin_regexp.subdir = regexp
227plugin_regexp.depends = plugin_coreplugin
228
229plugin_cpaster.subdir = cpaster
230plugin_cpaster.depends = plugin_texteditor
231plugin_cpaster.depends += plugin_coreplugin
232
233plugin_cmakeprojectmanager.subdir = cmakeprojectmanager
234plugin_cmakeprojectmanager.depends = plugin_texteditor
235plugin_cmakeprojectmanager.depends += plugin_projectexplorer
236plugin_cmakeprojectmanager.depends += plugin_cpptools
237plugin_cmakeprojectmanager.depends += plugin_qtsupport
238
239plugin_autotoolsprojectmanager.subdir = autotoolsprojectmanager
240plugin_autotoolsprojectmanager.depends = plugin_projectexplorer
241plugin_autotoolsprojectmanager.depends += plugin_coreplugin
242plugin_autotoolsprojectmanager.depends += plugin_cpptools
243plugin_autotoolsprojectmanager.depends += plugin_qtsupport
244
245plugin_genericprojectmanager.subdir = genericprojectmanager
246plugin_genericprojectmanager.depends = plugin_texteditor
247plugin_genericprojectmanager.depends += plugin_projectexplorer
248plugin_genericprojectmanager.depends += plugin_cpptools
249plugin_genericprojectmanager.depends += plugin_qtsupport
250
251plugin_qmljseditor.subdir = qmljseditor
252plugin_qmljseditor.depends = plugin_texteditor
253plugin_qmljseditor.depends += plugin_coreplugin
254plugin_qmljseditor.depends += plugin_projectexplorer
255plugin_qmljseditor.depends += plugin_qmljstools
256
257plugin_glsleditor.subdir = glsleditor
258plugin_glsleditor.depends = plugin_texteditor
259plugin_glsleditor.depends += plugin_coreplugin
260plugin_glsleditor.depends += plugin_projectexplorer
261plugin_glsleditor.depends += plugin_cpptools
262
263plugin_qmlprojectmanager.subdir = qmlprojectmanager
264plugin_qmlprojectmanager.depends = plugin_texteditor
265plugin_qmlprojectmanager.depends += plugin_projectexplorer
266plugin_qmlprojectmanager.depends += plugin_qmljseditor
267plugin_qmlprojectmanager.depends += plugin_qmljstools
268plugin_qmlprojectmanager.depends += plugin_debugger
269plugin_qmlprojectmanager.depends += plugin_qtsupport
270
271plugin_qmldesigner.subdir = qmldesigner
272plugin_qmldesigner.depends = plugin_coreplugin
273plugin_qmldesigner.depends += plugin_texteditor
274plugin_qmldesigner.depends += plugin_qmljseditor
275plugin_qmldesigner.depends += plugin_projectexplorer
276plugin_qmldesigner.depends += plugin_qt4projectmanager
277plugin_qmldesigner.depends += plugin_qmlprojectmanager
278plugin_qmldesigner.depends += plugin_cpptools
279
280plugin_mercurial.subdir = mercurial
281plugin_mercurial.depends = plugin_vcsbase
282plugin_mercurial.depends += plugin_projectexplorer
283plugin_mercurial.depends += plugin_coreplugin
284
285plugin_bazaar.subdir = bazaar
286plugin_bazaar.depends = plugin_vcsbase
287plugin_bazaar.depends += plugin_projectexplorer
288plugin_bazaar.depends += plugin_coreplugin
289
290plugin_classview.subdir = classview
291plugin_classview.depends = plugin_coreplugin
292plugin_classview.depends += plugin_cpptools
293plugin_classview.depends += plugin_projectexplorer
294plugin_classview.depends += plugin_texteditor
295
296plugin_tasklist.subdir = tasklist
297plugin_tasklist.depends = plugin_coreplugin
298plugin_tasklist.depends += plugin_projectexplorer
299
300plugin_analyzerbase.subdir = analyzerbase
301plugin_analyzerbase.depends = plugin_coreplugin
302plugin_analyzerbase.depends += plugin_projectexplorer
303plugin_analyzerbase.depends += plugin_remotelinux
304plugin_analyzerbase.depends += plugin_cpptools
305
306plugin_valgrind.subdir = valgrind
307plugin_valgrind.depends = plugin_coreplugin
308plugin_valgrind.depends += plugin_analyzerbase
309plugin_valgrind.depends += plugin_remotelinux
310plugin_valgrind.depends += plugin_texteditor
311
312plugin_qmlprofiler.subdir = qmlprofiler
313plugin_qmlprofiler.depends = plugin_coreplugin
314plugin_qmlprofiler.depends += plugin_analyzerbase
315plugin_qmlprofiler.depends += plugin_qmlprojectmanager
316plugin_qmlprofiler.depends += plugin_qt4projectmanager
317plugin_qmlprofiler.depends += plugin_remotelinux
318plugin_qmlprofiler.depends += plugin_qmljstools
319
320plugin_qmljstools.subdir = qmljstools
321plugin_qmljstools.depends = plugin_projectexplorer
322plugin_qmljstools.depends += plugin_coreplugin
323plugin_qmljstools.depends += plugin_texteditor
324plugin_qmljstools.depends += plugin_qtsupport
325plugin_qmljstools.depends += plugin_cpptools
326
327plugin_macros.subdir = macros
328plugin_macros.depends = plugin_texteditor
329plugin_macros.depends += plugin_find
330plugin_macros.depends += plugin_locator
331plugin_macros.depends += plugin_coreplugin
332
333plugin_todo.subdir = todo
334plugin_todo.depends = plugin_coreplugin
335plugin_todo.depends += plugin_projectexplorer
336plugin_todo.depends += plugin_texteditor
337plugin_todo.depends += plugin_cpptools
338
339plugin_qnx.subdir = qnx
340plugin_qnx.depends = plugin_remotelinux
341plugin_qnx.depends += plugin_qt4projectmanager
342plugin_qnx.depends += plugin_coreplugin
343plugin_qnx.depends += plugin_texteditor
344
345plugin_qbsprojectmanager.subdir = qbsprojectmanager
346plugin_qbsprojectmanager.depends = plugin_texteditor
347plugin_qbsprojectmanager.depends += plugin_projectexplorer
348plugin_qbsprojectmanager.depends += plugin_cpptools
349plugin_qbsprojectmanager.depends += plugin_qmljstools
350plugin_qbsprojectmanager.depends += plugin_qtsupport
351
352plugin_clearcase.subdir = clearcase
353plugin_clearcase.depends = plugin_vcsbase
354plugin_clearcase.depends += plugin_projectexplorer
355plugin_clearcase.depends += plugin_coreplugin
356
357plugin_ubuntu.subdir = ubuntu
358plugin_ubuntu.depends = plugin_coreplugin
359plugin_ubuntu.depends += plugin_projectexplorer
360plugin_ubuntu.depends += plugin_qt4projectmanager
361plugin_ubuntu.depends += plugin_qmlprojectmanager
0362
=== modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntu.pro'
--- qtcreator/src/plugins/ubuntu/ubuntu.pro 2013-02-20 12:33:10 +0000
+++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntu.pro 2013-06-10 18:40:33 +0000
@@ -2,14 +2,14 @@
2TARGET = Ubuntu2TARGET = Ubuntu
3DEFINES += UBUNTU_LIBRARY3DEFINES += UBUNTU_LIBRARY
44
5QT += network declarative5QT += network qml quick
66
7PROVIDER = Canonical7PROVIDER = Canonical
88message($$PWD)
9include(../../qtcreatorplugin.pri)9include($$PWD/../../qtcreatorplugin.pri)
10include(../coreplugin/coreplugin.pri)10include($$PWD/../coreplugin/coreplugin.pri)
11include(../projectexplorer/projectexplorer.pri)11include($$PWD/../projectexplorer/projectexplorer.pri)
12include(../qmlprojectmanager/qmlprojectmanager.pri)12include($$PWD/../qmlprojectmanager/qmlprojectmanager.pri)
1313
14LIBS += -L$$IDE_PLUGIN_PATH/QtProject14LIBS += -L$$IDE_PLUGIN_PATH/QtProject
1515
1616
=== modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuconstants.h'
--- qtcreator/src/plugins/ubuntu/ubuntuconstants.h 2013-05-04 21:41:03 +0000
+++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuconstants.h 2013-06-10 18:40:33 +0000
@@ -33,6 +33,7 @@
33const char UBUNTU_QMLPROJECT_TYPE[] = "qmlproject";33const char UBUNTU_QMLPROJECT_TYPE[] = "qmlproject";
34const char UBUNTU_QTPROJECT_TYPE[] = "pro";34const char UBUNTU_QTPROJECT_TYPE[] = "pro";
35const char UBUNTU_QML_TYPE[] = "qml";35const char UBUNTU_QML_TYPE[] = "qml";
36const char UBUNTU_HAS_TESTS[] = "hasTests";
3637
37const QString UBUNTU_WELCOMESCREEN_QML = Core::ICore::resourcePath() + QLatin1String("/ubuntu/welcome/welcome.qml");38const QString UBUNTU_WELCOMESCREEN_QML = Core::ICore::resourcePath() + QLatin1String("/ubuntu/welcome/welcome.qml");
38const QString UBUNTU_TEMPLATESPATH = Core::ICore::resourcePath() + QLatin1String("/templates/wizards/ubuntu/");39const QString UBUNTU_TEMPLATESPATH = Core::ICore::resourcePath() + QLatin1String("/templates/wizards/ubuntu/");
3940
=== modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuplugin.cpp'
--- qtcreator/src/plugins/ubuntu/ubuntuplugin.cpp 2013-04-08 13:34:07 +0000
+++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuplugin.cpp 2013-06-10 18:40:33 +0000
@@ -26,7 +26,7 @@
26#include <QJsonArray>26#include <QJsonArray>
27#include <QJsonObject>27#include <QJsonObject>
28#include <QDebug>28#include <QDebug>
2929#include <QGuiApplication>
3030
31using namespace Ubuntu::Internal;31using namespace Ubuntu::Internal;
3232
3333
=== modified file 'ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp'
--- qtcreator/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp 2013-05-03 23:00:15 +0000
+++ ubuntu-qtcreator-plugins/src/plugins/ubuntu/ubuntuprojectapplicationwizard.cpp 2013-06-10 18:40:33 +0000
@@ -118,6 +118,13 @@
118 if (tmp_type.isUndefined() == false) {118 if (tmp_type.isUndefined() == false) {
119 projectType = tmp_type.toString();119 projectType = tmp_type.toString();
120 }120 }
121
122 QJsonValue tmp_hasTests = m_obj.value(QLatin1String(Constants::UBUNTU_HAS_TESTS));
123 bool hasTests = false;
124 if (tmp_hasTests.isUndefined() == false) {
125 hasTests = tmp_hasTests.toBool();
126 }
127
121 const UbuntuProjectApplicationWizardDialog *wizard = qobject_cast<const UbuntuProjectApplicationWizardDialog *>(w);128 const UbuntuProjectApplicationWizardDialog *wizard = qobject_cast<const UbuntuProjectApplicationWizardDialog *>(w);
122 const QString projectName = wizard->projectName();129 const QString projectName = wizard->projectName();
123 const QString projectPath = wizard->path() + QLatin1Char('/') + projectName;130 const QString projectPath = wizard->path() + QLatin1Char('/') + projectName;
@@ -187,6 +194,9 @@
187 << " }" << endl194 << " }" << endl
188 << " Files {" << endl195 << " Files {" << endl
189 << " filter: \"*.desktop\"" << endl196 << " filter: \"*.desktop\"" << endl
197 << " }" << endl
198 << " Files {" << endl
199 << " filter: \"Makefile\"" << endl
190 << " }" << endl;200 << " }" << endl;
191 if (projectType == QLatin1String(Constants::UBUNTU_HTMLPROJECT_TYPE)) {201 if (projectType == QLatin1String(Constants::UBUNTU_HTMLPROJECT_TYPE)) {
192 out << " Files {" << endl202 out << " Files {" << endl
@@ -194,7 +204,7 @@
194 << " filter: \"*\"" << endl204 << " filter: \"*\"" << endl
195 << " }" << endl;205 << " }" << endl;
196 }206 }
197 if (projectType == QLatin1String(Constants::UBUNTU_AUTOPILOTPROJECT_TYPE)) {207 if (hasTests || projectType == QLatin1String(Constants::UBUNTU_AUTOPILOTPROJECT_TYPE)) {
198 out << " Files {" << endl208 out << " Files {" << endl
199 << " directory: \"tests/\"" << endl209 << " directory: \"tests/\"" << endl
200 << " filter: \"*\"" << endl210 << " filter: \"*\"" << endl

Subscribers

People subscribed via source and target branches