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

Dirk Hohndel dirk at hohndel.org
Fri Aug 29 09:39:07 PDT 2014


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?

/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



More information about the subsurface mailing list