linssid: rebuild for qwt
This commit is contained in:
parent
4fe9d08138
commit
b9097e90ea
3 changed files with 33 additions and 3 deletions
srcpkgs/linssid
|
@ -1,8 +1,10 @@
|
|||
--- a/linssid-app/linssid-app.pro
|
||||
+++ b/linssid-app/linssid-app.pro
|
||||
@@ -5,7 +5,7 @@
|
||||
@@ -3,9 +3,9 @@
|
||||
TARGET = linssid
|
||||
VERSION = 3.6
|
||||
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||
-CONFIG += release
|
||||
-CONFIG += release
|
||||
+CONFIG += release qwt
|
||||
PKGCONFIG +=
|
||||
-QT = core gui widgets svg
|
||||
|
|
28
srcpkgs/linssid/patches/qwt-6.2.patch
Normal file
28
srcpkgs/linssid/patches/qwt-6.2.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
--- a/linssid-app/MainForm.cpp
|
||||
+++ b/linssid-app/MainForm.cpp
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <qwt_plot_marker.h>
|
||||
#include <QPointF>
|
||||
#include <qwt_scale_draw.h>
|
||||
+#include <qwt_text.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
@@ -1036,7 +1037,7 @@
|
||||
MainForm::cellDataRay[tbi].signal ) );
|
||||
}
|
||||
} else {
|
||||
- MainForm::cellDataRay[tbi].pBandCurve->setSamples(0, 0, 0);
|
||||
+ MainForm::cellDataRay[tbi].pBandCurve->setSamples(static_cast<double *>(NULL), static_cast<double *>(NULL), 0);
|
||||
}
|
||||
// now the signal history plot
|
||||
int ixStart;
|
||||
@@ -1055,7 +1056,7 @@
|
||||
&(MainForm::cellDataRay[tbi].pHistory->signal[ixStart]), ixLength);
|
||||
} else {
|
||||
|
||||
- MainForm::cellDataRay[tbi].pTimeCurve->setSamples(0, 0, 0);
|
||||
+ MainForm::cellDataRay[tbi].pTimeCurve->setSamples(static_cast<double *>(NULL), static_cast<double *>(NULL), 0);
|
||||
}
|
||||
}
|
||||
MainForm::mainFormWidget.chan24Plot->replot();
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'linssid'
|
||||
pkgname=linssid
|
||||
version=3.6
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||
makedepends="boost-devel qwt-devel"
|
||||
|
|
Loading…
Reference in a new issue