用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.4 KiB

# lib/qmake/this-file
# include/SARibbonBar/
include($$PWD/common.pri)
SARIBBON_INCLUDE_DIR = $$PWD/../../include/SARibbonBar
INCLUDEPATH += $${SARIBBON_INCLUDE_DIR}
DEPENDPATH += $${SARIBBON_INCLUDE_DIR}
greaterThan(QT_MAJOR_VERSION, 4){
# 目前 frameless支持qt5.14,qt5.15,qt6.4+,除了上诉版本,都使用不了
greaterThan(QT_MINOR_VERSION, 13){
SA_RIBBON_CONFIG += use_frameless
}
}else{
# Qt6,qt6.4+可使用frameless
greaterThan(QT_MAJOR_VERSION, 5){
greaterThan(QT_MINOR_VERSION, 3){
SA_RIBBON_CONFIG += use_frameless
}
}
}
contains( SA_RIBBON_CONFIG, use_frameless ) {
!contains(CONFIG,C++17){
CONFIG += c++17
}
# framelessHelper的引用路径
INCLUDEPATH += $${SARIBBON_INCLUDE_DIR}/3rdparty/framelesshelper/include
DEPENDPATH += $${SARIBBON_INCLUDE_DIR}/3rdparty/framelesshelper/include
INCLUDEPATH += $${SARIBBON_INCLUDE_DIR}/3rdparty/framelesshelper/qmake/inc/core
DEPENDPATH += $${SARIBBON_INCLUDE_DIR}/3rdparty/framelesshelper/qmake/inc/core
# 定义FRAMELESSHELPER_FEATURE_static_build为-1让frameless也作为库的一部分
DEFINES += FRAMELESSHELPER_FEATURE_static_build=-1
# 定义SARIBBON_USE_3RDPARTY_FRAMELESSHELPER为1
DEFINES += SARIBBON_USE_3RDPARTY_FRAMELESSHELPER=1
}else{
DEFINES += SARIBBON_USE_3RDPARTY_FRAMELESSHELPER=0
}
LIBS += -L$${SARIBBON_LIB_DIR} -l$${SARIBBON_LIB_NAME}