Hi,

On 04-Sep-13 6:50 PM, Karl Ruetz wrote:
> Any chance you can use a default connection for the application rather
> than create an connection in each thread?

Unfortunately not. The Docs say [1]:
~~
A connection can only be used from within the thread that created it.
Moving connections between threads or creating queries from a different
thread is not supported.
~~

[1]
http://qt-project.org/doc/qt-5.0/qtcore/threads-modules.html#threads-and-the-sql-module

-- 
Gruß,
Arno.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to