@@ -50,13 +50,32 @@ macx {
5050 ICON = Resources/admeshgui.icns
5151 QMAKE_INFO_PLIST = Info.plist
5252 include (homebrew.pri )
53+ app.files += ADMesGUI.app
54+ app.path = /Applications
55+ INSTALLS += app
5356}
5457
5558win32 {
5659 LIBS += -lintl -liconv
5760 RC_FILE = admeshgui.rc
5861}
5962
63+ unix {
64+ bin.files += admeshgui
65+ bin.path = /usr/bin
66+ mainico.files += Resources/admeshgui.svg
67+ mainico.path = /usr/share/icons/hicolor/scalable/apps
68+ 16ico.files += Resources/16x16/admeshgui.png
69+ 16ico.path = /usr/share/icons/hicolor/16x16/apps
70+ 32ico.files += Resources/32x32/admeshgui.png
71+ 32ico.path = /usr/share/icons/hicolor/32x32/apps
72+ 48ico.files += Resources/48x48/admeshgui.png
73+ 48ico.path = /usr/share/icons/hicolor/48x48/apps
74+ desktop.files += admeshgui.desktop
75+ desktop.path = /usr/share/applications
76+ INSTALLS += bin desktop mainico 16ico 32ico 48ico
77+ }
78+
6079DISTFILES += \
6180 fshader.glsl \
6281 vshader.glsl
@@ -73,18 +92,4 @@ OTHER_FILES += \
7392 Resources/admeshgui.ico \
7493 admeshgui.rc
7594
76- bin.files += admeshgui
77- bin.path = /usr/bin
78- mainico.files += Resources/admeshgui.svg
79- mainico.path = /usr/share/icons/hicolor/scalable/apps
80- 16ico.files += Resources/16x16/admeshgui.png
81- 16ico.path = /usr/share/icons/hicolor/16x16/apps
82- 32ico.files += Resources/32x32/admeshgui.png
83- 32ico.path = /usr/share/icons/hicolor/32x32/apps
84- 48ico.files += Resources/48x48/admeshgui.png
85- 48ico.path = /usr/share/icons/hicolor/48x48/apps
86- desktop.files += admeshgui.desktop
87- desktop.path = /usr/share/applications
88- INSTALLS += bin desktop mainico 16ico 32ico 48ico
89-
9095
0 commit comments