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

Overriding recipe for target (qmake)



  • 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?


Log in to reply