1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
TEMPLATE = aux
TARGET = UBsync-ui
include($$PWD/../common-install.pri)
RESOURCES += UBsync-ui.qrc
QML_FILES += $$files(*.qml,true) \
$$files(*.js,true)
CONF_FILES += UBsync.apparmor \
UBsync.accounts
AP_TEST_FILES += tests/autopilot/run \
$$files(tests/*.py,true)
OTHER_FILES += $${CONF_FILES} \
$${QML_FILES} \
$${AP_TEST_FILES} \
UBsync.png \
UBsync.svg \
lomiri-cloudsync-app.desktop
click {
desktop_path = /UBsync-ui
desktop_icon = UBsync-ui/UBsync.png
icon_path = /UBsync-ui
} else {
desktop_path = $${INSTALL_DATA}/applications
desktop_icon = UBsync
icon_path = $${INSTALL_DATA}/pixmaps
}
#specify where the qml/js files are installed to
qml_files.path = $${INSTALL_DATA}/UBsync-ui
qml_files.files += *.qml #$${QML_FILES}
#specify where the ui qml/js files are installed to
ui_files.path = $${INSTALL_DATA}/UBsync-ui/ui
ui_files.files += ui/*.qml ui/*.js
asset_files.path = $${qml_files.path}
asset_files.files += UBsync.svg
#specify where the component qml/js files are installed to
component_files.path = $${INSTALL_DATA}/UBsync-ui/components
component_files.files += components/*.qml
#specify where the icon file is installed to
icon_file.path = $${icon_path}
icon_file.files = UBsync.png
#install the desktop file, a translated version is
#automatically created in the build directory
desktop_file.path = $${desktop_path}
desktop_file.files = $$OUT_PWD/lomiri-cloudsync-app.desktop
desktop_file.CONFIG += no_check_exist
click {
#specify where the config files are installed to
config_files.path = $${INSTALL_DATA}/UBsync-ui
config_files.files += $${CONF_FILES}
INSTALLS += config_files
owncloud_files.path = /lib/
owncloud_files.files += aarch64-linux-gnu/bin/*
owncloud_files.files += aarch64-linux-gnu/lib/*
owncloud_files.files += arm-linux-gnueabihf/bin/*
owncloud_files.files += arm-linux-gnueabihf/lib/*
INSTALLS += owncloud_files
}
INSTALLS += \
qml_files \
asset_files \
icon_file \
desktop_file \
ui_files \
component_files
DISTFILES += \
ui/AboutPage.qml \
ui/HelpPage.qml \
ui/AccountsPage.qml \
ui/EditAccount \
ui/EditTarget \
ui/webdav.js \
ui/WebdavFileBrowser.qml \
ui/LocalFileBrowser.qml \
components/PopupStatusBox.qml \
ui/SyncServicePage.qml \
ui/TargetsPage.qml \
ui/MenuPage.qml \
ui/RequestAccountPage.qml \
components/FileBrowser.qml \
|