mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-24 17:41:39 +08:00
some bugfixes in build scripts/QMake projects
This commit is contained in:
parent
20352285ca
commit
86ba47db9a
@ -76,7 +76,7 @@ addSimpleTest(geometric)
|
||||
addSimpleTest(ui)
|
||||
addSimpleTest(boxplot)
|
||||
addSimpleTest(advancedlineandfillstyling)
|
||||
#addSimpleTest(imageplot_nodatastore)
|
||||
addSimpleTest(imageplot_nodatastore)
|
||||
#addSimpleTest(rgbimageplot_opencv)
|
||||
#addSimpleTest(imageplot_opencv)
|
||||
|
||||
|
@ -21,7 +21,17 @@ CONFIG (debug, debug|release) {
|
||||
}
|
||||
message("LIBS = $$LIBS")
|
||||
|
||||
|
||||
!win32-msvc* {
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += /EHsc
|
||||
# /std:c++14
|
||||
# To enable M_PI, M_E,...
|
||||
DEFINES += _USE_MATH_DEFINES
|
||||
# To fix error: C2338: va_start argument must not
|
||||
# have reference type and must not be parenthesized
|
||||
DEFINES += _CRT_NO_VA_START_VALIDATION
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,18 @@
|
||||
# source code for this simple demo
|
||||
SOURCES = test_distributionplot.cpp
|
||||
|
||||
!win32-msvc* {
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += /EHsc
|
||||
# /std:c++14
|
||||
# To enable M_PI, M_E,...
|
||||
DEFINES += _USE_MATH_DEFINES
|
||||
# To fix error: C2338: va_start argument must not
|
||||
# have reference type and must not be parenthesized
|
||||
DEFINES += _CRT_NO_VA_START_VALIDATION
|
||||
}
|
||||
|
||||
# configure Qt
|
||||
CONFIG += link_prl qt
|
||||
QT += core gui xml svg
|
||||
|
Loading…
Reference in New Issue
Block a user