Override QMAKE_COPY



  • Hi everyone,

    I have a simple question.
    I am installing files during the make install but what I'd like to do is to execute a cp -R instead of the default cp -f because I have simlinks and I want to keep them and not be replaced by what they point to.

    Is it possible to override QMAKE_COPY ? or do I have to have a custom target that does the job ?



  • You can override it in your mkspec/<YOUR-TARGET/qmake.conf or you re-define it in your .pro file.



  • Well I'd like it to be in my .pro but I tried QMAKE_COPY=cp -R but it does not have any effect..


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.