I tried using QDateTime fromTime_t as follows:
QDateTime t; time_t elapsedTime; t.fromTime_t(elapsedTime);
As a result, nothing is assigned to the QDateTime object. However, using the setTime_t function does work (it is not static). Something is happening here, am I missing?
source share