From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by arago-project.org (Postfix) with ESMTPS id 8312E529CD for ; Thu, 24 Aug 2017 23:21:43 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7ONLfed031118 for ; Thu, 24 Aug 2017 18:21:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1503616901; bh=fmTBXZBYdWGz4A2acMhFj/W11p/BPr/r40aV33wvvKc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=x9KWYTqQf3hT7Y6eubkX+VzwJZnwMBlkJuQlzb3MiYaukqMvDZO33T52ctkxg0us4 0LXCmN2euGDkbysLwAhTvtrv5/0VNdJ9ge9BhzmZBcN0MfbUIrxLCzeBTkWBcDemmQ hDeV8YL+Fwjy004FNoZ0ZC73pOwq2Z3nntJjb1jM= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7ONLfPi009456 for ; Thu, 24 Aug 2017 18:21:41 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 24 Aug 2017 18:21:41 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 24 Aug 2017 18:21:41 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7ONLfXw028989; Thu, 24 Aug 2017 18:21:41 -0500 Date: Thu, 24 Aug 2017 19:21:37 -0400 From: Denys Dmytriyenko To: Eric Ruei Message-ID: <20170824232137.GA4311@edge> References: <1503616027-50489-1-git-send-email-e-ruei1@ti.com> MIME-Version: 1.0 In-Reply-To: <1503616027-50489-1-git-send-email-e-ruei1@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-arago@arago-project.org Subject: Re: [PATCH] matrix_browser: update for QWebEngine from QWebKit X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 23:21:46 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Eric, Please indicate the component this patch is meant for in square brackets. On Thu, Aug 24, 2017 at 07:07:07PM -0400, Eric Ruei wrote: > Replace QWebkit with QWebEngine because QWebkit is obslete. > > > Signed-off-by: Eric Ruei > --- > MatrixWebView.cpp | 5 +---- > MatrixWebView.h | 5 ++--- > main.cpp | 1 - > matrix_browser.pro | 2 +- > 4 files changed, 4 insertions(+), 9 deletions(-) > mode change 100755 => 100644 main.cpp > > diff --git a/MatrixWebView.cpp b/MatrixWebView.cpp > index 48459b7..72c4967 100644 > --- a/MatrixWebView.cpp > +++ b/MatrixWebView.cpp > @@ -37,9 +37,6 @@ > * > */ > > -#include > -#include > -#include > #include "MatrixWebView.h" > #include > #include > @@ -53,7 +50,7 @@ MatrixWebView::MatrixWebView(const QUrl& url) > if (::socketpair(AF_UNIX, SOCK_STREAM, 0, sigtermFd)) > qFatal("Couldn't create TERM socketpair"); > > - view = new QWebView(this); > + view = new QWebEngineView(this); > view->load(url); > setCentralWidget(view); > > diff --git a/MatrixWebView.h b/MatrixWebView.h > index fec7249..b6d2cc5 100644 > --- a/MatrixWebView.h > +++ b/MatrixWebView.h > @@ -40,8 +40,7 @@ > #define MATRIXWEBVIEW_H > > #include > -#include > -#include > +#include > #include > #include > > @@ -62,7 +61,7 @@ public slots: > private: > static int sigtermFd[2]; > QSocketNotifier *snTerm; > - QWebView *view; > + QWebEngineView *view; > }; > > #endif > diff --git a/main.cpp b/main.cpp > old mode 100755 > new mode 100644 > index a1ccd80..dceece5 > --- a/main.cpp > +++ b/main.cpp > @@ -36,7 +36,6 @@ > * > */ > > -#include > #include > #include > #include "MatrixWebView.h" > diff --git a/matrix_browser.pro b/matrix_browser.pro > index a6d8e1c..c6d9894 100755 > --- a/matrix_browser.pro > +++ b/matrix_browser.pro > @@ -6,7 +6,7 @@ TEMPLATE = app > TARGET = matrix_browser > DEPENDPATH += . > INCLUDEPATH += . > -QT += webkit webkitwidgets > +QT += webenginewidgets > # Input > SOURCES += main.cpp MatrixWebView.cpp > HEADERS = MatrixWebView.h > -- > 1.9.1 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago