修复邮件发送模块不支持Qt6的BUG
This commit is contained in:
@@ -5,11 +5,15 @@ greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11
|
||||
!contains(DEFINES, qcustomplot_v1_3) {
|
||||
!contains(DEFINES, qcustomplot_v2_0) {
|
||||
!contains(DEFINES, qcustomplot_v2_1) {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
DEFINES += qcustomplot_v2_1
|
||||
} else {
|
||||
DEFINES += qcustomplot_v2_0
|
||||
}}}}
|
||||
}}}
|
||||
|
||||
!contains(DEFINES, qcustomplot_v2_1) {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
DEFINES -= qcustomplot_v1_3
|
||||
DEFINES -= qcustomplot_v2_0
|
||||
DEFINES += qcustomplot_v2_1
|
||||
}}
|
||||
|
||||
contains(DEFINES, qcustomplot_v1_3) {
|
||||
INCLUDEPATH += $$PWD/v1_3
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/***************************************************************************
|
||||
/***************************************************************************
|
||||
** **
|
||||
** QCustomPlot, an easy to use, modern plotting widget for Qt **
|
||||
** Copyright (C) 2011-2015 Emanuel Eichhammer **
|
||||
@@ -22848,7 +22848,7 @@ QPointF QCPItemPixmap::anchorPixelPoint(int anchorId) const
|
||||
case aiRight: return (rect.topRight()+rect.bottomRight())*0.5;
|
||||
case aiBottom: return (rect.bottomLeft()+rect.bottomRight())*0.5;
|
||||
case aiBottomLeft: return rect.bottomLeft();
|
||||
case aiLeft: return (rect.topLeft()+rect.bottomLeft())*0.5;;
|
||||
case aiLeft: return (rect.topLeft()+rect.bottomLeft())*0.5;
|
||||
}
|
||||
|
||||
qDebug() << Q_FUNC_INFO << "invalid anchorId" << anchorId;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/***************************************************************************
|
||||
/***************************************************************************
|
||||
** **
|
||||
** QCustomPlot, an easy to use, modern plotting widget for Qt **
|
||||
** Copyright (C) 2011-2018 Emanuel Eichhammer **
|
||||
@@ -4002,7 +4002,7 @@ QSize QCPLayout::getFinalMinimumOuterSize(const QCPLayoutElement *el)
|
||||
minOuter.rheight() += el->margins().top() + el->margins().bottom();
|
||||
|
||||
return QSize(minOuter.width() > 0 ? minOuter.width() : minOuterHint.width(),
|
||||
minOuter.height() > 0 ? minOuter.height() : minOuterHint.height());;
|
||||
minOuter.height() > 0 ? minOuter.height() : minOuterHint.height());
|
||||
}
|
||||
|
||||
/*! \internal
|
||||
@@ -29480,7 +29480,7 @@ QPointF QCPItemPixmap::anchorPixelPosition(int anchorId) const
|
||||
case aiRight: return (rect.topRight()+rect.bottomRight())*0.5;
|
||||
case aiBottom: return (rect.bottomLeft()+rect.bottomRight())*0.5;
|
||||
case aiBottomLeft: return rect.bottomLeft();
|
||||
case aiLeft: return (rect.topLeft()+rect.bottomLeft())*0.5;;
|
||||
case aiLeft: return (rect.topLeft()+rect.bottomLeft())*0.5;
|
||||
}
|
||||
|
||||
qDebug() << Q_FUNC_INFO << "invalid anchorId" << anchorId;
|
||||
|
||||
Reference in New Issue
Block a user