Do something on QML file created
-
Hi,
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,
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 😉