-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClipboardFilter.pro
74 lines (58 loc) · 1.99 KB
/
ClipboardFilter.pro
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
# By YangHuanhuan (3347484963@qq.com)
# Github: https://github.com/huanhuanonly/ClipboardFilter
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
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
SOURCES += \
src/Logger.cpp \
src/MainFloatingWindow.cpp \
src/TextReplaceRuleListView.cpp \
src/VariableParser.cpp \
src/main.cpp \
src/MainDialog.cpp
INCLUDEPATH += include
HEADERS += \
include/ClickableLabel.h \
include/Exception.h \
include/Logger.h \
include/MainFloatingWindow.h \
include/StatusBarLabel.h \
include/TextEditWithVariables.h \
include/TextReplaceRuleListView.h \
include/TextReplacer.h \
include/Titlebar.h \
include/Trie.h \
include/VariableParser.h \
include/VariablesShader.h \
include/MainDialog.h
FORMS += \
data/Ui/maindialog.ui
TRANSLATIONS += \
data/Ts/ClipboardFilter_zh_CN.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
TARGET = "ClipboardFilter"
VERSION = 1.1.2
DEFINES += __VERSION__=1.1.2 \
SETTINGS__FLOATINGWINDOW_WIDTH=300 \
SETTINGS__FLOATINGWINDOW_HEIGHT=60 \
SETTINGS__LOGGER_MAXCOUNT=520 \
SETTINGS__LOGGER_OUTPUT__RESULT_OF_VARIABLES=true \
SETTINGS__UPDATE_ON_STARTUP=false
QMAKE_CXXFLAGS += -Wno-attributes
QMAKE_CXXFLAGS += -Wno-switch
QMAKE_TARGET_COMPANY = "YangHuanhuan"
QMAKE_TARGET_PRODUCT = "ClipboardFilter"
QMAKE_TARGET_DESCRIPTION = "The ClipboardFilter 1.1.2 By YangHuanhuan 3347484963@qq.com"
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2023-2024 YangHuanhuan 3347484963@qq.com. All rights reserved."
RC_LANG = 0x0004
RESOURCES += \
data/res.qrc
RC_ICONS += "data/Icon/MainIcon.ico"