Re: [Interest] Operator QMap[] is casting to int?

2019-05-15 Thread Roland Hughes
On 5/14/19 5:00 AM, interest-requ...@qt-project.org wrote: On Saturday, 11 May 2019 09:02:34 PDT Roland Hughes wrote: You can add methods which allow for good software engineering. For everyone of the existing hacks you can add a "u" version which returns an unsigned value and on failure a 0 wh

Re: [Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-15 Thread Giuseppe D'Angelo via Interest
Il 15/05/19 03:55, Konstantin Shegunov ha scritto: If you can't use qOverload or QOverload<...>::of(), then you have only two other options. Static casting the signal to the exact method type, or specifying the template parameter explicitly. Either: QObject::connect(process, static_castQProcess

Re: [Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-15 Thread Thiago Macieira
On Wednesday, 15 May 2019 11:48:51 PDT Colin Worth wrote: > Thanks, Konstantin, that worked well (I used the template form of the > ::connect call). > > Giuseppe, there is a qt bug filed here: > https://bugreports.qt.io/browse/QTBUG-61667 > > > But th

Re: [Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-15 Thread Colin Worth
Thanks, Konstantin, that worked well (I used the template form of the ::connect call). Giuseppe, there is a qt bug filed here: https://bugreports.qt.io/browse/QTBUG-61667 But the problem seems to be that MSVC 2017 does not support a new feature of