Skip to content

Commit

Permalink
player: add install target(tv.ini) to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 7, 2013
1 parent 7067738 commit 6034c4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion deploy.pri
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ isEqual(TEMPLATE, app) {
target.path = $${INSTALL_PREFIX}/$${INSTALL_FOLDER}
INSTALLS += target share


for(bin, BIN_INSTALLS) {
eval($${bin}.path = $${INSTALL_PREFIX}/$${INSTALL_FOLDER})
message("adding $$bin to bin install targets...")
INSTALLS += $$bin
}


3 changes: 2 additions & 1 deletion examples/player/player.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ HEADERS += \
Button.h \
Slider.h


tv.files = res/tv.ini
BIN_INSTALLS += tv
include($$PROJECTROOT/deploy.pri)

RESOURCES += \
Expand Down

0 comments on commit 6034c4c

Please sign in to comment.