2023-01-15 13:26:14 +01:00
|
|
|
QT += core gui concurrent
|
|
|
|
QT += KItemViews
|
|
|
|
QT += KCompletion
|
|
|
|
QT += widgets
|
|
|
|
QT += KConfigCore KConfigGui
|
|
|
|
QT += KCoreAddons
|
|
|
|
QT += KDBusAddons
|
2023-01-07 12:44:45 +01:00
|
|
|
|
|
|
|
#LIBS += -lKF5WindowSystem
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
downloadfile.cpp \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
tools.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
downloadfile.h \
|
|
|
|
mainwindow.h \
|
|
|
|
tools.h
|
|
|
|
|
|
|
|
FORMS += \
|
2023-01-22 14:33:23 +01:00
|
|
|
configuration.ui \
|
2023-01-07 12:44:45 +01:00
|
|
|
mainwindow.ui
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
2023-02-10 21:32:20 +01:00
|
|
|
RsyncUI_fr_FR.ts
|
2023-01-07 12:44:45 +01:00
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
/usr/include/KF5
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
2023-01-18 23:12:21 +01:00
|
|
|
else: unix:!android: target.path = /usr/bin/
|
2023-01-07 12:44:45 +01:00
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2023-01-18 23:12:21 +01:00
|
|
|
|
|
|
|
INSTALLS += lang
|
2023-02-03 01:04:48 +01:00
|
|
|
INSTALLS += documentation
|
|
|
|
INSTALLS += desktopfile
|
|
|
|
INSTALLS += icon
|
2023-01-27 18:14:50 +01:00
|
|
|
|
|
|
|
RESOURCES +=
|
2023-01-31 14:03:25 +01:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
RsyncUI.desktop
|
2023-02-03 01:04:48 +01:00
|
|
|
|
2023-02-08 00:34:25 +01:00
|
|
|
lang.path = /languages/
|
2023-02-10 21:32:20 +01:00
|
|
|
lang.path = /usr/share/locale/
|
2023-02-08 00:34:25 +01:00
|
|
|
lang.files = languages/*
|
2023-02-03 01:04:48 +01:00
|
|
|
documentation.path = /usr/share/doc/RsyncUI
|
|
|
|
documentation.files = README*
|
|
|
|
desktopfile.path = /usr/share/applications
|
|
|
|
desktopfile.files = RsyncUI.desktop
|
|
|
|
icon.path = /usr/share/icons/
|
|
|
|
icon.files = RsyncUI.png
|