[Interest] Problem using QTcpSocket with large amounts of data

2013-03-30 Thread Christoph Kurz
Hi, I have a problem with my application crashing using QTcpSocket. Short version: My application crashes on QTcpSocket-readAll() with a glibc - double free or corruption-error when I try to receive large amounts of data (100 KB - 1 MB). A more detailed description can be found here:

Re: [Interest] Problem using QTcpSocket with large amounts of data

2013-03-30 Thread Giuseppe D'Angelo
On 30 March 2013 10:54, Christoph Kurz c.k...@melph.de wrote: Any ideas would be appreciated. Valgrind your application? -- Giuseppe D'Angelo ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] question about Qt Regx to match hexdecimal

2013-03-30 Thread Vincent Cai
Dear all, I tried to create a Qt Regx to match hexdecimal, below is the strings I have tried, but all failed. l ([0-9a-fA-F]+) l ([A-Fa-f0-9]+) l ([\\dA-Fa-f]+) The symptom is only 0-9 is returned, for example: 12345ABC - 12345 12AB34EF - 12 Hope you can help! Thanks, Vincent.

Re: [Interest] question about Qt Regx to match hexdecimal

2013-03-30 Thread Bob Hood
This works for me (Qt 4.8.3): QRegExp re(([0-9a-fA-F]+)); assert(re.indexIn(12345ABC) == 0); assert(re.capturedTexts()[0] == 12345ABC); On 3/30/2013 9:07 AM, Vincent Cai wrote: Dear all, I tried to create a Qt Regx to match hexdecimal, below is the strings I have