(1) If you have replaced qint64 by qint32 then why have you done it? A 32-bit CPU can process 64-bit integers, too. Your (32-bit) Qt will take care for 64-bit arithmetic. No need for replacing qint64 by qint32.
(2) As to possible errors: Check line 193. I guess "duration" was a 64-bit integer. Because a 32-bit int can hold 4*10e9 at most, the "new Generator" will fail whenever duration > 4000 sec.
Bookmarks