Merge lp:~abreu-alexandre/ubuntu-html5-theme/remove-qtwebkit into lp:ubuntu-html5-theme

Proposed by David Barth
Status: Merged
Approved by: Alexandre Abreu
Approved revision: 202
Merged at revision: 203
Proposed branch: lp:~abreu-alexandre/ubuntu-html5-theme/remove-qtwebkit
Merge into: lp:ubuntu-html5-theme
Diff against target: 56 lines (+1/-12)
4 files modified
debian/control (+0/-1)
examples/html5-theme/ui-gallery/qml/main.qml (+1/-1)
src/plugin/Ubuntu/WebApps/WebAppContainer.qml (+0/-6)
src/ubuntu-html5-app-launcher/main.cpp (+0/-4)
To merge this branch: bzr merge lp:~abreu-alexandre/ubuntu-html5-theme/remove-qtwebkit
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Olivier Tilloy (community) Approve
Ubuntu HTML5 Theme Developers Pending
Review via email: mp+253956@code.launchpad.net

Commit message

Remove QtWebkit support code

Description of the change

Remove QtWebkit support code

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Please revert the change to debian/changelog.

In src/plugin/Ubuntu/WebApps/WebAppContainer.qml, at line 42, this can be removed:

    property bool oxide: true

NOTE: all 9 autopilot tests of the ubuntu_html5_ui_toolkit test suite are failing on my desktop (lp:ubuntu-html5-theme), so I’m not able to validate that this branch doesn’t introduce regressions.

review: Needs Fixing
Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

updated,

NOTE: I have 3 AP test for the UI that are failing, I'll address this in a separate MR,

202. By Alexandre Abreu

updates

Revision history for this message
Olivier Tilloy (osomon) wrote :

LGTM.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-01-21 16:41:33 +0000
3+++ debian/control 2015-03-30 17:39:48 +0000
4@@ -82,7 +82,6 @@
5 Architecture: any
6 Multi-Arch: foreign
7 Depends: liboxideqt-qmlplugin (>= 1.3.5),
8- qml-module-qtwebkit,
9 qmlscene,
10 qtdeclarative5-qtquick2-plugin,
11 qtdeclarative5-ubuntu-ui-extras-browser-plugin,
12
13=== modified file 'examples/html5-theme/ui-gallery/qml/main.qml'
14--- examples/html5-theme/ui-gallery/qml/main.qml 2014-01-27 18:42:31 +0000
15+++ examples/html5-theme/ui-gallery/qml/main.qml 2015-03-30 17:39:48 +0000
16@@ -20,7 +20,7 @@
17 */
18
19 import QtQuick 2.0
20-import QtWebKit 3.0
21+import com.canonical.Oxide 1.0
22
23 Item {
24 width: 800
25
26=== modified file 'src/plugin/Ubuntu/WebApps/WebAppContainer.qml'
27--- src/plugin/Ubuntu/WebApps/WebAppContainer.qml 2014-12-16 21:02:55 +0000
28+++ src/plugin/Ubuntu/WebApps/WebAppContainer.qml 2015-03-30 17:39:48 +0000
29@@ -37,12 +37,6 @@
30
31 /*!
32 \preliminary
33- The property defines if oxide is to be used as the webengine backend.
34- */
35- property bool oxide: true
36-
37- /*!
38- \preliminary
39 The property holds the path to the filesystem location where the 'index.html'
40 file can be found (root of the HTML5 application).
41
42
43=== modified file 'src/ubuntu-html5-app-launcher/main.cpp'
44--- src/ubuntu-html5-app-launcher/main.cpp 2014-12-16 21:02:55 +0000
45+++ src/ubuntu-html5-app-launcher/main.cpp 2015-03-30 17:39:48 +0000
46@@ -219,10 +219,6 @@
47 engine->rootContext()->setContextProperty("inspector", remoteInspectorEnabled);
48 engine->rootContext()->setContextProperty("wwwFolder", wwwFolder.absoluteFilePath());
49
50- if (remoteInspectorEnabled) {
51- qputenv("QTWEBKIT_INSPECTOR_SERVER", remoteInspectorPort.toUtf8());
52- }
53-
54 view.setSource(QUrl::fromLocalFile(Webapp::Config::getContainerMainQmlPath()
55 + "/main.qml"));
56 if (view.status() != QQuickView::Ready)

Subscribers

People subscribed via source and target branches