Qt Concurrent

Widgets enter the third dimension: WolfenQt

Published Tuesday December 2nd, 2008 | 40 Comments on Widgets enter the third dimension: WolfenQt
Posted in Graphics Dojo, Graphics Items, Graphics View, KDE, Labs, Qt, Qt Concurrent, Qt Script, WebKit

Some people have been asking how to embed Qt painted content (and especially Qt widgets) in a 3d scene. As I’ve been wanting to do this ever since we added QTransform supporting fully projective transformations, I sat down and wrote a small example demonstrating these capabilities. With no further delay, I present WolfenQt: Here’s a […]

Read More

Wide Finding

Published Friday June 27th, 2008 | 6 Comments on Wide Finding
Posted in Qt Concurrent, Threads

The Wide Finder Project is an informal parallel programming competition where the task is to compute web site statistcs from a 218-million line access log. Each entry will be benchmarked on a Sun T2000 with support for 32 hardware threads, giving lots of opportunities for parallel processing. What makes this really interesting is that the […]

Read More

Qt Jambi 4.4.0 Released!

Published Tuesday June 10th, 2008 | 2 Comments on Qt Jambi 4.4.0 Released!
Posted in Graphics View, Patternist, Qt, Qt Concurrent, Qt Jambi, Uncategorized, WebKit

So the time is finally here. Qt 4.4.0 was released a few weeks ago and as promised Qt Jambi is right behind. A lot of effort has gone into this one, in addition to supporting all the new Qt features, like Phonon, Webkit, Widgets in Graphics View, XQuery and Qt Concurrent, we also have a […]

Read More

MapReduce in Qt Concurrent

Published Thursday April 26th, 2007 | 2 Comments on MapReduce in Qt Concurrent
Posted in Labs, Qt Concurrent, Threads

MapReduce was originally developed by Google to simplify writing parallel algorithms for computer clusters. The basic idea is that you divide your algorithm into two parts: one part that can be run in parallel on individual pieces of the input data (‘map’), and one sequential part that collects the map results and produces the final […]

Read More

Making asynchronous function calls with QFuture

Published Thursday March 8th, 2007 | 1 Comment on Making asynchronous function calls with QFuture
Posted in Labs, Qt Concurrent, Threads

QtConcurrent::run() runs a function in a worker thread. It returns a QFuture, which is then used to synchronize with the result: QString foo(); QFuture<QString> f = QtConcurrent::run(foo); … QString string = f.result() Calling f.result() will block the current thread until foo() has returned. The QFuture template argument must match the return type of foo(). If […]

Read More

Introducing Qt Concurrent

Published Friday February 23rd, 2007 | 9 Comments on Introducing Qt Concurrent
Posted in Labs, Qt Concurrent, Threads

As a part of Trolltech Labs, I’m adding the Qt Concurrent project. Qt Concurrent is a high-level threading framework for writing code that automatically scales on multi-core systems. For example, to make thumbnails of a list of images you can do this: QImage scaled(const QImage &image) { return image.scaled(QSize(100, 100)); } … const QList<QImage> images […]

Read More
Get started today with Qt Download now