Am 07.06.2026 um 17:48 schrieb Christian Ehrlicher via Development:
Hi,

I recently found out that none of the QRect inline functions are inlined by msvc no matter what compiler options I pass. Tested with recent cl (19.51.36244) but also saw this with older msvc2022 compilers.
Is this known and should/can we do something against this?
Forgot to say that it is working fine with QRectF so it looks like QCheckedInt is the culprit.

    QWidget w;
    QRect r(w.geometry());
    QRect r2(r.top(), r.left(), r.width(), r.height());
    w.setGeometry(r2);
    QRectF rf(r);
    QRectF rf2(rf.top(), rf.left(), rf.width(), rf.height());
    w.setGeometry(rf2.toRect());


Christian
-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to