Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -312,22 +312,26 @@ win32 {
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
target.path = $$BINDIR

isEmpty(APPSDIR) {
APPSDIR = share/applications
}
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
desktop.path = $$APPSDIR
QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in
desktop.files = distributions/jamulus.desktop
contains(CONFIG, "headless") {
INSTALLS += target
} else {
isEmpty(APPSDIR) {
APPSDIR = share/applications
}
APPSDIR = $$absolute_path($$APPSDIR, $$PREFIX)
desktop.path = $$APPSDIR
QMAKE_SUBSTITUTES += distributions/jamulus.desktop.in
desktop.files = distributions/jamulus.desktop

isEmpty(ICONSDIR) {
ICONSDIR = share/icons/hicolor/512x512/apps
}
ICONSDIR = $$absolute_path($$ICONSDIR, $$PREFIX)
icons.path = $$ICONSDIR
icons.files = distributions/jamulus.png
isEmpty(ICONSDIR) {
ICONSDIR = share/icons/hicolor/512x512/apps
}
ICONSDIR = $$absolute_path($$ICONSDIR, $$PREFIX)
icons.path = $$ICONSDIR
icons.files = distributions/jamulus.png

INSTALLS += target desktop icons
INSTALLS += target desktop icons
}
}

RCC_DIR = src/res
Expand Down