Warning messages about "recipe for target"
Unsolved
QML and Qt Quick
-
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
-
-
@Torsten-Krause
I found it!
there is a for loop, that adds the install folders a second time to the make file.
I had to uncomment the part in the else:unix case:# for(deploymentfolder, DEPLOYMENTFOLDERS) { # item = item$${deploymentfolder} # itemfiles = $${item}.files # $$itemfiles = $$eval($${deploymentfolder}.source) # itempath = $${item}.path # $$itempath = $${installPrefix}/$$eval($${deploymentfolder}.target) # export($$itemfiles) # export($$itempath) # INSTALLS += $$item # }
-
Sorry, I couldn't reply sooner. I rebuilt all the project files from scratch and that fixed the warnings I was getting.
But I still get a lot of different warnings when compiling for Android. Like this bug some missing translations or obsolete Android functions.