Warning messages about "recipe for target"



  • Hello,

    when compiling my Qt/QML application I get a lot of warnings like this:

    Makefile:22552: warning: overriding recipe for target 'install_itemfolder_01'
    Makefile:22543: warning: ignoring old recipe for target 'install_itemfolder_01'
    Makefile:22556: warning: overriding recipe for target 'uninstall_itemfolder_01'
    Makefile:22547: warning: ignoring old recipe for target 'uninstall_itemfolder_01'
    

    What does it mean? I tried to clean (delete) the build directory and completely rebuild the project but it didn't help.

    Does it have something to do with these lines in my project (.pro) file?

    folder_01.source = qml/MyApp
    folder_01.target = qml
    DEPLOYMENTFOLDERS = folder_01
    

    Thank you


  • Moderators

    @vlada

    I think it is some speciality of qmake.
    Try to reorder to

    DEPLOYMENTFOLDERS = folder_01
    folder_01.source = qml/MyApp
    folder_01.target = qml
    

    How did you get the variable name "DEPLOYMENTFOLDERS"?
    I could not find in documentation.



  • These lines were created automatically when I set up my project a few years ago. Could it be an old unsupported way of deploying QML files?


Log in to reply
 

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