Merge lp:~thomas-moenicke/phablet-extras/maliit-framework-autopilot into lp:phablet-extras/maliit-framework

Proposed by Thomas Moenicke
Status: Needs review
Proposed branch: lp:~thomas-moenicke/phablet-extras/maliit-framework-autopilot
Merge into: lp:phablet-extras/maliit-framework
Diff against target: 40 lines (+23/-0)
2 files modified
debian/changelog (+6/-0)
passthroughserver/main.cpp (+17/-0)
To merge this branch: bzr merge lp:~thomas-moenicke/phablet-extras/maliit-framework-autopilot
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+175854@code.launchpad.net

Commit message

added patch that loads the autopilot driver

Description of the change

added patch that loads the autopilot driver

To post a comment you must log in.
1563. By Thomas Moenicke

bumped changelog version

1564. By Thomas Moenicke

word_engine should not be set to true with this commit

Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :

tested on the device:

>>> from autopilot import introspection
>>> maliit = introspection.get_proxy_object_for_existing_process(1433)
>>> print maliit
<autopilot.introspection.dbus.maliit-server object at 0x189c8f0>
>>> maliit.get_children()
No handlers could be found for logger "autopilot.introspection.dbus"
[<autopilot.introspection.dbus.QQuickView object at 0x189ca50>]

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Unmerged revisions

1564. By Thomas Moenicke

word_engine should not be set to true with this commit

1563. By Thomas Moenicke

bumped changelog version

1562. By Thomas Moenicke

added patch that loads the autopilot driver

1561. By Thomas Moenicke

enabled word-engine by default in settings file

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-07-12 11:38:03 +0000
3+++ debian/changelog 2013-07-19 15:55:34 +0000
4@@ -1,3 +1,9 @@
5+maliit-framework (0.99.trunk.phablet3) saucy; urgency=low
6+
7+ * added patch that loads the autopilot driver
8+
9+ -- Thomas Moenicke <thomas@pachamama> Fri, 19 Jul 2013 16:29:19 +0200
10+
11 maliit-framework (0.99.trunk.phablet2) saucy; urgency=low
12
13 * fix activationLostEvent: keyboard state should be updated and hidden
14
15=== modified file 'passthroughserver/main.cpp'
16--- passthroughserver/main.cpp 2013-07-01 11:14:32 +0000
17+++ passthroughserver/main.cpp 2013-07-19 15:55:34 +0000
18@@ -138,6 +138,23 @@
19
20 QGuiApplication app(argc, argv);
21
22+ // The testability driver is only loaded by QApplication but not by QGuiApplication.
23+ // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own.
24+ if (app.arguments().contains(QLatin1String("-testability"))) {
25+ QLibrary testLib(QLatin1String("qttestability"));
26+ if (testLib.load()) {
27+ typedef void (*TasInitialize)(void);
28+ TasInitialize initFunction = (TasInitialize)testLib.resolve("qt_testability_init");
29+ if (initFunction) {
30+ initFunction();
31+ } else {
32+ qCritical("Library qttestability resolve failed!");
33+ }
34+ } else {
35+ qCritical("Library qttestability load failed!");
36+ }
37+ }
38+
39 // Input Context Connection
40 QSharedPointer<MInputContextConnection> icConnection(createConnection(connectionOptions));
41

Subscribers

People subscribed via source and target branches