Add a command to create the target directory and use the correct cp command and you will get the file copied to the correct location. At the moment you are asking cp to to copy the file into $$OUT_PWD and complaining that it does.
Add a command to create the target directory and use the correct cp command and you will get the file copied to the correct location. At the moment you are asking cp to to copy the file into $$OUT_PWD and complaining that it does.
I tried this:
And also create subfolder log under built dir (manually create, not use command in .pro file)Qt Code:
EXTRA_BINFILES += $$PWD/log/myfiles.txt EXTRA_OUT_FILES += $$OUT_PWD/log/ for(FILE,EXTRA_BINFILES){ QMAKE_POST_LINK += $$quote(cp $${FILE} $$EXTRA_OUT_FILES$$escape_expand(\n\t)) }To copy to clipboard, switch view to plain text mode
Still not work![]()
QMAKE_POST_LINK should contain a composite variable name that defines actions that need to be taken, not the actual commands.
I'm new to this site and i saw a game i could download for free, is that legal for me to do, i saw other websites saying the game is not free, but i saw it on here, so what can you tell me?
Bookmarks