🔨 refactor(IDK): no message!

This commit is contained in:
Eshan Roy
2024-11-27 15:30:16 +05:30
parent 12bce14892
commit cfa8375dc5
4 changed files with 64 additions and 8 deletions

View File

@@ -11,6 +11,31 @@ CONFIG += c++17
BUILD_PREFIX = $$(CA_BUILD_DIR)
isEmpty(BUILD_PREFIX) {
BUILD_PREFIX = ./build
}
MOC_DIR = $$BUILD_PREFIX/moc-qt6
OBJECTS_DIR = $$BUILD_PREFIX/obj-qt6
UI_DIR = $$BUILD_PREFIX/uic-qt6
unix {
isEmpty(PREFIX){
PREFIX = /usr
}
BINDIR = $$PREFIX/bin
target.path = $$BINDIR
desktop.path = $$PREFIX/share/applocations/
desktop.files = "snigdhaos-falcon.desktop"
icons.path = /usr/share/icons/hicolor/scalable/apps/
icons.files = snigdhaos-falcon.svg
SCRIPTS_PATH = $$PREFIX/share/snigdhaos/
scripts.files = scripts
scripts.path = $$SCRIPTS_PATH
INSTALLS += target icons desktop scripts
}
SOURCES += \
main.cpp \
@@ -24,10 +49,11 @@ FORMS += \
TRANSLATIONS += \
snigdhaos-falcon_en_US.ts
CONFIG += lrelease
CONFIG += embed_translations
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
# CONFIG += lrelease
# CONFIG += embed_translations
# # Default rules for deployment.
# qnx: target.path = /tmp/$${TARGET}/bin
# else: unix:!android: target.path = /opt/$${TARGET}/bin
# !isEmpty(target.path): INSTALLS += target