kylin-connectivity/kylin-connectivity.pro

48 lines
1.1 KiB
Prolog

include(common/common.pri)
include(projection/projection.pri)
include(connectmanage/connectmanage.pri)
include(filedb/filedb.pri)
include(filesearch/filesearch.pri)
include(filetransfer/filetransfer.pri)
include(ui/ui.pri)
include(dbus/dbus.pri)
include(filesync/filesync.pri)
include(pcscreenmanage/pcscreenmanage.pri)
TEMPLATE = app
TARGET = kylin-connectivity
CONFIG += force_debug_info
CONFIG += link_pkgconfig
LIBS += -lffmpegthumbnailer
LIBS += -lkyconf -lsystemd
INCLUDEPATH += \
$$PWD/common \
$$PWD/projection \
$$PWD/connectmanage \
$$PWD/filedb \
$$PWD/filesearch \
$$PWD/filetransfer \
$$PWD/ui \
$$PWD/dbus \
$$PWD/filesync \
$$PWD/pcscreenmanage
!system($$PWD/translations/generate_translations_pm.sh $$PWD): error("Failed to generate qm")
TRANSLATIONS += $$PWD/translations/kylin-connectivity_en.ts \
translations/kylin-connectivity_zh_CN.ts \
translations/kylin-connectivity_bo_CN.ts
QM_FILES_INSTALL_PATH = /usr/share/kylin-connectivity/translations/
SOURCES += \
main.cpp
DISTFILES += \
translations/generate_translations_pm.sh