[Interest] Unique Database connection name
arno
arno at disconnect.de
Wed Sep 4 18:57:01 CEST 2013
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.
More information about the Interest
mailing list