V
V
vjufvufcgyf2020-11-24 18:09:19
Qt
vjufvufcgyf, 2020-11-24 18:09:19

How do you know if a file has changed?

without open/close cycles. using event

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ighor July, 2020-11-25
@vjufvufcgyf

https://doc.qt.io/qt-5/qfilesystemwatcher.html

R
Ronald McDonald, 2020-11-24
@Zoominger

without open/close cycles. using event

The problem has no solution in pure C++.

R
res2001, 2020-11-24
@res2001

Linux has inotify under Windows FindFirstChangeNotification.
Perhaps there is some kind of cross-platform library that can do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question