Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
5.11.0 Beta 2, 6.4.0 FF
-
None
-
8
-
a25ba47c2b820117bdc60ba6bc772d6ea4093a4c
-
Foundation PM Prioritized, Foundation Sprint 64, Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71, Foundation Sprint 72, Foundation Sprint 73
Description
Now QTimer::start(int msec) accepts only int values which corresponds to ~ 24 days as maximum time interval. Please change interval type in QTimer to qint64 to allow more easily create schedulers with big time intervals - months, etc.
QTimer::start(std::chrono::milliseconds msec) does not work for this as value converted to int inside it, which is wrong I think.
Attachments
Issue Links
- is blocked by
-
QTBUG-105950 Cannot change the type of member used in the Q_PROPERTY without breaking compatibility
- Reported
- relates to
-
QTBUG-113544 Add QChronoTimer
- Closed
- resulted in
-
QTBUG-110059 Use 'std::chrono first' approach for timer methods (like QObject::startTimer, QTimer, QDeadlineTimer etc.)
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-67383 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429806,23 | Change interval type and remainingTime in QTimer to qint64 | dev | qt/qtbase | Status: NEW | 0 | 0 |