qt5-ukui-platformtheme/qt5-ukui-filedialog/qt5-ukui-filedialog.pro

125 lines
4.7 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2019-12-31T14:19:01
#
#-------------------------------------------------
QT += widgets dbus x11extras quickcontrols2 KWindowSystem
greaterThan(QT_MAJOR_VERSION, 5)|greaterThan(QT_MINOR_VERSION, 7): \
QT += theme_support-private
else: \
QT += platformsupport-private
TARGET = qt5-ukui-filedialog
TEMPLATE = lib
CONFIG += plugin
CONFIG += c++11 link_pkgconfig lrelease
PKGCONFIG += gsettings-qt peony kysdk-waylandhelper
LIBS += -lX11
include(../libqt5-ukui-style/libqt5-ukui-style.pri)
DEFINES += QT5UKUIFILEDIALOG_LIBRARY
XDG_ICON_ENGINE = $$[QT_INSTALL_PLUGINS]/iconengines/libQt5XdgIconPlugin.so
DEFINES += XDG_ICON_ENGINE_PATH='\\"$${XDG_ICON_ENGINE}\\"'
QT_PLUGIN_INSTALL_DIRS = $$[QT_INSTALL_PLUGINS]
DEFINES += QT_PLUGIN_INSTALL_DIRS='\\"$${QT_PLUGIN_INSTALL_DIRS}\\"'
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_NO_DEBUG_OUTPUT
DEFINES += QT_MESSAGELOGCONTEXT
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
HEADERS += \
filedialogplugin.h \
filedialogplugin_global.h \
kyfiledialog.h \
kyfiledialogprivate.h \
pathbar.h \
sidebar.h \
ui_kyfiledialog.h \
../qt5-ukui-platformtheme/xatom-helper.h \
menutoolbutoon.h \
debug.h \
filedialoginterface.h
SOURCES += \
filedialogplugin.cpp \
kyfiledialog.cpp \
pathbar.cpp \
sidebar.cpp \
../qt5-ukui-platformtheme/xatom-helper.cpp \
menutoolbutoon.cpp \
kyfiledialogprivate.cpp \
ui_kyfiledialog.cpp
TRANSLATIONS += \
translations/qt5-ukui-filedialog_zh_CN.ts \
translations/qt5-ukui-filedialog_en_US.ts \
translations/qt5-ukui-filedialog_fa.ts \
translations/qt5-ukui-filedialog_fr.ts \
translations/qt5-ukui-filedialog_cs.ts \
translations/qt5-ukui-filedialog_bo_CN.ts \
translations/qt5-ukui-filedialog_tr.ts \
translations/qt5-ukui-filedialog_mn.ts \
translations/qt5-ukui-filedialog_kk.ts \
translations/qt5-ukui-filedialog_ky.ts \
translations/qt5-ukui-filedialog_ug.ts \
translations/qt5-ukui-filedialog_zh_HK.ts
unix {
target.path = $$[QT_INSTALL_PLUGINS]/platformthemes
INSTALLS += target
QM_FILES_INSTALL_PATH=/usr/share/qt5-ukui-platformtheme
}
DISTFILES += \
ukui.json
DEFINES += OPEN_ACTIONS_SEPARATOR='\\"open-actions-seperator\\"'
DEFINES += CREATE_ACTIONS_SEPARATOR='\\"create-actions-seperator\\"'
DEFINES += VIEW_ACTIONS_SEPARATOR='\\"view-actions-seperator\\"'
DEFINES += FILE_OPERATION_ACTIONS_SEPARATOR='\\"file-operation-actions-seperator\\"'
DEFINES += PLUGIN_ACTIONS_SEPARATOR='\\"plugin-actions-seperator\\"'
DEFINES += PROPERTIES_ACTIONS_SEPARATOR='\\"properties-actions-seperator\\"'
DEFINES += COMPUTER_ACTIONS_SEPARATOR='\\"computer-actions-seperator\\"'
DEFINES += TRASH_ACTIONS_SEPARATOR='\\"trash-actions-seperator\\"'
DEFINES += OPEN_IN_NEW_WINDOW_ACTION='\\"open-in-new-window-action\\"'
DEFINES += OPEN_IN_NEW_TAB_ACTION='\\"open-in-new-tab-action\\"'
DEFINES += ADD_TO_BOOKMARK_ACTION='\\"add-to-bookmark-action\\"'
DEFINES += OPEN_ACTION='\\"open-action\\"'
DEFINES += OPEN_WITH_ACTION='\\"open-with-action\\"'
DEFINES += OPEN_SELECTED_FILES_ACTION='\\"open-selected-files-action\\"'
DEFINES += CREATE_ACTION='\\"create-action\\"'
DEFINES += VIEW_TYPE_ACTION='\\"view-type-action\\"'
DEFINES += SORT_TYPE_ACTION='\\"sort-type-action\\"'
DEFINES += SORT_ORDER_ACTION='\\"sort-order-action\\"'
DEFINES += SORT_PREFERENCES_ACTION='\\"sort-preferences-action\\"'
DEFINES += COPY_ACTION='\\"copy-action\\"'
DEFINES += CUT_ACTION='\\"cut-action\\"'
DEFINES += TRASH_ACTION='\\"trash-action\\"'
DEFINES += DELETE_ACTION='\\"delete-action\\"'
DEFINES += RENAME_ACTION='\\"rename-action\\"'
DEFINES += PASTE_ACTION='\\"paste-action\\"'
DEFINES += REFRESH_ACTION='\\"refresh-action\\"'
DEFINES += SELECT_ALL_ACTION='\\"select-all-action\\"'
DEFINES += REVERSE_SELECT_ACTION='\\"reverse-select-action\\"'
DEFINES += PROPERTIES_ACTION='\\"properties-action\\"'
DEFINES += FORMAT_ACTION='\\"format-action\\"'
DEFINES += CLEAN_THE_TRASH_ACTION='\\"clean-the-trash-action\\"'
DEFINES += RESTORE_ACTION='\\"restore-action\\"'
DEFINES += CLEAN_THE_RECENT_ACTION='\\"clean-the-recent-action\\"'