Re: [Interest] Console output on OS X

2012-05-10 Thread Konstantin Tokarev
11.05.2012, 10:36, "Lincoln Ramsay" : > On 05/11/2012 09:21 AM, ext Sherif Ghali wrote: > >>  If I run the following program with a command-line parameter of 0.0 on >>  Windows, the message >>   QPainterPath::lineTo: Adding point where x or y is NaN or Inf, >> ignoring call >>  is printed on

Re: [Interest] Console output on OS X

2012-05-10 Thread Lincoln Ramsay
On 05/11/2012 09:21 AM, ext Sherif Ghali wrote: > If I run the following program with a command-line parameter of 0.0 on > Windows, the message > QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring > call > is printed on the console. > > How should the project file or the

Re: [Interest] Console output on OS X

2012-05-10 Thread Till Oliver Knoll
Am 11.05.2012 um 01:21 schrieb Sherif Ghali : > Also, some > references indicate that it is necessary to run OS X's Console to see > these diagnostic messages. I see the diagnostics in Console for > programs that crash, but not for warning messages. Are you sure you're not confusing the *Di

[Interest] Console output on OS X

2012-05-10 Thread Sherif Ghali
If I run the following program with a command-line parameter of 0.0 on Windows, the message QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring call is printed on the console. How should the project file or the program be modified to be able to see the same message in a Ter

Re: [Interest] Issue with QSortFilterProxyModel and Delegate

2012-05-10 Thread André Somers
Op 10-5-2012 14:05, David Boosalis schreef: > André, your a rock star !!! I did as you suggested and "wahhla, bingo, > bango" - it all works. Thanks a lot for taking the time to answer my > question. > You're welcome, glad you managed to solve your issue using my suggestions. André __

Re: [Interest] qml 'subclasses'

2012-05-10 Thread Bo Thorsen
Den 10-05-2012 16:39, Jeremy skrev: > I'm relatively new to QML so I'm not sure how to accomplish this. > > Basically I want to define a custom object in QML, with custom > properties and functionality, and then I want to be able to 'subclass' > that component with different date for those standard

[Interest] qml 'subclasses'

2012-05-10 Thread Jeremy
I'm relatively new to QML so I'm not sure how to accomplish this. Basically I want to define a custom object in QML, with custom properties and functionality, and then I want to be able to 'subclass' that component with different date for those standardized properties and whatever else needs tailo

Re: [Interest] [Development] Which "Target Repository" to use for a Merge Request?

2012-05-10 Thread Konstantin Tokarev
10.05.2012, 18:35, "Carl Schumann" : > At  https://codereview.qt-project.org I notice a link, "Report Bug", in > the lower right corner.  When I click on this link it takes me to: > http://code.google.com/p/gerrit/issues/list It's for reporting bugs in Gerrit (web application for code review).

Re: [Interest] [Development] Which "Target Repository" to use for a Merge Request?

2012-05-10 Thread Carl Schumann
Qt Community, At https://codereview.qt-project.org I notice a link, "Report Bug", in the lower right corner. When I click on this link it takes me to: http://code.google.com/p/gerrit/issues/list Instead of where I originally reported my bug report: https://bugreports.qt-project.org These don't

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread Lucas.Betschart
> Without code its difficult to tell. > My best guess: > Most likely the code that watches over the network connection state is > broken. > I dont remember any API in qt that does that. So this may be platform > specific code in your application. Unfortunately I'm not allowed to publish s

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread Lucas.Betschart
>>perhaps something like "new" default port range: >>http://support.microsoft.com/kb/929851 >>in combination with firewall rules? >I have turned firewall full off. >The defined Port is 12537. >The default port range doesn't affect me since its just if I don't set a port >by my own? Oh no, this

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread Lucas.Betschart
>perhaps something like "new" default port range: >http://support.microsoft.com/kb/929851 >in combination with firewall rules? I have turned firewall full off. The defined Port is 12537. The default port range doesn't affect me since its just if I don't set a port by my own?

Re: [Interest] Issue with QSortFilterProxyModel and Delegate

2012-05-10 Thread Jan Kundrát
On 05/10/12 13:52, André Somers wrote: > That seems completely logical to me. As you found out, you need to check > any pointer you get back to see if it is not 0 before you dereference > it. In your case, your issue is that you're mixing indexes from your > proxy model and your source model. Do

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread alexander golks
Am Thu, 10 May 2012 14:08:03 +0200 schrieb : > Hello Qt People, > > Maybe this is not a Qt specific question, but maybe someone has an idea or > had a similar problem. > > I got a Services running under Windows (till now XP) which connects to our > device through Telent/TCP. > On Windows XP th

[Interest] Which "Target Repository" to use for a Merge Request?

2012-05-10 Thread Carl Schumann
Qt Community, On 8 May 2012 I submitted a bug report: https://bugreports.qt-project.org/browse/QTBUG-25691 I have a proposed fix which I am trying to submit. I used the following documentation in my attempt: http://wiki.qt-project.org/Git_Introduction I am now to the point in the above docum

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread David Boosalis
Hi Lucas. I just tried to replicate the problem on my laptop here running Windows 7 Home. The Qt app was built against version 4.8.1. My app's tcp connection(s) were resumed after I unplugged the network connection and then replugged it in after ten seconds. I don't think I do anything special

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread Pritam
Hi Lucas, Without code its difficult to tell. My best guess: Most likely the code that watches over the network connection state is broken. I dont remember any API in qt that does that. So this may be platform specific code in your application. On Thursday 10 May 2012 05:38 PM, lucas.betsch..

[Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread Lucas.Betschart
Hello Qt People, Maybe this is not a Qt specific question, but maybe someone has an idea or had a similar problem. I got a Services running under Windows (till now XP) which connects to our device through Telent/TCP. On Windows XP the services reconnects automatically after a disconnect (plug

Re: [Interest] Issue with QSortFilterProxyModel and Delegate

2012-05-10 Thread David Boosalis
André, your a rock star !!! I did as you suggested and "wahhla, bingo, bango" - it all works. Thanks a lot for taking the time to answer my question. -David On Thu, May 10, 2012 at 4:52 AM, André Somers wrote: > Op 10-5-2012 13:45, David Boosalis schreef: > > Hope someone can help me here. I

Re: [Interest] Issue with QSortFilterProxyModel and Delegate

2012-05-10 Thread André Somers
Op 10-5-2012 13:45, David Boosalis schreef: > Hope someone can help me here. I have a QTableView for which I use my > own QSortFilterProxyModel and own Delegate which is based on > QStyledItemDelegate. My issue is in the Delegates::paintEvent() > I get core dumps if I have the following (Not us

[Interest] Issue with QSortFilterProxyModel and Delegate

2012-05-10 Thread David Boosalis
Hope someone can help me here. I have a QTableView for which I use my own QSortFilterProxyModel and own Delegate which is based on QStyledItemDelegate. My issue is in the Delegates::paintEvent() I get core dumps if I have the following (Not using a proxy filter it works by the way): void DataDel