1 Star 0 Fork 1

黄朋生/QtKeyboard_1

forked from xueshanfeihu999/QtKeyboard 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
QtKeyboard.pro 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
Strong 提交于 2021-05-02 21:00 . 添加注释
#**********************************************************
#Author: Qtjun
#Qt君公众号
#官网:www.qthub.com
#QQ: 732271126
#Email: 2088201923@qq.com
#**********************************************************
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = QtKeyboard
TEMPLATE = app
QMAKE_CXXFLAGS += -std=c++0x
CONFIG += c++11
win32: RC_ICONS += app.ico
INCLUDEPATH = Keyboard
SOURCES += main.cpp \
Keyboard/KeyButton.cpp \
Keyboard/Keyboard.cpp \
Keyboard/NumberKeyboard.cpp
HEADERS += \
Keyboard/AbstractKeyboard.h \
Keyboard/KeyButton.h \
Keyboard/Keyboard.h \
Keyboard/NumberKeyboard.h
RESOURCES += Resources/Image.qrc
# 可启用下列宏
# 启用汉字库
# ENABLED_CHINESE_LIB
# 启用词组汉字库
# ENABLED_CHINESE_PHRASE_LIB
# 启用谷歌汉字库(推荐使用)
# ENABLED_GOOGLE_CHINESE_LIB
# 启用文泉驿字体库
# ENABLED_WQY_FONT
DEFINES += ENABLED_GOOGLE_CHINESE_LIB
contains(DEFINES, ENABLED_CHINESE_LIB) {
RESOURCES += Resources/ChineseLib.qrc
}
contains(DEFINES, ENABLED_CHINESE_PHRASE_LIB) {
RESOURCES += Resources/ChinesePhraseLib.qrc
}
contains(DEFINES, ENABLED_GOOGLE_CHINESE_LIB) {
RESOURCES += Resources/GoogleChineseLib.qrc
}
contains(DEFINES, ENABLED_WQY_FONT) {
RESOURCES += Resources/Font.qrc
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/codeborunte/QtKeyboard_1.git
git@gitee.com:codeborunte/QtKeyboard_1.git
codeborunte
QtKeyboard_1
QtKeyboard_1
master

搜索帮助