[Interest] Removal of convenience functions?

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Jul 3 12:39:20 CEST 2019

On 03/07/2019 10:39, Michael Sué wrote:
> QDir &QDir::operator=(const QString &path) was removed in 5.13.0, a simple convenience function. What was the problem?
> Will everyone have to reinvent the wheel to get back such a convenience function in the future of Qt?

It was not removed; you can still use it today. But note that it has 
been deprecated since Qt 4 (and 5.13 added proper deprecation markers).

The direct replacement is setPath().

Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190703/9c51433b/attachment.bin>

More information about the Interest mailing list