In QML you can provide a QNAM factory. This is supposed to return a new QNAM for the calling thread. So having multiple QNAM in an app is not really an issue?
On Thu, Jan 30, 2014 at 3:33 AM, Thiago Macieira <thiago.macie...@intel.com>wrote: > On quarta-feira, 29 de janeiro de 2014 21:45:47, phil.kursawe@gmail.comwrote: > > I have a sync thread that needs to read from a database and sends data > to a > > server. The server response can be very large. The sync thread should > > process them. I somehow fail to seem how I could decouple the background > > thread from the network stuff. > > The main thread does the networking and receives all the data. *ALL* the > data, > no matter how big. Then it passes the data to the sync thread. > > If the data is too big for memory, use QTemporaryFile. > > You cannot process the data as it comes from that other thread. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest