mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-12 00:40:32 +08:00
Merge pull request #1 from srazi/win-msvc
Support compiling under Windows using MSVC2015
This commit is contained in:
commit
010f513b31
@ -1,6 +1,14 @@
|
||||
|
||||
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
!win32-msvc* {
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += /EHsc
|
||||
# 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
|
||||
}
|
||||
|
||||
HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \
|
||||
$$PWD/jkqtplotter/jkqtpdatastorage.h \
|
||||
|
@ -602,7 +602,7 @@ QPen JKQTPbarVerticalGraph::getLinePen(JKQTPEnhancedPainter& painter) const {
|
||||
return p;
|
||||
}
|
||||
|
||||
double JKQTPbarVerticalGraph::getParentStackedMax(int index) const
|
||||
double JKQTPbarVerticalGraph::getParentStackedMax(int /*index*/) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -861,27 +861,27 @@ void JKQTPgraphErrors::intPlotXYErrorIndicators(JKQTPEnhancedPainter& painter, J
|
||||
//std::cout<<"end\n";
|
||||
}
|
||||
|
||||
bool JKQTPgraphErrors::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter */*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long /*index*/, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
bool JKQTPgraphErrors::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter * /*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long /*index*/, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getXErrorU(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getXErrorU(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getXErrorL(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getXErrorL(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getYErrorU(int /*i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getYErrorU(int /*i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double JKQTPgraphErrors::getYErrorL(int/* i*/, JKQTPdatastore */*ds*/) const
|
||||
double JKQTPgraphErrors::getYErrorL(int/* i*/, JKQTPdatastore * /*ds*/) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
@ -4348,7 +4348,7 @@ void JKQtBasePlotter::getDataColumnsByUserComboBoxSelected(const QString &name)
|
||||
}
|
||||
}
|
||||
|
||||
void JKQtBasePlotter::getDataColumnsByUserItemChanged(QListWidgetItem */*widgetitem*/) {
|
||||
void JKQtBasePlotter::getDataColumnsByUserItemChanged(QListWidgetItem * /*widgetitem*/) {
|
||||
if (!dataColumnsListWidget) return;
|
||||
QStringList data;
|
||||
for (int i=0; i<dataColumnsListWidget->count(); i++) {
|
||||
|
@ -1690,7 +1690,7 @@ void JKQTPxyParametrizedErrorScatterGraph::drawErrorsBefore(JKQTPEnhancedPainter
|
||||
else plotErrorIndicators(painter, parent, xAxis, yAxis, xColumn, yColumn, datarange_start, datarange_end, 0, 0, &sortedIndices);
|
||||
}
|
||||
|
||||
bool JKQTPxyParametrizedErrorScatterGraph::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter */*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long index, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
bool JKQTPxyParametrizedErrorScatterGraph::intPlotXYErrorIndicatorsGetColor(JKQTPEnhancedPainter &/*painter*/, JKQtBasePlotter * /*parent*/, JKQTPcoordinateAxis* /*xAxis*/, JKQTPcoordinateAxis* /*yAxis*/, int /*xColumn*/, int /*yColumn*/, int /*xErrorColumn*/, int /*yErrorColumn*/, JKQTPerrorPlotstyle /*xErrorStyle*/, JKQTPerrorPlotstyle /*yErrorStyle*/, long long index, QColor &/*errorColor*/, QColor &/*errorFillColor*/)
|
||||
{
|
||||
QColor c=getLocalColor(index);
|
||||
errorColor=c.darker();
|
||||
|
@ -604,9 +604,6 @@ void JKQTPfilledVerticalRangeGraph::draw(JKQTPEnhancedPainter &painter)
|
||||
// then the whole thing is drawn
|
||||
QPolygonF poly_all, phigh, plow;
|
||||
|
||||
double xold=-1;
|
||||
|
||||
bool first=true;
|
||||
intSortData();
|
||||
for (int iii=imin; iii<imax; iii++) {
|
||||
int i=qBound(imin, getDataIndex(iii), imax);
|
||||
@ -679,7 +676,7 @@ QColor JKQTPfilledVerticalRangeGraph::getKeyLabelColor()
|
||||
return color;
|
||||
}
|
||||
|
||||
QBrush JKQTPfilledVerticalRangeGraph::getBrush(JKQTPEnhancedPainter &painter) const
|
||||
QBrush JKQTPfilledVerticalRangeGraph::getBrush(JKQTPEnhancedPainter &/*painter*/) const
|
||||
{
|
||||
QBrush b;
|
||||
b.setColor(fillColor);
|
||||
|
@ -2506,7 +2506,7 @@ void JKQTPColumnRGBMathImage::ensureImageData()
|
||||
this->dataModifier=parent->getDatastore()->getColumn(modifierColumn).getPointer(0);
|
||||
}
|
||||
|
||||
JKQTPImageModifierModeComboBox::JKQTPImageModifierModeComboBox(QWidget */*parent*/)
|
||||
JKQTPImageModifierModeComboBox::JKQTPImageModifierModeComboBox(QWidget * /*parent*/)
|
||||
{
|
||||
addMode(JKQTPMathImageBase::ModifyNone, tr("none"));
|
||||
addMode(JKQTPMathImageBase::ModifyValue, tr("value"));
|
||||
|
@ -1962,8 +1962,9 @@ void JKQTPColorPaletteTools::cbDrawOutside(JKQTPEnhancedPainter& painter, QRect
|
||||
if (colorBarRightVisible) {
|
||||
painter.save();
|
||||
|
||||
uint8_t h=1;
|
||||
uint8_t d[200*h];//, dd[200*h];
|
||||
static const uint8_t h=1;
|
||||
static const uint8_t dSize = 200*h;
|
||||
uint8_t d[dSize];//, dd[200*h];
|
||||
for (int i=0; i<200; i++) {
|
||||
for (int j=0; j<h; j++) {
|
||||
d[i*h+j]=i;
|
||||
@ -2023,9 +2024,9 @@ void JKQTPColorPaletteTools::cbDrawOutside(JKQTPEnhancedPainter& painter, QRect
|
||||
JKQTPimagePlot_array2image<uint8_t>(d, 200, 1, b, palette, 0, 199);*/
|
||||
|
||||
|
||||
uint8_t h=1;
|
||||
|
||||
uint8_t d[200*h];//, dd[200*h];
|
||||
static const uint8_t h=1;
|
||||
static const uint8_t dSize = 200*h;
|
||||
uint8_t d[dSize];//, dd[200*h];
|
||||
for (int i=0; i<200; i++) {
|
||||
for (int j=0; j<h; j++) {
|
||||
d[i*h+j]=i;
|
||||
|
@ -221,7 +221,7 @@ inline double JKQTPimagePlot_getImageMin(T* dbl, int width, int height)
|
||||
for (int i=1; i<width*height; ++i)
|
||||
{
|
||||
register T v=dbl[i];
|
||||
if (!(std::isnan(v) || std::isinf(v))) {
|
||||
if (!(std::isnan(static_cast<long double>(v)) || std::isinf(static_cast<long double>(v)))) {
|
||||
if (first) {
|
||||
min=max=v;
|
||||
first=false;
|
||||
@ -252,7 +252,7 @@ inline double JKQTPimagePlot_getImageMax(T* dbl, int width, int height)
|
||||
for (int i=1; i<width*height; ++i)
|
||||
{
|
||||
register T v=dbl[i];
|
||||
if (!(std::isnan(v) || std::isinf(v))) {
|
||||
if (!(std::isnan(static_cast<long double>(v)) || std::isinf(static_cast<long double>(v)))) {
|
||||
if (first) {
|
||||
min=max=v;
|
||||
first=false;
|
||||
@ -296,7 +296,7 @@ inline void JKQTPimagePlot_array2RGBimage(T* dbl_in, int width, int height, QIma
|
||||
for (int i=1; i<width*height; ++i)
|
||||
{
|
||||
register T v=dbl_in[i];
|
||||
if (std::isfinite(v)) {
|
||||
if (std::isfinite(static_cast<long double>(v))) {
|
||||
if (first) {
|
||||
min=max=v;
|
||||
first=false;
|
||||
@ -585,7 +585,7 @@ inline void JKQTPimagePlot_array2image(T* dbl_in, int width, int height, QImage
|
||||
for (int i=1; i<width*height; ++i)
|
||||
{
|
||||
register T v=dbl_in[i];
|
||||
if (!(std::isnan(v) || std::isinf(v))) {
|
||||
if (!(std::isnan(static_cast<long double>(v)) || std::isinf(static_cast<long double>(v)))) {
|
||||
if (first) {
|
||||
min=max=v;
|
||||
first=false;
|
||||
|
@ -573,15 +573,15 @@ void JKQtPlotter::update_overlays() {
|
||||
update();
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeXAxis(double newxmin, double newxmax, double /*newymin*/, double /*newymax*/, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeXAxis(double newxmin, double newxmax, double /*newymin*/, double /*newymax*/, JKQtPlotter * /*sender*/) {
|
||||
setX(newxmin, newxmax);
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeYAxis(double /*newxmin*/, double /*newxmax*/, double newymin, double newymax, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeYAxis(double /*newxmin*/, double /*newxmax*/, double newymin, double newymax, JKQtPlotter * /*sender*/) {
|
||||
setY(newymin, newymax);
|
||||
}
|
||||
|
||||
void JKQtPlotter::synchronizeXYAxis(double newxmin, double newxmax, double newymin, double newymax, JKQtPlotter */*sender*/) {
|
||||
void JKQtPlotter::synchronizeXYAxis(double newxmin, double newxmax, double newymin, double newymax, JKQtPlotter * /*sender*/) {
|
||||
setXY(newxmin, newxmax, newymin, newymax);
|
||||
}
|
||||
|
||||
@ -729,7 +729,7 @@ void JKQtPlotter::delayedResizeEvent()
|
||||
if (sizeChanged) update_plot();
|
||||
}
|
||||
|
||||
void JKQtPlotter::leaveEvent(QEvent */*event*/) {
|
||||
void JKQtPlotter::leaveEvent(QEvent * /*event*/) {
|
||||
if (!toolbarAlwaysOn) toolbar->hide();
|
||||
}
|
||||
|
||||
@ -829,7 +829,7 @@ bool JKQtPlotter::get_zoomByMouseRectangle() const {
|
||||
return (mouseActionMode==JKQtPlotter::ZoomRectangle);
|
||||
}
|
||||
|
||||
void JKQtPlotter::modifyContextMenu(QMenu */*menu*/)
|
||||
void JKQtPlotter::modifyContextMenu(QMenu * /*menu*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ double JKQTPxParsedFunctionLineGraphFunction(double x, void* data) {
|
||||
return r.num;
|
||||
}
|
||||
}
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
/*ok= QMessageBox::critical(this, tr("QuickFit-table"),
|
||||
tr("An error occured while parsing the expression '%1' in cell (row, column)=(%3, %4):\n%2\n\n\"OK\" will still go on evaluating\n\"Cancel\" will cancel evaluation for the rest of the cells.").arg(dlgMathExpression->getExpression()).arg(E.what()).arg(row).arg(column),
|
||||
@ -138,7 +138,7 @@ void JKQTPxParsedFunctionLineGraph::createPlotData(bool /*collectParams*/)
|
||||
//qDebug()<<"createPlotData(): adding variables: "<<t<<"ms";
|
||||
fdata.node=fdata.parser->parse(function.toStdString());
|
||||
//qDebug()<<"createPlotData(): parsing: "<<timer.elapsed()-t<<"ms";
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
}
|
||||
|
||||
@ -171,7 +171,7 @@ void JKQTPxParsedFunctionLineGraph::createPlotData(bool /*collectParams*/)
|
||||
//qDebug()<<"createPlotData(): adding variables: "<<t-t0<<"ms";
|
||||
efdata.node=efdata.parser->parse(errorFunction.toStdString());
|
||||
//qDebug()<<"createPlotData(): parsing: "<<timer.elapsed()-t<<"ms";
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
}
|
||||
|
||||
|
@ -39,10 +39,8 @@
|
||||
#include <cfloat>
|
||||
#include <QComboBox>
|
||||
#include <QPrinter>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
@ -104,11 +102,14 @@
|
||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||
#define JKQTPPATHSEPARATOR_CHAR '\\'
|
||||
#include<windows.h>
|
||||
#include <io.h>
|
||||
#else
|
||||
/** \brief a separator between two directories in a path between \c " quotes */
|
||||
#define JKQTPPATHSEPARATOR_STRING "/"
|
||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||
#define JKQTPPATHSEPARATOR_CHAR '/'
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -30,9 +30,9 @@ TestWidgetGeometry::TestWidgetGeometry(QWidget *parent) :
|
||||
plotGeo->get_plotter()->set_axisAspectRatio(1);
|
||||
|
||||
|
||||
JKQTPgeoLine* line1=new JKQTPgeoLine(plotGeo->get_plotter(), -1, -2, 2, 1.5);
|
||||
// JKQTPgeoLine* line1=new JKQTPgeoLine(plotGeo->get_plotter(), -1, -2, 2, 1.5);
|
||||
//plotGeo->get_plotter()->addGraph(line1);
|
||||
JKQTPgeoLine* line2=new JKQTPgeoLine(plotGeo->get_plotter(), 1, -5, 4, 3, QColor("blue"), 4);
|
||||
// JKQTPgeoLine* line2=new JKQTPgeoLine(plotGeo->get_plotter(), 1, -5, 4, 3, QColor("blue"), 4);
|
||||
//plotGeo->get_plotter()->addGraph(line2);
|
||||
|
||||
JKQTPgeoRectangle* rect1=new JKQTPgeoRectangle(plotGeo->get_plotter(), 1,1,2,2, QColor("blue"),2, Qt::SolidLine, QColor("lightblue"));
|
||||
@ -55,18 +55,18 @@ TestWidgetGeometry::TestWidgetGeometry(QWidget *parent) :
|
||||
p.append(QPointF(0,-2));
|
||||
p.append(QPointF(M_PI,5.5));
|
||||
|
||||
JKQTPgeoPolygon* poly=new JKQTPgeoPolygon(plotGeo->get_plotter(), p, QColor("black"), 1.5, Qt::SolidLine, QColor(128,128,0,128));
|
||||
// JKQTPgeoPolygon* poly=new JKQTPgeoPolygon(plotGeo->get_plotter(), p, QColor("black"), 1.5, Qt::SolidLine, QColor(128,128,0,128));
|
||||
//plotGeo->get_plotter()->addGraph(poly);
|
||||
JKQTPgeoLines* lines=new JKQTPgeoLines(plotGeo->get_plotter(), p, QColor(255,255,0), 3);
|
||||
// JKQTPgeoLines* lines=new JKQTPgeoLines(plotGeo->get_plotter(), p, QColor(255,255,0), 3);
|
||||
//plotGeo->get_plotter()->addGraph(lines);
|
||||
|
||||
JKQTPgeoEllipse* ell1=new JKQTPgeoEllipse(plotGeo->get_plotter(), 0,0,2,4, QColor("black"),1.5, Qt::DotLine);
|
||||
plotGeo->get_plotter()->addGraph(ell1);
|
||||
JKQTPgeoArc* arc=new JKQTPgeoArc(plotGeo->get_plotter(), 0,0,2,4,0, 135, QColor("blue"),3, Qt::SolidLine);
|
||||
// JKQTPgeoArc* arc=new JKQTPgeoArc(plotGeo->get_plotter(), 0,0,2,4,0, 135, QColor("blue"),3, Qt::SolidLine);
|
||||
//plotGeo->get_plotter()->addGraph(arc);
|
||||
JKQTPgeoPie* pie=new JKQTPgeoPie(plotGeo->get_plotter(), 0,0,2,4,35, 98, QColor("blue"),3, Qt::SolidLine, QColor(0,0,255,127));
|
||||
// JKQTPgeoPie* pie=new JKQTPgeoPie(plotGeo->get_plotter(), 0,0,2,4,35, 98, QColor("blue"),3, Qt::SolidLine, QColor(0,0,255,127));
|
||||
//plotGeo->get_plotter()->addGraph(pie);
|
||||
JKQTPgeoChord* chord=new JKQTPgeoChord(plotGeo->get_plotter(), 0,0,2,4,35, 98, QColor("blue"),3, Qt::SolidLine, QColor(0,0,255,127));
|
||||
// JKQTPgeoChord* chord=new JKQTPgeoChord(plotGeo->get_plotter(), 0,0,2,4,35, 98, QColor("blue"),3, Qt::SolidLine, QColor(0,0,255,127));
|
||||
//plotGeo->get_plotter()->addGraph(chord);
|
||||
|
||||
JKQTPgeoInfiniteLine* iline=new JKQTPgeoInfiniteLine(plotGeo->get_plotter(), 0.5,1,1,1, QColor("blue"), 3);
|
||||
|
@ -95,7 +95,7 @@ TestWidgetGraphs::TestWidgetGraphs(QWidget *parent) :
|
||||
size_t cx2=ds->addColumn(x2, N2, "x2");
|
||||
size_t cy21=ds->addColumn(y21, N2, "y21");
|
||||
size_t cy22=ds->addColumn(y22, N2, "y22");
|
||||
size_t cy23=ds->addColumn(y23, N2, "y23");
|
||||
// size_t cy23=ds->addColumn(y23, N2, "y23");
|
||||
//size_t cy24=ds->addColumn(y24, N2, "y24");
|
||||
size_t cx2r=ds->addColumn(x2r, N2, "x2r");
|
||||
size_t cy21r=ds->addColumn(y21r, N2, "y21r");
|
||||
@ -297,12 +297,12 @@ void TestWidgetGraphs::moveovl() {
|
||||
}
|
||||
|
||||
|
||||
void TestWidgetGraphs::setErrorStyle(int index)
|
||||
void TestWidgetGraphs::setErrorStyle(int /*index*/)
|
||||
{
|
||||
QComboBox* cmb=qobject_cast<QComboBox*>(sender());
|
||||
if (cmb) {
|
||||
JKQTPxyGraphErrors* exy=dynamic_cast<JKQTPxyGraphErrors*>(plteErrors);
|
||||
JKQTPxGraphErrors* ex=dynamic_cast<JKQTPxGraphErrors*>(plteErrors);
|
||||
// JKQTPxGraphErrors* ex=dynamic_cast<JKQTPxGraphErrors*>(plteErrors);
|
||||
JKQTPyGraphErrors* ey=dynamic_cast<JKQTPyGraphErrors*>(plteErrors);
|
||||
if (exy) {
|
||||
exy->set_yErrorStyle(String2JKQTPerrorPlotstyle(cmb->itemData(cmb->currentIndex()).toString()));
|
||||
@ -314,7 +314,7 @@ void TestWidgetGraphs::setErrorStyle(int index)
|
||||
}
|
||||
}
|
||||
|
||||
void TestWidgetGraphs::setESSymbol(int index)
|
||||
void TestWidgetGraphs::setESSymbol(int /*index*/)
|
||||
{
|
||||
QComboBox* cmb=qobject_cast<QComboBox*>(sender());
|
||||
if (cmb) {
|
||||
|
@ -33,6 +33,8 @@ CONFIG += qt
|
||||
|
||||
win32: LIBS += -lgdi32
|
||||
|
||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||
|
||||
#QMAKE_CXXFLAGS += -O2
|
||||
|
||||
DEFINES -= -DQT_DLL
|
||||
|
@ -15,6 +15,8 @@ INCLUDEPATH += ../../lib
|
||||
CONFIG (debug, debug|release):LIBS += -L../../lib/debug -ljkqtplotterlib
|
||||
CONFIG (release):LIBS += -L../../lib/release -ljkqtplotterlib
|
||||
|
||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||
|
||||
# here you can activate some debug options
|
||||
#DEFINES += SHOW_JKQTPLOTTER_DEBUG
|
||||
#DEFINES += JKQTBP_AUTOTIMER
|
||||
|
@ -16,6 +16,8 @@ INCLUDEPATH += ../../lib
|
||||
CONFIG (debug, debug|release):LIBS += -L../../lib/debug -ljkqtplotterlib
|
||||
CONFIG (release):LIBS += -L../../lib/release -ljkqtplotterlib
|
||||
|
||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||
|
||||
# here you can activate some debug options
|
||||
#DEFINES += SHOW_JKQTPLOTTER_DEBUG
|
||||
#DEFINES += JKQTBP_AUTOTIMER
|
||||
|
@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include <array>
|
||||
#include <random>
|
||||
#include <chrono>
|
||||
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
|
||||
|
||||
|
@ -16,6 +16,7 @@ INCLUDEPATH += ../../lib
|
||||
CONFIG (debug, debug|release):LIBS += -L../../lib/debug -ljkqtplotterlib
|
||||
CONFIG (release):LIBS += -L../../lib/release -ljkqtplotterlib
|
||||
|
||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||
|
||||
# here you can activate some debug options
|
||||
#DEFINES += SHOW_JKQTPLOTTER_DEBUG
|
||||
|
@ -16,6 +16,7 @@ INCLUDEPATH += ../../lib
|
||||
CONFIG (debug, debug|release):LIBS += -L../../lib/debug -ljkqtplotterlib
|
||||
CONFIG (release):LIBS += -L../../lib/release -ljkqtplotterlib
|
||||
|
||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||
|
||||
# here you can activate some debug options
|
||||
#DEFINES += SHOW_JKQTPLOTTER_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user