Questions tagged [qwt]

a collection of QT widgets, GUI components and utility classes.

Qwt or Qt Widgets for Technical Applications is a library of custom widgets, GUI components and utility classes which are written in C++ language and primarily useful for programs with a technical background. The library provides a 2D plot widget in addition to scales, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges.

This library is intended mainly for usage in scientific or technical applications. It works well with large number of points.

The Qwt user's guide may be found at https://qwt.sourceforge.io/.

Qwt is distributed under the terms of Qwt license which is basically is LGPL and may be found here: https://qwt.sourceforge.io/qwtlicense.html

373 questions
19
votes
3 answers

QThread: Destroyed while thread is still running?

I would like to start my QThread when I push on button Run. But the compiler outputs following error: QThread: Destroyed while thread is still running ASSERT failure in QThread::setTerminationEnabled(): "Current thread was not started with…
The Man
  • 407
  • 1
  • 7
  • 19
17
votes
4 answers

What are the advantages/disadvantages of QCustomPlot, compared to Qwt?

I am using Qwt now for two years. I like its object oriented classes, which makes it very easy to adapt the plots and functionality. These days QCustomPlot is becoming more and more popular and competes with Qwt. Of course I did compare the APIs.…
c_k
  • 1,746
  • 1
  • 20
  • 35
11
votes
4 answers

Need fast c++ qt/qwt scatter plot

I have a huge array of 2D points (about 3 millions of pairs), which I need to render with reasonable speed in a Qt-based application. I've tried using QGraphicsScene, but its very slow even on 400000 primitives, so I was looking into the qwt library…
Daniel Kluev
  • 11,025
  • 2
  • 36
  • 36
8
votes
1 answer

How to create pdf file from Qt application?

In my Qt application I am conducting some network tests. I have to create a report according to the test output. So I need to create the report in pdf format. Can anybody please let me know how I can put my test results in a pdf file? My result…
Surjya Narayana Padhi
  • 7,741
  • 25
  • 81
  • 130
7
votes
1 answer

Tool tip to show plot values in Qwt

I have a qwt plot in my application. I want to show a small tool tip to show the value of the point at which mouse is pointed on the curve. I found that I have to use QwtPlotPicker for this, but couldn't find any proper example to implement this in…
Rakesh K
  • 8,237
  • 18
  • 51
  • 64
6
votes
2 answers

QWT installation errors

I started using Qt a few weeks ago and I am really enjoying it. I now need to include graphs in my application and, after some research, I found that Qwt was the best way of doing so (rather than having to do everything from scratch by myself). I've…
PTBG
  • 585
  • 2
  • 20
  • 46
6
votes
1 answer

Segmentation fault in Qt code when linking Qwt libraries

I am trying to make a Qt 5 application with a few Qwt widgets, but I see a segmentation fault in Qt's code as soon as I try linking the Qwt libraries. I am using a very simple Qt program that only pops a blank window: #include…
monkeypants
  • 133
  • 1
  • 5
6
votes
2 answers

C++ Qwt - Plotting data from a vector

I'm attempting to plot a graph based on data that I have obtained and stored inside a vector, but, I cannot seem to find any tutorials or references out there and give me any indication to what I need to do. So here is my code: class Plotter :…
Phorce
  • 2,632
  • 13
  • 43
  • 76
5
votes
2 answers

Qwt alternative

Is there any lib similar to Qwt but that is more flexible? Flexible in the meaning of using existing functions and parameters without need to do inheritance of basic classes like Qwt. I would prefer Qt, but also plain c++ will be good if it can be…
sivic
  • 533
  • 6
  • 12
5
votes
1 answer

undefined reference to `vtable for MainWindow' error

hi every one i am working a in qt and qwt but in my program i am getting these error undefined reference to `vtable for MainWindow' error: collect2: ld returned 1 exit status i didnt get it what is the meaning of these error can some one explain it…
tariq
  • 529
  • 5
  • 19
  • 34
5
votes
0 answers

QwtPlotBarChart - how to get labels to match midpoint of bars

I am using QwtPlotBarChart to draw a histogram. I have set the chart up so that there is zero spacing between bars, and my xBottom axis has the real range of the data. Samples are set on the chart using a QVector of QPointF, with the x values…
mike
  • 1,192
  • 9
  • 32
5
votes
1 answer

qmake set install directory

I'm trying to build Qwt to a custom location. The obvious thing to try is a PREFIX option, but it had no effect and the make install still failed: $ qmake qwt.pro PREFIX='/my/path' $ make $ make install mkdir: cannot create directory…
jmilloy
  • 7,875
  • 11
  • 53
  • 86
5
votes
5 answers

Qt, VS2005, Qwt - Can't use Q_OBJECT in class derived from Qwt widgets

We've compiled QT 4.6 and QWT 5.2.0 for VS2005. We're trying to derive a class from QwtDial, and the derived class has slots. So, we need to add the Q_OBJECT macro. However, when we do that, the linker chokes out this error: error LNK2001:…
darron
  • 4,284
  • 3
  • 36
  • 44
5
votes
2 answers

'class QWidget' has no member named 'setFrameStyle'

I'm trying to compile a program (found here: http://sourceforge.net/projects/lisem/) by following the instructions said by the author. However, when compiling it in Qt Creator, it gives the error: class QWidget has no member named setFrameStyle for…
Mark
  • 65
  • 2
  • 7
5
votes
2 answers

How to clear QwtPlot curves before replotting?

In the earlier versions of Qwt we add QwtPlot::clear() but now, I can't find it. Any ideas? I have a real time plot, so when replotting, the info before xmin is not really important and with time it crashes as the replot is replotting all the…
SamuelNLP
  • 4,038
  • 9
  • 59
  • 102
1
2 3
24 25