Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-29 Thread Joshua Grauman
Great. Helpful as always. Thanks! Josh On Saturday, 29 July 2017 13:02:20 PDT Joshua Grauman wrote: Do you know offhand about how accurate typical PC system clocks are? I'm wondering about how much drift there would be after an hour of recording screencasts. See the ntp drift file after

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-29 Thread Thiago Macieira
On Saturday, 29 July 2017 13:02:20 PDT Joshua Grauman wrote: > Do you know offhand about how accurate typical PC system clocks are? I'm > wondering about how much drift there would be after an hour of recording > screencasts. See the ntp drift file after ntpd has been running for a few days

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-29 Thread Thiago Macieira
On Saturday, 29 July 2017 13:21:45 PDT Joshua Grauman wrote: > Sorry, I'm seeing new things here. > > I see under Linux that clock_gettime(), has options for CLOCK_MONOTONIC, > and also CLOCK_MONOTONIC_RAW. CLOCK_MONOTONIC "is affected by the > incremental adjustments performed by adjtime and

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-29 Thread Joshua Grauman
Sorry, I'm seeing new things here. I see under Linux that clock_gettime(), has options for CLOCK_MONOTONIC, and also CLOCK_MONOTONIC_RAW. CLOCK_MONOTONIC "is affected by the incremental adjustments performed by adjtime and NTP." So it seems that would be best? Which does QElapsedTimer use?

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-29 Thread Joshua Grauman
Thiago, Thanks, this is really helpful. This particular code is only used by me (I've added a module to my program to allow screencasting of my program with alpha channel so that it can be overlaid over video of me. Hence the need for the clock to be roughly synched to the camera clock so the

Re: [Interest] qdoc not working for my project (namespace issues?)

2017-07-29 Thread Alberto Mardegan
I've used qdoc before, but only for QML modules, and that worked without isses; but for some reason, when I run it on this C++ library, all I get is: = /home/mardy/Qt/5.8/gcc_64/bin/qdoc /home/mardy/src/git/accounts-sso/libauthentication/doc/authentication.qdocconf -outputdir

[Interest] qdoc not working for my project (namespace issues?)

2017-07-29 Thread Alberto Mardegan
Hi all! I've just started to add documentation to a project of mine, just to find out that generating the documentation does not work. :-( I've used qdoc before, but only for QML modules, and that worked without isses; but for some reason, when I run it on this C++ library, all I get is:

[Interest] simple crash with QGraphicsScene

2017-07-29 Thread Patrick Stinson
Hello! I have reproduced a crash with QGraphicsView where you: - add a single item in the middle of the scene, - resize (shrink) the window with the mouse so the item is not fully visible - resize (grow) the window again - ***the issue happens right when item is fully visible again.*** Any idea