PDA

View Full Version : What is the difference between qreal and type of int?



rezas1000
9th September 2014, 14:25
Hello,What is the difference between qreal and type of int? thanks.

void addRect(qreal x, qreal y, qreal width, qreal height)

anda_skoa
9th September 2014, 14:55
Have a look at the declaration of qreal.
It is in qglobal.h
If you are using QtCreator, just press F2 when the cursor is on the qreal keyword

Cheers,
_

Have a look at the declaration of qreal.
It is in qglobal.h
If you are using QtCreator, just press F2 when the cursor is on the qreal keyword

Cheers,
_