Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qmake INSTALLS copy on change only



  • During build I use INSTALLS directive to copy some files to my install directory. However, it looks like the files are copied everytime the build is launched. I would like it to check whether file changed (by comparing timestamp of the file) and only then to copy it.

    I have many files to copy during INSTALL and this way it takes a lot of time to copy them even if it is unnecessary.

    I also need to copy whole directory ywith all subdirectories, not only single files.

    My compiler is MSVC2013 now but cross platform solution would be better of course.


Log in to reply