[Interest] QML int not big enough

Jason H jhihn at gmx.com
Sat Sep 15 22:30:31 CEST 2018


Item {
    property int now: 0 // will be new Date().getTime() // milliseconds since epoch is 64 bit
    property var now: new Date().getTime() // this gives me a parning of "use int or real to improve performance (M311)
}

How can I use the right type and not get the warning?



More information about the Interest mailing list