Re: [Interest] Long running application with database connection

2013-10-09 Thread André Somers
Op 10-10-2013 8:51, Marc Schmitzer schreef: > On 10/09/2013 04:46 PM, S R wrote: >> In a similar situation, if I recall correctly, we elected to open the >> database connection each time we needed it. Through testing we found >> that connection pooling in the the underlying infrastructure (windows

Re: [Interest] Long running application with database connection

2013-10-09 Thread Marc Schmitzer
On 10/09/2013 04:46 PM, S R wrote: > > In a similar situation, if I recall correctly, we elected to open the > database connection each time we needed it. Through testing we found > that connection pooling in the the underlying infrastructure (windows, > using oracle and ms sqlserver) worked well

Re: [Interest] QTcpServer. Connecting.Sending data.

2013-10-09 Thread Tony Rietwyk
Hi Alexander, QTcpServer.listen only sets up the listening - it does not wait until a new connection arrives. In my code, I only call listen once, then run an event loop. The new connections arrive in the incomingConnection slot. void MyThread::run() { srv = new (std

Re: [Interest] Looking for third party Qt libraries

2013-10-09 Thread moh dady
On Tue, 2013-10-08 at 00:08 +0200, Cornelius Schumacher wrote: > On Monday 07 October 2013 14:22:40 BRM wrote: > > Out of curiosity, are you looking to list proprietary 3rd party Qt libraries > > as well? Or just Open Source compatible libraries? Cornelius Schumacher wrote: ... > It probably woul

Re: [Interest] How can i animate Layout.preferredWidth and friends?

2013-10-09 Thread Mark
On Tue, Oct 8, 2013 at 4:32 PM, Mark wrote: > On Wed, Oct 2, 2013 at 2:25 PM, Mark wrote: > >> On Wed, Oct 2, 2013 at 11:51 AM, Saether Jan-Arve < >> jan-arve.saet...@digia.com> wrote: >> >>> Of course it should not crash. >>> >>> I get an ASSERT: "mo" in file qml\qqmlvme.cpp, line 849 (thi

[Interest] QTcpServer. Connecting.Sending data.

2013-10-09 Thread Alexander Syvak
Hello, here's the code of the redefined method run() of QThread class => void run() override { srv = new (std::nothrow) tcp_server(ised_win_raw_ptr); #ifdef DEBUG qDebug() << "listener's thread => " << thread(); #endif terminate_ = false; while ( !termina

Re: [Interest] Long running application with database connection

2013-10-09 Thread S R
In a similar situation, if I recall correctly, we elected to open the database connection each time we needed it. Through testing we found that connection pooling in the the underlying infrastructure (windows, using oracle and ms sqlserver) worked well. The reconnection cost was usually trivial c

Re: [Interest] Long running application with database connection

2013-10-09 Thread Marc Schmitzer
On 10/09/2013 12:27 PM, Marc Schmitzer wrote: > While this works well most of the time, we occasionally have queries > fail with "MySQL server has gone away" errors. We know that the mysqld > process has indeed *not* gone away, and re-opening the connection works. Ok, this appears to be caused by

Re: [Interest] Long running application with database connection

2013-10-09 Thread Richard Moore
On 9 October 2013 11:27, Marc Schmitzer wrote: > While this works well most of the time, we occasionally have queries > fail with "MySQL server has gone away" errors. We know that the mysqld > process has indeed *not* gone away, and re-opening the connection works. > > My theory is that the initia

[Interest] Long running application with database connection

2013-10-09 Thread Marc Schmitzer
Hi list, my team develops a relatively long-running (normally 10+ hours, during development for days or even weeks) Qt application that uses a MySQL database. The usage pattern the database connection looks like this: At startup: - db = QSqlDatabase::addDatabase(connection_name) - configure ho

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Igor Mironchik
09.10.2013 10:03, Vadim Peretokin пишет: > I can confirm this problem - please share the bug URL you file. I reported a bug but I'm no sure that it's a bug... https://bugreports.qt-project.org/browse/QTBUG-33974 -- Best Regards, Igor Mironchik. ___

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Mitch Curtis
On 10/09/2013 09:31 AM, Igor Mironchik wrote: > 09.10.2013 10:02, Mitch Curtis пишет: >> Looks like a regression to me. Please create a bug report: >> https://bugreports.qt-project.org/browse/QTBUG > > But may be it's is not a bug. May be developers decided to disable to > move first column because

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Igor Mironchik
09.10.2013 10:02, Mitch Curtis пишет: > Looks like a regression to me. Please create a bug report: > https://bugreports.qt-project.org/browse/QTBUG But may be it's is not a bug. May be developers decided to disable to move first column because this column shows the root items. What do you think

Re: [Interest] Looking for third party Qt libraries

2013-10-09 Thread Mandeep Sandhu
On Wed, Oct 9, 2013 at 11:51 AM, André Somers wrote: > Op 9-10-2013 7:34, Cornelius Schumacher schreef: > > On Tuesday 08 October 2013 06:48:38 BRM wrote: > >> Cool - I don't have any at this time, but it's good information to have > and > >> I'm sure others here do; and yes, listing the license i

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Vadim Peretokin
I can confirm this problem - please share the bug URL you file. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QTreeView header move first column doesn't work.

2013-10-09 Thread Mitch Curtis
Looks like a regression to me. Please create a bug report: https://bugreports.qt-project.org/browse/QTBUG On 10/08/2013 11:57 AM, Igor Mironchik wrote: > Hi. In the attachement you can find simple application where you can > test it... > > Thanks for help. > >> On previous versions of Qt moving f