Skip to content

Instantly share code, notes, and snippets.

@usagi
Created December 26, 2012 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usagi/4379731 to your computer and use it in GitHub Desktop.
Save usagi/4379731 to your computer and use it in GitHub Desktop.
a part of .pro (qmake project file) for resource files (.qml .png .mp3 and etc.).
resources += \
test.qml \
test.png \
QMAKE_POST_LINK = @
for(t, resources) {
QMAKE_POST_LINK += cp -rv $$PWD/$$t $$OUT_PWD/$$t ;
}
QMAKE_CLEAN += $$resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment