mirror of
https://github.com/Snigdha-OS/snigdhaos-falcon.git
synced 2025-09-21 23:44:56 +02:00
60 lines
1.4 KiB
Prolog
60 lines
1.4 KiB
Prolog
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
TARGET = snigdhaos-falcon
|
|
TEMPLATE = app
|
|
CONFIG += c++17
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
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 \
|
|
snigdhaosfalcon.cpp
|
|
|
|
HEADERS += \
|
|
snigdhaosfalcon.h
|
|
|
|
FORMS += \
|
|
snigdhaosfalcon.ui
|
|
|
|
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
|