[Qt-creator] qfloat16 support

Glen Mabey gmabey at swri.org
Thu Mar 30 05:38:50 CEST 2017


Hello,

I contributed to the new qfloat16 class in Qt 5.9.  Today I compiled QtCreator from the master branch and I’m wondering what I could do to help qfloat16 instances be displayed with a float-like value, instead of what it’s currently doing, which is to show the quint16 that it’s stored in.

Best Regards,
Glen Mabey

#include <QFloat16>
int main()
{
    qfloat16 f1 = 45.3f;
    qfloat16 f2 = 45.1f;
    return 0;
}


More information about the Qt-creator mailing list