From b09475c03f31f91bab6b5f443480baf8d6cb3cc8 Mon Sep 17 00:00:00 2001 From: feiyangqingyun Date: Sat, 27 Apr 2024 15:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third/3rd_qcustomplot/3rd_qcustomplot.pri | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/third/3rd_qcustomplot/3rd_qcustomplot.pri b/third/3rd_qcustomplot/3rd_qcustomplot.pri index 9cc151b..aef1d81 100644 --- a/third/3rd_qcustomplot/3rd_qcustomplot.pri +++ b/third/3rd_qcustomplot/3rd_qcustomplot.pri @@ -2,6 +2,10 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 #lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 +#下面用于开启opengl +#DEFINES += QCUSTOMPLOT_USE_OPENGL +#LIBS += -lopengl32 -lglu32 + #将当前目录加入到头文件路径 INCLUDEPATH += $$PWD DEFINES += qcustomplot @@ -46,3 +50,10 @@ HEADERS += $$PWD/v2_1/qcustomplot.h } SOURCES += $$PWD/v2_1/qcustomplot.cpp }} + +#修复debug套件编译失败 +greaterThan(QT_MAJOR_VERSION, 5) { +mingw { +QMAKE_CXXFLAGS += -Wa,-mbig-obj +} +}