QT pro中,使用MinGW和MSVC两种编译器,调用qwt绘图库的方法

一种是使用MSVC017,一种是使用mingw32:
测试OK:

#ifdef _MSC_VER
//此处为MSVC编译器环境下的代码
CONFIG(debug, debug|release) {
LIBS += KaTeX parse error: Expected 'EOF', got '}' at position 25: …5/lib/qwtd.lib }̲ else { LIBS +=…PWD/qwt615/lib/qwt.lib
}
INCLUDEPATH += KaTeX parse error: Expected 'EOF', got '#' at position 13: PWD/headers #̲elif __GNUC__ /…PWD/qwt/lib/libqwtd.a
} else {
LIBS += KaTeX parse error: Expected 'EOF', got '}' at position 22: …t/lib/libqwt.a }̲ INCLUDEPATH +=…PWD/qwt/h
INCLUDEPATH += $$PWD/qwt/h/Qwt
#endif

你可能感兴趣的:(qt,qt)