I am trying to write a Qt application that will use QProcess
to call ffmpeg.exe
to convert media files. I cannot figure out the best way to make sure that the ffmpeg.exe
file gets copied from my development directory to the build directory so that the built (and later deployed) application will have access to it.
I have seen information about using the INSTALLS
parameter in my .pro file (https://stackoverflow.com/a/13168287) but the qmake docs say:
Note that qmake will skip files that are executable.
with all of the above said, how should one go about making sure that the exe file I want to use for QProcess
ends up in the build directory (ready to be deployed later)?