Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hi how can subtract seconds by 10 please QString filenamecamera=QDateTime::currentDateTime().toString(QString("'%1/CaméraAvant_'yyyy_MM_dd'_'hh_mm_ss'").arg(dossier));
QString filenamecamera=QDateTime::currentDateTime().addSecs(-10).toString(QString("'%1/CaméraAvant_'yyyy_MM_dd'_'hh_mm_ss'").arg(dossier));
https://doc.qt.io/qt-5/qdatetime.html#addSecs
std::chrono #include <chrono>
@JoeCFD thanks