[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    QThreadPool/QtConcurrent issue with qt-copy
From:       Fred Emmott <mail () fredemmott ! co ! uk>
Date:       2009-03-18 11:04:10
Message-ID: 200903181104.10368.mail () fredemmott ! co ! uk
[Download RAW message or body]

Hi,

0275-qtconcurrent-threadcount.diff makes it so that files including 
qtconcurrentreducekernel.h must also include QThreadPool; this at least breaks 
amarok 2.0.2 compile.

Attached is a patch (to qt-copy) working around this issue. Apologies if this 
is the wrong list.

Regards,

-- 
Fred Emmott
(http://www.fredemmott.co.uk)

["qt-copy-missing-qthreadpool-include.diff" (text/x-patch)]

Workaround for API problem introduced by 0275-qtconcurrent-threadcount.diff
diff -ur qt-r939206/src/corelib/concurrent/qtconcurrentreducekernel.h \
                a/src/corelib/concurrent/qtconcurrentreducekernel.h
--- qt-r939206/src/corelib/concurrent/qtconcurrentreducekernel.h	2009-03-16 \
                18:34:18.000000000 +0000
+++ a/src/corelib/concurrent/qtconcurrentreducekernel.h	2009-03-16 19:52:16.000000000 \
+0000 @@ -51,6 +51,7 @@
 #include <QtCore/qmap.h>
 #include <QtCore/qmutex.h>
 #include <QtCore/qthread.h>
+#include <QtCore/qthreadpool.h>
 #include <QtCore/qvector.h>
 
 QT_BEGIN_HEADER



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic