SHARE
TWEET

Qt Workshop qmake install

a guest Mar 23rd, 2011 224 Never
  1. linux-g++ {
  2.     PREFIX = /usr
  3.  
  4.     BINDIR = $$PREFIX/bin
  5.     DATADIR = $$PREFIX/share
  6.  
  7.     INSTALLS += target desktop icon
  8.  
  9.     target.path = $$BINDIR
  10.  
  11.     desktop.path = $$DATADIR/applications
  12.     desktop.files += myapp.desktop
  13.  
  14.     icon.path = $$DATADIR/icons/hicolor/48x48/apps
  15.     icon.files += myapp.png
  16. }
RAW Paste Data
Top