qwt

how to set qwt path or environment variable

℡╲_俬逩灬. 提交于 2020-01-16 09:15:21
问题 I have installed qwt and include the path INCLUDEPATH += /usr/local/qwt-6.0.0-rc5/include LIBS += -L/usr/local/qwt-6.0.0-rc5/lib -lqwt in my profile. But when I run my program i get the error error while loading shared libraries: libqwt.so.6: cannot open shared object file: No such file or directory /home/cv/abc/abc exited with code 127 When using terminal I set the path export LD_LIBRARY_PATH=/usr/local/qwt-6.0.0-rc5 Then when I run the program (using the play button of the interface) I am

Install and use QWT under Mac OS X

三世轮回 提交于 2020-01-09 10:55:46
问题 I am currently trying to get QWT 6.1.0 running under MAC OS X 10.7.5. I followed the instructions over here --> http://qwt.sourceforge.net/qwtinstall.html I didn't changed something inside the configuration files. So everything worked fine, but now I want to use the qwt-libary inside my own Project. I added the following line to my .pro INCLUDEPATH += /Users/userX/Downloads/qwt-6.1.0/src So my Project is now able to find all the header Files. But I also have to link against the libary. But I

How to plot spectrum using FFTW3/ QWT?

回眸只為那壹抹淺笑 提交于 2020-01-06 02:56:20
问题 I want to plot the frequency spectrum (like they do for example in Audacity). Hence I want the frequency in Hertz on the x-axis and the amplitude on the y-axis. My input is a periodically sine wave with 0,7 as amplitude and 500HZ as frequency.I use FFTW to compute the magnitude and QWT to plot. My problem , what parameters should I put in setSamples to get a pic on 500 HZ ? Any help would be appreciated here is my code 回答1: From documentation you must set two pointers to data that build the

Can't generate pdf with acceptable output quality using Qt

时光毁灭记忆、已成空白 提交于 2020-01-01 14:55:12
问题 I'm trying to generate a pdf using Qt5 under Windows. My document contains texts, images and charts. As I'm familiar with Qt and Qwt, I believed the best strategy was to create a QWidget with my document layout and simply print it. But I face problems and could not end up with an acceptable result. Here is my MCVE, a simple page document with: A header with title and image A piece of text A simple chart Based on Qt document and How can I print a QWidget in Qt?, I ended up with this code: main

Can't generate pdf with acceptable output quality using Qt

£可爱£侵袭症+ 提交于 2020-01-01 14:55:07
问题 I'm trying to generate a pdf using Qt5 under Windows. My document contains texts, images and charts. As I'm familiar with Qt and Qwt, I believed the best strategy was to create a QWidget with my document layout and simply print it. But I face problems and could not end up with an acceptable result. Here is my MCVE, a simple page document with: A header with title and image A piece of text A simple chart Based on Qt document and How can I print a QWidget in Qt?, I ended up with this code: main

Qwt for Qt: How to connect to signal with new signal/slot flavour?

爷,独闯天下 提交于 2019-12-25 16:55:55
问题 I want to to connect to legend-label SIGNAL checked. With Qts old Signal/Slot-Syntax all is perfect, but i want to use the new connection to enable compile-time check? Any idea on how to connect it via new Signal/Slot-Syntax? This is my code: connect( m_plotLegend, SIGNAL( checked( const QVariant &, bool, int ) ), SLOT(legendChecked( const QVariant &, bool ) ) ); //connect(m_plotLegend, &QwtLegend::checked, this, &MeasurePlot::legendChecked); With oldy syntax all is fine, with the new syntax

Qwt turn off scientific notation for axis labels

做~自己de王妃 提交于 2019-12-24 12:47:24
问题 By default, Qwt displays large numbers on the axis in scientific notation: For my application, I'd really like to turn this off OR reformat the labels. Looking through the class documentation, it doesn't seem like any of the QwtScale classes have an option for this. Can this behavior be implemented by deriving a new class? If so, which class should it be derived from and which members would need to be overloaded? 回答1: Thanks to bkausbk, I was able to come up with this modified QwtScaleDraw :

Not Drawing QWT Plot Axis

早过忘川 提交于 2019-12-24 12:24:40
问题 I'm trying to draw a plot using QWT without any title or axis labels. Not drawing the title seems easy, all you have to do is not pass it in a title, or if there already is one, just give it an empty string (like this): ui->plot->setAxisTitle(QwtPlot::xBottom, ""); ui->plot->setAxisTitle(QwtPlot::yLeft, ""); But the actual labels (inside the axisScale property) are drawn by default (going from 0 to 1000 in both x and y). However even though I can change the way it looks, I can't remove it

failed to load platform plugin “windows” Available platforms are: windows, minimal

孤街醉人 提交于 2019-12-24 00:49:05
问题 Hi Im trying to execute my .exe file from the debug folder. Now before you go telling me about all the other related articles Ive looked at them all and their solutions are not helping with my problem. Ok first off Im using Qwt library and trying to create a set of gauges. I got a gauge working now I need to get it to execute from the .exe. Ive tried adding the platforms folder in with my directory and adding the windowsd.dll and minimald.dll but still does not work. Please advise on any

Install Qwt on Win7 64bit

你说的曾经没有我的故事 提交于 2019-12-22 11:15:33
问题 I searched around the web but didn't find a solution for my proper problem. Problem: Qwt-installation failes at the nmake -step What I did: -) installed Qt 5.1 ( Qt 5.1.1 for Windows 64-bit (VS 2012, 525 MB) ) (Info)from qt-website -) Downloaded Qwt 6.1.0 files from here -) extracted Files to C:/Qt/Qwt-6.1.0 -) set correct path in qwtconfig.pri -) started MSVC 2012 console (coming with Qt) and run qmake qwt.pro -) tried nmake in same consol (but nmake.exe was not found) --> installed