Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Overriding recipe for target (qmake)
Qt 6.11 is out! See what's new in the release blog

Overriding recipe for target (qmake)

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 5.3k 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.
  • G Offline
    G Offline
    gbonnema
    wrote on last edited by
    #1

    Edit: I replaced the entire query, because I was not getting answers, so the question was not clearly formulated. I hope the next formulation elicites more responses.

    My .pro file seems to generate multiple times the same install targets. Below I show the relevant part of a .pro file that has all the information. Could anyone point me in the direction what could possibly cause this?

    @unix|win32 {
    target.path = $$PWD/../../../lib/datamodel
    INSTALLS += target

    headerfiles.path=$$PWD/../../../include/datamodel
    headerfiles.files = $$PWD/*.h
    INSTALLS += headerfiles
    

    }
    @

    And the output:

    @Makefile:458: warning: overriding recipe for target 'install_target'
    Makefile:449: warning: ignoring old recipe for target 'install_target'
    Makefile:462: warning: overriding recipe for target 'uninstall_target'
    Makefile:453: warning: ignoring old recipe for target 'uninstall_target'
    Makefile:458: warning: overriding recipe for target 'install_target'
    Makefile:449: warning: ignoring old recipe for target 'install_target'
    Makefile:462: warning: overriding recipe for target 'uninstall_target'
    Makefile:453: warning: ignoring old recipe for target 'uninstall_target'@

    I checked the Makefile and indeed it generates the same entries multiple times.

    Ideas? Anyone?

    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