From e7c23f5ccd46ad7d9446fa7f92c35e7b1f86f8b5 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 16 Jan 2023 14:58:54 +0400 Subject: [PATCH] Change instalation path to be Arch linux friendly --- src/AniLibria.pro | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/AniLibria.pro b/src/AniLibria.pro index da83155..403c137 100644 --- a/src/AniLibria.pro +++ b/src/AniLibria.pro @@ -237,17 +237,9 @@ QML_IMPORT_PATH = # Additional import path used to resolve QML modules just for Qt Quick Designer QML_DESIGNER_IMPORT_PATH = -# Default rules for deployment. -!flatpak{ - qnx: target.path = /tmp/$${TARGET}/bin - else: unix:!android: target.path = /opt/$${TARGET}/bin -}else{ - target.path = $$PREFIX/bin -} -!isEmpty(target.path) { - unix: INSTALLS += target desktop $${UNIX_ICONS} - else:macx: INSTALLS += target -} +# Arch linux common instalation path +target.path = /usr/bin +INSTALLS += target desktop $${UNIX_ICONS} flatpak { metadata.path = $$PREFIX/share/metainfo -- 2.39.0