The question is simple, I've even seen similar here, but still can't reach the desired result((
I wand to configure qt pro-file, so that additional resource files would be copied into the output, in msvs it's a matter of one checkbox, like "copy resource to the output", but currently Qt Creator is used, so i tried this in a pro-file:
DESTDIR = ../../../bin
CONFIG(debug, debug|release):DESTDIR = $$join(DESTDIR,,,_debug)
#copyfiles.commands = cp $$(TARGET)/user_accounts.sqlite $$(DESTDIR)/user_accounts.sqlite
copyfiles.commands = cp user_accounts.sqlite $$(DESTDIR)/user_accounts.sqlite
QMAKE_EXTRA_TARGETS += copyfiles
POST_TARGETDEPS += copyfiles
cp is provided by msys, works ok from the command line. Still, when I build & run my project nothing happens. The recipe was taken from here, not that i missed googling. Why so, could you help?