Thanks for your responses.
I can now see that the code i posted can indeed not work as is.
However shouldn't i be able to catch the exception when i use a QFuture with the QtConcurrent::run() and call future.result() in a slot connected to QFutureWatcher::finished() ?
I tried to do this but it does not work either..
Bookmarks