Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Override QMAKE_COPY
Qt 6.11 is out! See what's new in the release blog

Override QMAKE_COPY

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MaxL
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jseeQt
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MaxL
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved