Re: [Development] [Interest] Need help with deprecated QVariant functions

2019-02-25 Thread Edward Welbourne
Il 21/02/19 21:09, Christian Ehrlicher ha scritto: >> the two functions qVariantFromValue() and qVariantSetValue() are >> deprecated but the replacements QVariant::setValue() / fromValue() are >> using exactly those two functions... >> Those two functions are some of the last obsolete functions whi

Re: [Development] [Interest] Need help with deprecated QVariant functions

2019-02-22 Thread Thiago Macieira
On Friday, 22 February 2019 12:38:55 PST Giuseppe D'Angelo via Development wrote: > IIRC, the reason for qVariantSetValue is to work around VS2005 not > supporting member function templates. Almost. That wasn't VS2005 (a.k.a VS 8.0) that had the problem. It was VS 6.0, which predated the C++98 t

Re: [Development] [Interest] Need help with deprecated QVariant functions

2019-02-22 Thread Giuseppe D'Angelo via Development
Il 22/02/19 21:38, Giuseppe D'Angelo via Development ha scritto: (And, support for std::size / std::data, so that std::span works out of the box). Actually, taking this one back, std::span should already be working out of the box... Cheers, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com |

Re: [Development] [Interest] Need help with deprecated QVariant functions

2019-02-22 Thread Giuseppe D'Angelo via Development
Howdy, Il 21/02/19 21:09, Christian Ehrlicher ha scritto: Hi, Redirecting the discussion to development@... the two functions qVariantFromValue() and qVariantSetValue() are deprecated but the replacements QVariant::setValue() / fromValue() are using exactly those two functions... Those two