Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Do something on QML file created
hdeclerck last edited by hdeclerck
I am new to using QML .Not sure if this is even possible, but I am trying to create an event handler that reacts to new QML files being created on my local filesystem (outside of my current project) and add that filename to a list of filenames in that local folder.
Thank you for any help!
hi @hdeclerck and welcome
I don't think there's something out of the box for you to use, but you could create your own Qt program to do that, using QFileSystemWatcher class.
Should work fine, as long as you limit the number of folders watched and do not simply watch the whole partition 😉
hdeclerck last edited by
Thank you for the help, that looks promising!