[Interest] How long is QMatrix obsolete?

André Somers andre at familiesomers.nl
Sat Aug 9 12:39:01 CEST 2014

Why would you think that? For what yse of QMatrix is QTransform not an (almost) drop-in replacement with more capabilities? I think it is perfectly reasonable to remove QMatrix in Qt 6, including all methods in other classes that take a QMatrix as an argument. The same goes for QRegExp by the way. 


Verstuurd vanaf mijn iPhone

> Op 9 aug. 2014 om 10:34 heeft Guido Seifert <wargand at gmx.de> het volgende geschreven:
> That's not what I meant. I just question whether it makes sense to declare a class like QMatrix obsolete.
> It is not like QFtp or QHttp, QMatrix is so entwined in old code, it can never be removed or changed.
> The obsolete warning is under those circumstances totally useless. It says:
> "We _strongly_ advise against using it in new code."
> Why? What could happen in the worst case? I think: Absolutely nothing. :-)
> Maybe it could be removed in a Qt6 version. But this would make a Qt5->Qt6 transition as hard as the
> Qt3->Qt4 transition. I wonder how high the chances are for this to happen.
> Guido
> On Sat, 9 Aug 2014 08:16:22 +0000
> Gunnar Sletta <gunnar.sletta at jolla.com> wrote:
>> All uses of QMatrix have an equivalent version which uses QTransform. If you want a proper matrix, use QMatrix3x3 or QMatrix4x4.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list