Hi,
I am trying to use QTcpServer to accept connection from only one client at
a time, but i'm not able to do so.
I tried setting setMaxPendingConnections to one but then
also waitForConnected on the second client returned true. I want
waitForConnected to return true only for the first client.
On 11.06.2012 23:06, Thiago Macieira wrote:
They'll just have worse code generated. But if they're using compilers that
are 3 years old or more, it's their own fault.
Most embedded systems can use GCC 4.6 or even 4.7. Certainly the most common
processors can.
Well, I think it doesn't matter
On Tue, Jun 12, 2012 at 02:44:54PM +0530, Gopalakrishna Bhat wrote:
Hi,
I am trying to use QTcpServer to accept connection from only one client at
a time, but i'm not able to do so.
I tried setting setMaxPendingConnections to one but then
also waitForConnected on the second client
On Tue, Jun 12, 2012 at 3:47 PM, Andre Haupt an...@bitwigglers.org wrote:
On Tue, Jun 12, 2012 at 02:44:54PM +0530, Gopalakrishna Bhat wrote:
Hi,
I am trying to use QTcpServer to accept connection from only one client
at
a time, but i'm not able to do so.
I tried setting
Hi, my application receives some dates in textual formats from the
Internet; some of them are in RFC2822's format Mon, 11 Jun 2012
13:35:56 -0700 (and other variants due to backward compatibility),
others in RFC3501's date-time format which is 07-Mar-2007 15:03:32
+0100.
I'd like to save them
From: Gopalakrishna Bhat gopalakb...@gmail.com
Hi,
I am trying to use QTcpServer to accept connection from only one client at a
time, but i'm not able to do so.
I tried setting setMaxPendingConnections to one but then also waitForConnected
on the second client returned true. I want
On Tue, Jun 12, 2012 at 8:20 PM, BRM bm_witn...@yahoo.com wrote:
From: Gopalakrishna Bhat gopalakb...@gmail.com
Hi,
I am trying to use QTcpServer to accept connection from only one client
at a time, but i'm not able to do so.
I tried setting setMaxPendingConnections to one but then
On terça-feira, 12 de junho de 2012 16.26.08, Jan Kundrát wrote:
I'd like to save them into a QDataStream for further retrieval and after
loading them back, I'd love to show them both converted to the user's
local time and also in the original format, including the original time
zone
Hi Thiago,
On 06/12/12 17:31, Thiago Macieira wrote:
There isn't a way. The QTimezone feature has been pending for years.
Right, it seems that the utcOffset won't survive a serialization to
QDataStream (using Qt 4.8.1):
QDateTime blah = QDateTime::fromString(1997-07-16T19:20:30+09:45,
On 6/11/2012 12:35 PM, Guenther Boelter wrote:
On 06/12/2012 01:27 AM, Paul Miller wrote:
On 6/11/2012 12:24 PM, Guenther Boelter wrote:
On 06/12/2012 12:18 AM, Paul Miller wrote:
Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our
application crashes during startup when
Put up sample code to duplicate the issue...
From: noru...@me.com [mailto:noru...@me.com]
Sent: Tuesday, June 12, 2012 11:11 AM
To: Scott Aron Bloom
Subject: Re: [Interest] Application crash with QLocale
Yes, the class is called from a function in a QMainWindow subclass.
The Problem
Hi,
Think of the following code:
QObject *parent = new QObject();
QObject *childA = new QObject(parent);
QObject *childB = new QObject)parent);
delete parent;
In which order would you expect childA and childB gets deleted? I would
expect childB first and childA second. This would be same
Hi,
On Tue, Jun 12, 2012 at 8:37 PM, Jochen Becher jochen_bec...@gmx.de wrote:
Hi,
Think of the following code:
QObject *parent = new QObject();
QObject *childA = new QObject(parent);
QObject *childB = new QObject)parent);
delete parent;
In which order would you expect childA and
Yes, interally, IIRC it is a QList, and suffer/enjoys all the traits of such.
And FWIW, I think deleting children inthe order they were added makes the most
sense. If you need your backwards behavior you are really implying that B is a
child of A, and if created as such, you would get the
I have the following PathView:
PathView {
id: projectView
anchors.fill: parent
model: carProjects
delegate: projectEntry
pathItemCount: 3
preferredHighlightBegin: 0.5
preferredHighlightEnd: 0.5
path: Path {
On Monday 11 June 2012 19:27:33 Paul Miller wrote:
On 6/11/2012 12:24 PM, Guenther Boelter wrote:
are we talking about Windows, Linux or OS X?
Windows 7 x64.
Run it either from QtCreator (if you use it) or from a debugger - Qt messages
are written to the Windows debug stream - both will
On 6/11/12 10:49 PM, Rohan McGovern wrote:
Stephen Chu said:
I just pulled Qt 5 from git and don't see the new C++11 option. They are
in the master branch of qtbase but Qt 5 doesn't pull that in yet.
Right, that's actually because it appears to have caused a few
regressions. The new qtbase
As children are stored in a simple list and new children will be
appended to its end it would be very simple to delete them in reverse
order: Simply traverse the list from count()-1 to 0. This would be a
one-line-change in method deleteChildren().
Of course if I say delete it in reverse order of
Being on the embedded side, I can see why he wants only one client at a time.
It coudl be that he has a serial protocol that is not going over TCP, where
there is no idea of multiple clients.
He should be able to set maxPendingConnections to 0. But as the docs say but
the operating system may
On terça-feira, 12 de junho de 2012 21.36.46, Jochen Becher wrote:
In my case childB is not a child of childA but both are children of
parent (widgets in the same group/layout). But childB has a reference to
childA which might be accessed in destructor.
That's a whole different problem.
On 6/12/12 5:12 PM, Thiago Macieira wrote:
On terça-feira, 12 de junho de 2012 15.16.38, Stephen Chu wrote:
I am curious if the runtime issue on OS X has been dealt with?
Yes. We decided not to force libc++. We're still using the compiler default,
whichever that is (currently libstdc++). If
21 matches
Mail list logo