[PATCH 1/1] QT += concurrent is a Qt 5 thing

Tomaz Canabrava tcanabrava at kde.org
Fri Aug 29 09:49:39 PDT 2014


Em 29/08/2014 13:39, "Dirk Hohndel" <dirk at hohndel.org> escreveu:
>
>
> On Aug 29, 2014, at 9:38 AM, Thiago Macieira <thiago at macieira.org> wrote:
>
> > In Qt 4, QtConcurrent is part of QtCore.
>
> So why do my Qt5 builds succeed without this patch?

Because it was marked to use for qt4 and 5, but it only existed on 5
.
> /D
>
>
> > Signed-off-by: Thiago Macieira <thiago at macieira.org>
> > ---
> > subsurface.pro | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/subsurface.pro b/subsurface.pro
> > index 1d34ee9..6d3a581 100644
> > --- a/subsurface.pro
> > +++ b/subsurface.pro
> > @@ -2,11 +2,11 @@ CODECFORTR = UTF-8
> > CODECFORSRC = UTF-8
> > include(subsurface-configure.pri)
> >
> > -QT = core gui network svg concurrent
> > +QT = core gui network svg
> > lessThan(QT_MAJOR_VERSION, 5) {
> >       QT += webkit
> > } else {
> > -     QT += printsupport
> > +     QT += printsupport concurrent
> >       !android: QT += webkitwidgets webkit
> >       android: QT += androidextras
> > }
> > --
> > 1.8.4.5
> >
> > _______________________________________________
> > subsurface mailing list
> > subsurface at hohndel.org
> > http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140829/f3634d4c/attachment.html>


More information about the subsurface mailing list