加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
common.pri 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
VERSION = 3.2.2
DEFINES += VERSION='\\"$${VERSION}\\"'
DEFINES += MULTI_DISABLE
DEFINES += V10_SP1='\\"V10SP1\\"'
DEFINES += V10_SP1_EDU='\\"V10SP1-edu\\"'
DEB_VERSION = 3.14.5.7
DEFINES += DEB_VERSION='\\"$${DEB_VERSION}\\"'
exists(/usr/include/ukuisdk/kylin-com4cxx.h) {
message("kylin common for cxx find.")
DEFINES += KYLIN_COMMON=true
LIBS += -lukui-com4cxx
}
exists(/usr/include/kysdk/applications/kdialog.h) {
message("kyfiledialog find")
DEFINES += KY_FILE_DIALOG
}
exists(/usr/include/kysdk/kysdk-system/libkysysinfo.h) {
message("kysysinfo find")
DEFINES += KY_SDK_SYSINFO
}
exists(/usr/include/kysdk/applications/kaboutdialog.h) {
message("kyqtwidgets find")
DEFINES += KY_SDK_QT_WIDGETS
}
exists(/usr/include/kysdk/applications/ukuistylehelper/ukuistylehelper.h) {
message("kywaylandhelper find")
DEFINES += KY_SDK_WAYLANDHELPER
}
exists("/usr/include/libkyudfburn/udfburn_global.h") {
DEFINES += KY_UDF_BURN
}
exists("/usr/include/ukui-search/libsearch_global.h") {
DEFINES += KY_UKUI_SEARCH
}
exists("/usr/include/kysdk/desktop/kysdk-soundeffects_global.h") {
DEFINES += KY_SDK_SOUND_EFFECTS
PKGCONFIG += kysdk-soundeffects
}
exists("/usr/include/kysdk/kysdk-system/libkydate.h") {
DEFINES += KY_SDK_DATE
PKGCONFIG += kysdk-systime
}
exists(/usr/include/kysdk/kysdk-system/libkysysinfo.h) {
message("kysysinfo find")
DEFINES += KY_SDK_SYSINFO
}
exists(/usr/include/kysdk/diagnosetest/libkydatacollect.h) {
message("diagnosetest find")
DEFINES += KY_SDK_DATACOLLECT
}
USE_SET_ICON=$$(USE_SET_ICON_GEOMETRY)
equals(USE_SET_ICON,1) {
message("USE_SET_ICON_GEOMETRY is set")
DEFINES += KSTARTUPINFO_HAS_SET_ICON_GEOMETRY
} else {
message("USE_SET_ICON_GEOMETRY is not set")
}
DEFINES += VFS_CUSTOM_PLUGIN
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化