Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Thiago Macieira
On Monday, 21 September 2020 22:55:16 PDT Lars Knoll wrote: > I do not want to simply return an int, as the risk that people ignore the > Unordered state it too big with that. So the other choice would be to add > an enum in the Qt namespace (as I need this for QMetaType as well, which > currently

Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Lars Knoll
On 21 Sep 2020, at 23:02, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Monday, 21 September 2020 01:17:58 PDT Lars Knoll wrote: On 18 Sep 2020, at 17:11, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Friday, 18 September 2020 06:48:50 PDT Lars Knoll wrote: std::o

Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Thiago Macieira
On Monday, 21 September 2020 01:17:58 PDT Lars Knoll wrote: > > On 18 Sep 2020, at 17:11, Thiago Macieira > > wrote: > > On Friday, 18 September 2020 06:48:50 PDT Lars Knoll wrote: > > > >> std::optional QVariant::compare(const QVariant &other); > >> > >> Would that be good enough? > > > > >

Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Ville Voutilainen
On Sun, 20 Sep 2020 at 09:02, Thiago Macieira wrote: > Hmm... I had clearly forgotten about QNX and INTEGRITY, especially the latter. > I thought the problem with QNX was solved since they switched to Clang (or > haven't they?). QNX 7 AFAIK has a compiler based on GCC 8. Switching to Clang doesn

Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Ville Voutilainen
On Sun, 20 Sep 2020 at 09:06, Thiago Macieira wrote: > > You can't write a conversion from a type you don't own to an int, or > > vice versa. Don't fall into that trap, it's impossible > > to dig yourself out of it. > > Sorry, I don't understand the issue. > > I'm thinking of an internal function

[Development] How to debug segfaulting test in Coin

2020-09-21 Thread Konstantin Tokarev
Hello, What is the usual procedure of debuggin test segfaults? As far as I can see now all configurations print "Skip uploading core files because CORE_FILES_PATH is not set in the environment" so it's not possible to get any further then fact that test finished with segmentation fault. Is the

Re: [Development] Status of QWebEngine

2020-09-21 Thread Allan Sandfeld Jensen
On Montag, 21. September 2020 13:05:46 CEST Benjamin TERRIER wrote: > Hi, > > I am trying to contribute to the dev branch of qtwebengine, but I cannot > get it to compile with Qt 5.15.1 or with Qt 6 preview. > > With Qt 5.15 the compiler complains that `QWebEngineCertificateError` does > not have

[Development] Status of QWebEngine

2020-09-21 Thread Benjamin TERRIER
Hi, I am trying to contribute to the dev branch of qtwebengine, but I cannot get it to compile with Qt 5.15.1 or with Qt 6 preview. With Qt 5.15 the compiler complains that `QWebEngineCertificateError` does not have a default constructor (required because of `Q_DECLARE_METATYPE(QWebEngineCertific

Re: [Development] QVariant comparison in Qt6

2020-09-21 Thread Lars Knoll
> On 18 Sep 2020, at 17:11, Thiago Macieira wrote: > > On Friday, 18 September 2020 06:48:50 PDT Lars Knoll wrote: >> std::optional QVariant::compare(const QVariant &other); >> >> Would that be good enough? > > Why the optional? Because there is no valid comparison we could do between a QDat