qt.cfg: Define "qreal" as "double" (#1416)

By default "qreal" is a typedef for "double".
Reference: https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef
This commit is contained in:
Sebastian 2018-10-09 14:52:09 +02:00 committed by GitHub
parent 24f2e288d5
commit cf44964f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1279,6 +1279,8 @@
<define name="Q_UNUSED(X)" value="(void)X;"/>
<define name="foreach(A,B)" value="for(A:B)"/>
<define name="emit(X)" value="(X)"/>
<!-- https://doc.qt.io/qt-5/qtglobal.html#qreal-typedef -->
<define name="qreal" value="double"/>
<podtype name="qint8" sign="s" size="1"/>
<podtype name="qint16" sign="s" size="2"/>
<podtype name="qint32" sign="s" size="4"/>