Skip to content

Commit

Permalink
Add installation to PREFIX on mac when set
Browse files Browse the repository at this point in the history
This allows the app to be shipped in a non-bundeled version

We need this to ship the app on macOS with nix
  • Loading branch information
mkg20001 committed Nov 25, 2023
1 parent e44fc85 commit 2b0ed30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions QLog.pro
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ macx: {
equals(QT_MAJOR_VERSION, 6): LIBS += -lqt6keychain
equals(QT_MAJOR_VERSION, 5): LIBS += -lqt5keychain
DISTFILES +=

# This allows the app to be shipped in a non-bundeled version
!isEmpty(PREFIX) {
target.path = $$PREFIX
INSTALLS += target
}
}

win32: {
Expand Down

0 comments on commit 2b0ed30

Please sign in to comment.