QT5.51을 사용하고 있습니다. 왜 "T1의 무효? QTime t1 = QTime().addSecs(122);
qDebug() << t1.isValid() << t1.toString("hh:mm:ss");
내가"0시 2분 2초 "을 얻을 것으로 예상,하지만 난"거짓 얻을.
방법이 있습니다. 이 메서드는 정적 QTime 있지만 뭔가 발생하면이 값을 다시 싶습니다. static QTime time(QTime::currentTime());
// calculate two new data points:
double key = time.elapsed()/1000;
static double lastPointKey = 0;
i