Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Cc: Denys Dmytriyenko <denys@ti.com>
Subject: Re: [meta-qt5][PATCH 1/2] qtdeclarative: fix compilation of examples/qquickviewcomparison
Date: Mon, 25 Apr 2016 17:43:26 -0400	[thread overview]
Message-ID: <20160425214326.GA31113@denix.org> (raw)
In-Reply-To: <CA+chaQeA63zpMf02NYbDrxZgXdSbx2=T3=nZGmxk4h8XxOx+Xg@mail.gmail.com>

On Mon, Apr 25, 2016 at 11:24:42PM +0200, Martin Jansa wrote:
> I was testing if this is still needed with latest 5.6 currently in
> jansa/master. Or if I can just drop this again when upgrading to newer
> revisions.
> 
> Did you see this issue only with 5.6 revisions currently in master or with
> 5.6 revisions sent by Andreas which are now in master-next and where even
> qtbase examples fail to build in default setup as reported in separate
> e-mail?
> http://lists.openembedded.org/pipermail/openembedded-devel/2016-April/107077.html

Sorry, I haven't had a chance to try master-next yet. Those patches are needed 
for 5.5.99/5.6-beta from current master.

If you merge 5.6 into master any time soon, I would definitely prefer for 
examples to work there. BTW, I can't believe examples are so broken in Qt, 
even in the official 5.6 release, based on your other email... So, if you want 
master/krogoth to be 5.6 release, we'd have to backport example fixes from 
post-5.6 revs, which I would be glad to help with...

-- 
Denys


> On Mon, Apr 25, 2016 at 8:07 PM, Denys Dmytriyenko <denis@denix.org> wrote:
> 
> > Martin,
> >
> > Any comments?
> >
> >
> > On Wed, Apr 20, 2016 at 02:27:10PM -0400, Denys Dmytriyenko wrote:
> > > Ping. These 2 have been sitting in master-next as well for quite some
> > time.
> > > Any updates?
> > >
> > >
> > > On Thu, Mar 31, 2016 at 08:47:22PM -0400, Denys Dmytriyenko wrote:
> > > > From: Denys Dmytriyenko <denys@ti.com>
> > > >
> > > >
> > git/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp:180:14:
> > error: 'QCoreApplication' has not been declared
> > > >           if
> > (!QCoreApplication::arguments().contains(QStringLiteral("--no_render_alpha")))
> > > >
> > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > ---
> > > >  ...omparison-fix-QCoreApplication-has-not-be.patch | 28
> > ++++++++++++++++++++++
> > > >  recipes-qt/qt5/qtdeclarative_git.bb                |  1 +
> > > >  2 files changed, 29 insertions(+)
> > > >  create mode 100644
> > recipes-qt/qt5/qtdeclarative/0001-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch
> > > >
> > > > diff --git
> > a/recipes-qt/qt5/qtdeclarative/0001-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch
> > b/recipes-qt/qt5/qtdeclarative/0001-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch
> > > > new file mode 100644
> > > > index 0000000..1687fbe
> > > > --- /dev/null
> > > > +++
> > b/recipes-qt/qt5/qtdeclarative/0001-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch
> > > > @@ -0,0 +1,28 @@
> > > > +From 1cdd3278a0b1508640d983720782d39eb919caaf Mon Sep 17 00:00:00 2001
> > > > +From: Denys Dmytriyenko <denys@ti.com>
> > > > +Date: Thu, 31 Mar 2016 19:38:58 -0400
> > > > +Subject: [PATCH] qquickviewcomparison: fix QCoreApplication has not
> > been
> > > > + declared error
> > > > +
> > > > +Upstream-Status: Pending
> > > > +
> > > > +Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > +---
> > > > + examples/quick/quickwidgets/qquickviewcomparison/mainwindow.h | 1 +
> > > > + 1 file changed, 1 insertion(+)
> > > > +
> > > > +diff --git
> > a/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.h
> > b/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.h
> > > > +index 5b86c93..e77514e 100644
> > > > +--- a/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.h
> > > > ++++ b/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.h
> > > > +@@ -44,6 +44,7 @@
> > > > + #include <QWidget>
> > > > + #include <QQuickWidget>
> > > > + #include <QQuickView>
> > > > ++#include <QCoreApplication>
> > > > +
> > > > + QT_FORWARD_DECLARE_CLASS(QRadioButton)
> > > > + QT_FORWARD_DECLARE_CLASS(QCheckBox)
> > > > +--
> > > > +2.2.0
> > > > +
> > > > diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/
> > qtdeclarative_git.bb
> > > > index 93442fb..9274d00 100644
> > > > --- a/recipes-qt/qt5/qtdeclarative_git.bb
> > > > +++ b/recipes-qt/qt5/qtdeclarative_git.bb
> > > > @@ -15,6 +15,7 @@ DEPENDS += "qtbase"
> > > >
> > > >  SRC_URI += " \
> > > >      file://0001-qmltestexample-fix-link.patch \
> > > > +
> > file://0001-qquickviewcomparison-fix-QCoreApplication-has-not-be.patch \
> > > >  "
> > > >
> > > >  EXTRA_OEMAKE +=
> > "QMAKE_SYNCQT=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/syncqt"
> > > > --
> > > > 2.2.0
> > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


  reply	other threads:[~2016-04-25 21:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  0:47 [meta-qt5][PATCH 1/2] qtdeclarative: fix compilation of examples/qquickviewcomparison Denys Dmytriyenko
2016-04-01  0:47 ` [meta-qt5][PATCH 2/2] qtquickcontrols: fix compilation of examples/texteditor Denys Dmytriyenko
2016-04-20 18:27 ` [meta-qt5][PATCH 1/2] qtdeclarative: fix compilation of examples/qquickviewcomparison Denys Dmytriyenko
2016-04-25 18:07   ` Denys Dmytriyenko
2016-04-25 21:24     ` Martin Jansa
2016-04-25 21:43       ` Denys Dmytriyenko [this message]
2016-04-26  6:37         ` Martin Jansa
2016-04-26 15:30           ` Denys Dmytriyenko
2016-04-26 16:38             ` Khem Raj
2016-04-26 18:07               ` Martin Jansa
2016-04-30  0:21                 ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160425214326.GA31113@denix.org \
    --to=denis@denix.org \
    --cc=denys@ti.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox