[Interest] QVariant compare operator
Thiago Macieira
thiago.macieira at intel.com
Sat Apr 18 15:58:19 CEST 2020
On Saturday, 18 April 2020 07:28:59 -03 Bernhard Lindner wrote:
> Hi!
>
> > Relational comparisons with QVariant are deprecated in 5.15 and will be
> > removed because they are a misfeaure.
> > Redesign your code so your question does not need to be asked.
>
> Could you please explain why comparing two QVariants is a misfeature?
Not comparing for equality. Comparing for ordering.
What comes first, QSize(1, 1) or QRegularExpression("^$") ?
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Interest
mailing list