Re: [Development] Windows Timer Resolution: The Great Rule Change

2020-10-07 Thread Thiago Macieira
On Wednesday, 7 October 2020 06:47:27 PDT Philippe wrote: > Obviously, QThread::msleep is affected, but probably other APIs with a > timeout (?) > > https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-gr > eat-rule-change/ Any and all uses of "sleep" are wrong. Given that th

Re: [Development] Stepping down as QtSerialPort maintainer

2020-10-07 Thread André Hartmann
Dear Denis, I'd also like to thank you for starting and maintaining QtSerialPort for such a long time. I have successfully used it in many projects, and as Tomasz already said, it's really fun to work with that module. Currently I don't have enough time for maintaining another module, but I'm r

Re: [Development] Building additional components with Conan for Qt 6

2020-10-07 Thread Konstantin Tokarev
02.10.2020, 16:20, "Konstantin Tokarev" : > 02.10.2020, 15:53, "Toni Saario" : >>  One thing to check is that how much the provisioning it is possible to >> translate to Conan, I would believe that in the end it does not work for >> everything. > > Most of provisioning scripts fall into 2 categ

[Development] Windows Timer Resolution: The Great Rule Change

2020-10-07 Thread Philippe
To whoever is concerned... In short: "The behavior of the Windows scheduler changed significantly in Windows 10 2004" Especially, the "common" thread sleep function with 1 as argument "Sleep(1)", that did cause the thread to sleep about 1 or 2 milliseconds, is now halting for 15 milliseconds.

Re: [Development] API (change) review

2020-10-07 Thread Edward Welbourne
Lars Knoll (29 September 2020 20:48) wrote: >> I hope that Eddy can create an updated header diff for the modules >> that are part of 6.0 to make reviewing easier. On 1 October 2020 at 18:51 I wrote > Done. > Only qtbase, qtdeclarative, qttools, qtwayland and qt3d have changes > relative to the pr

Re: [Development] how to get WinId of desktop in Qt6 without QDesktopWidget ?

2020-10-07 Thread Volker Hilsheimer
> On 7 Oct 2020, at 08:24, Martin Koller wrote: > > Hi, > > in Qt6 the QDesktopWidget is gone, which I used in > > QWidget *desktop = QApplication::desktop(); > QPixmap pm = QGuiApplication::screenAt(event->globalPos())-> >grabWindow(desktop->winId(), event->globalPos().

Re: [Development] Stepping down as QtSerialPort maintainer

2020-10-07 Thread Tomasz Siekierda
On Wed, 7 Oct 2020 at 09:40, Denis Shienkov wrote: > [...] > > Thanks so much for using QtSerialPort, I'm glad it was useful > to someone. > Thanks for all your work, that module is awesome, I've used it many times. > > BR, > Denis > > > ___ > Develo

[Development] Stepping down as QtSerialPort maintainer

2020-10-07 Thread Denis Shienkov
Hi all. Unfortunately, I no longer have the time and desire to maintain the QtSerialPort module and would like someone else to take it over. I want to allocate more time for other projects. I will help maintain and review the code for a new person if it requires. Thanks so much for using QtSeri

Re: [Development] how to get WinId of desktop in Qt6 without QDesktopWidget ?

2020-10-07 Thread Volker Hilsheimer
> On 7 Oct 2020, at 08:24, Martin Koller wrote: > > Hi, > > in Qt6 the QDesktopWidget is gone, which I used in > >QWidget *desktop = QApplication::desktop(); >QPixmap pm = QGuiApplication::screenAt(event->globalPos())-> > grabWindow(desktop->winId(), event->globalPos

Re: [Development] how to get WinId of desktop in Qt6 without QDesktopWidget ?

2020-10-07 Thread Martin Koller
On Mittwoch, 7. Oktober 2020 08:24:40 CEST Martin Koller wrote: > Hi, > > in Qt6 the QDesktopWidget is gone, which I used in > > QWidget *desktop = QApplication::desktop(); > QPixmap pm = QGuiApplication::screenAt(event->globalPos())-> > grabWindow(desktop->winId(), e