Re: [Interest] Odd behavior with QTcpSocket::waitForReadyRead()

2016-12-19 Thread Jason H
> int msecs = timeout * 100 I'm pretty sure that's the conversion for usec, not msec. Note that in most cases there is a hard-coded 75 second timeout TCP read timeout from the early days of the internet. And anything over 60 is likely to to dropped by firewalls. You shouldn't be using

Re: [Interest] Odd behavior with QTcpSocket::waitForReadyRead()

2016-12-19 Thread Bob Hood
I'm refactoring the old code (modeled on Stevens' "UNIX Network Programming") to use the more modern Qt paradigm of signals/slots for async communications. So, the need for using waitforReadyRead() is obviated. I'm guessing the timeout period being used greatly exceeds the underlying stack's

Re: [Interest] Update breaks version

2016-12-19 Thread Kai Koehne
> -Original Message- > From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] > On Behalf Of Duane > Sent: Monday, December 19, 2016 4:10 PM > To: interest@qt-project.org > Subject: [Interest] Update breaks version > > I have Qt installed on Windows using MinGW. I was

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 11:03 AM, Kai Koehne wrote: -Original Message- From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On Behalf Of Duane Sent: Monday, December 19, 2016 4:10 PM To: interest@qt-project.org Subject: [Interest] Update breaks version I have Qt installed on

Re: [Interest] Update breaks version

2016-12-19 Thread Mike Chinander
Are you sure you are not mixing MinGW and VS builds/libraries? On Mon, Dec 19, 2016 at 11:03 AM, Duane wrote: > On 19/12/2016 11:49 AM, Duane wrote: > >> On 19/12/2016 11:03 AM, Kai Koehne wrote: >> >>> -Original Message- From: Interest

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 11:49 AM, Duane wrote: On 19/12/2016 11:03 AM, Kai Koehne wrote: -Original Message- From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On Behalf Of Duane Sent: Monday, December 19, 2016 4:10 PM To: interest@qt-project.org Subject: [Interest] Update

Re: [Interest] Update breaks version

2016-12-19 Thread Sean Harmer
Have you also replaced the plugins? What does the debug console/log say? Which lib/plugin is causing it to fail? Cheers, Sean On Monday 19 December 2016 12:21:52 Duane wrote: > On 19/12/2016 12:06 PM, Mike Chinander wrote: > > Are you sure you are not mixing MinGW and VS builds/libraries? > >

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 12:06 PM, Mike Chinander wrote: Are you sure you are not mixing MinGW and VS builds/libraries? Reasonably sure. I'm using the pre-built libraries installed from the maintenance tool. There is no 4.7.X available for VS2012, only 4.5.X. I can replace the 4.7.0 dlls with the

Re: [Interest] Update breaks version

2016-12-19 Thread Duane
On 19/12/2016 12:51 PM, Sean Harmer wrote: Have you also replaced the plugins? What does the debug console/log say? Which lib/plugin is causing it to fail? Cheers, Sean It looks like the sqldrivers. But no, I haven't replaced them. And the existing ones seem to work with 4.7.1 on the

[Interest] QModbusTcpClient - More than one Modbus ID query in TCP Package

2016-12-19 Thread Pfeiffer, Stephan
Hello dear all, I already wrote a post to the QT forum and got the suggestion to post my question at this site. Currently I'm using the class QModbusTcpClient. I want to read sequentially values from different Modbus addresses. In a thread I'm calling the following function via signal slot.

Re: [Interest] Recommended way to draw formatted text with QPainter

2016-12-19 Thread André Somers
Hi, Op 17/12/2016 om 22:42 schreef Joshua Grauman: Hello all, I have a bunch of small fragments of formatted text (small paragraphs with multiple colors and fonts, using tags). I need to paint them with QPainter at different locations (multiple rectangles of text) onto my widget. I've

Re: [Interest] How to provide a component to a QML item?

2016-12-19 Thread Yasser Sobhy
Hi Jason I am not sure if I have understood you correctly, but I think I have used a similar approach in some of my apps to create a dynamic-content list. I have done that by aliasing the data property of the column item as follows //StandardScreenWithSpecificContent.qml

[Interest] How to provide a component to a QML item?

2016-12-19 Thread Jason H
I've got a situation where I have a variety of items ("screens" in a stackView) where they have a similar structure, but the content differs. Example: Screen { Column { StandardScreenContent { } ScreenSpecificContent{ } } } But I'd like to do it like:

[Interest] Odd behavior with QTcpSocket::waitForReadyRead()

2016-12-19 Thread Bob Hood
I'm porting a TCP/IP client from wxWdigets to Qt. I've tried this under both 5.4.2 and 5.6.2. I have a user-configured timeout value for network reads. The default is 300 seconds (5 minutes). I am feeding that to QTcpSocket::waitForReadyRead(), and it's basically ignoring--worse, it's

Re: [Interest] Qt3D - Render to QImage

2016-12-19 Thread Juan Jose Casafranca
Hi, I've began to look a the QRenderCapture code to implement the QBufferCapture node and I've found that the problem that Philip described may happen because of the render target format used. The debugger says that the render target is a RGB8_UNorm which is not considered in the big switch case

Re: [Interest] [Development] Fwd: QtIFW 2.0.4 Release?

2016-12-19 Thread Katja Marttila
Hi Konstantin, It will happen earliest in the beginning of next year. Sorry but I don’t have exact time or week to give you. --Katja Hello again! 22:12, 13 december 2016 г., Konstantin Podsvirov >: Hello guys! QtSDK maintenance now

Re: [Interest] [Development] Fwd: QtIFW 2.0.4 Release?

2016-12-19 Thread Konstantin Podsvirov
Hello Katja! Your answer is enough.15:17, 19 december 2016 г., Katja Marttila :Hi Konstantin, It will happen earliest in the beginning of next year. Sorry but I don’t have exact time or week to give you. --KatjaHello again! 22:12, 13 december 2016 г., Konstantin Podsvirov