Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread Thiago Macieira
On Tuesday, 19 May 2020 19:03:39 PDT David M. Cotter wrote: > if you want the rest of the code here it is: http://sscce.org/ Short, Self Contained, Correct (Compilable), Example That means main() function with QCoreApplication. I don't need a .pro file or CMakeLists.txt if it's obvious how to

Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread David M. Cotter
>> but since this i_auP is NOT a QObject, it's my own class, that i'm fine to >> allocate it in one thread (main) and then use it on another thread (audio >> pump thread) (provided and assuming i am careful to mutex any access from >> the main thread) > > i_auP is not a QObject, but

Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread Thiago Macieira
On Monday, 18 May 2020 21:12:55 PDT David M. Cotter wrote: > i thought your objection was that objects derived from QObject, if they are > used on a back thread then they must be either allocated there or "moved" > there. Correct. > but since this i_auP is NOT a QObject, it's my own class, that

Re: [Interest] Qt 5.12.x LTS

2020-05-19 Thread Thiago Macieira
On Tuesday, 19 May 2020 00:08:53 PDT Ramakanth Kesireddy wrote: > Apart from CVE-2020-0569 and CVE-2020-0570, could you please let me know > other security fixes that donot have associated CVE or any other CVEs > backported to Qt 5.12.8? All known security issues that affected 5.12.7 are fixed in

Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread Konstantin Shegunov
On Wed, May 20, 2020 at 2:13 AM David M. Cotter wrote: > is it possible i'm just using QThread wrong? and it HAPPENS to work fine > on mac but fails on windows? > > is this blogger really revealing the ONE TRUE NATURE of QThread: > >

Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread David M. Cotter
is it possible i'm just using QThread wrong? and it HAPPENS to work fine on mac but fails on windows? is this blogger really revealing the ONE TRUE NATURE of QThread: https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/

Re: [Interest] is it ok to push audio on a background thread, not a timer?

2020-05-19 Thread David M. Cotter
anybody have any other ideas? > On May 18, 2020, at 9:12 PM, David M. Cotter wrote: > Note that you do initialise the i_auP pointer in your constructor's initialisation list >>> which is not a QObject, it's my own wrapper class >> Irrelevant what it derives from > then i'm not

[Interest] QTextDocument supports tabstops, but can't insert tabs via html?

2020-05-19 Thread Josh
Hi all, QTextDocument supports tab stops. For example QTextOption has setTabs() and so you can call QTextDocument::setDefaultTextOption() and also QTextBlockFormat has setTabPositions(). Obviously html doesn't support tabs and as multiple whitespaces are just ignored. But is there any way

Re: [Interest] Arduino TeensyLC USB serial CDC + Qt not working on Windows

2020-05-19 Thread Jérôme Godbout
Hi, which driver is Windows 10 is using (take a look into the device manager). Also mayke sure no other services is using the COM port, check is busy with QSerialPortInfo before opening a serial port (it's obsolete but still useful for Windows). You can also list the availables port with it.

Re: [Interest] Qt 5.12.x LTS

2020-05-19 Thread Florian Bruhin
On Tue, May 19, 2020 at 12:38:53PM +0530, Ramakanth Kesireddy wrote: > Apart from CVE-2020-0569 and CVE-2020-0570, could you please let me know > other security fixes that donot have associated CVE or any other CVEs > backported to Qt 5.12.8? You might want to check the change files for 5.12.8:

Re: [Interest] Qt 5.12.x LTS

2020-05-19 Thread Ramakanth Kesireddy
Apart from CVE-2020-0569 and CVE-2020-0570, could you please let me know other security fixes that donot have associated CVE or any other CVEs backported to Qt 5.12.8? Thanks and Regards, Ramakanth On Mon, 13 Apr, 2020, 17:21 Thiago Macieira, wrote: > On Monday, 13 April 2020 02:57:17 -03

Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-19 Thread Ramakanth Kesireddy
Ok thanks for your mail. So while configuring Qt, I neednot specify -qpa wayland right? and the default one would do along with export QT_QPA_PLATFORM=wayland. Best Regards, Ramakanth On Mon, 18 May, 2020, 21:34 Thiago Macieira, wrote: > On domingo, 17 de maio de 2020 21:00:12 PDT Ramakanth