Qwt 6.1.6 make error , sqvrenderer
Hello all,
I am new to Qt and Qwt. I am working on a Debian 10. I want to use Qt and Qwt for an open source project. I ultimately want to use the plotting from Qwt in Qt Creator. I am using Qt 5.11.3
I have downloaded Qwt from sourceforge. I am using Qwt 6.1.6. I followed the instructions on this web page:
https://qwt.sourceforge.io/qwtinstal...wtinstall-unix
This is my error:
Code:
~/Downloads/qwt-6.1.6$ /usr/lib/qt5/bin/qmake qwt.pro
Info: creating stash file /home/nick-test/Downloads/qwt-6.1.6/.qmake.stash
~/Downloads/qwt-6.1.6$ make
cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/nick-test/Downloads/qwt-6.1.6/src/src.pro ) && make -f Makefile
Project WARNING: QwtSvg is enabled in qwtconfig.pri, but Qt has not been built with svg support
make[1]: Entering directory '/home/nick-test/Downloads/qwt-6.1.6/src'
compiling qwt_abstract_scale_draw.cpp
compiling qwt_clipper.cpp
compiling qwt_color_map.cpp
compiling qwt_column_symbol.cpp
compiling qwt_date.cpp
compiling qwt_date_scale_draw.cpp
compiling qwt_date_scale_engine.cpp
compiling qwt_dyngrid_layout.cpp
compiling qwt_event_pattern.cpp
compiling qwt_graphic.cpp
compiling qwt_interval.cpp
compiling qwt_interval_symbol.cpp
compiling qwt_math.cpp
compiling qwt_magnifier.cpp
compiling qwt_null_paintdevice.cpp
compiling qwt_painter.cpp
compiling qwt_painter_command.cpp
compiling qwt_panner.cpp
compiling qwt_picker.cpp
compiling qwt_picker_machine.cpp
compiling qwt_pixel_matrix.cpp
compiling qwt_point_3d.cpp
compiling qwt_point_polar.cpp
compiling qwt_round_scale_draw.cpp
compiling qwt_scale_div.cpp
compiling qwt_scale_draw.cpp
compiling qwt_scale_map.cpp
compiling qwt_spline.cpp
compiling qwt_scale_engine.cpp
compiling qwt_symbol.cpp
qwt_symbol.cpp:20:10: fatal error: qsvgrenderer.h: No such file or directory
#include <qsvgrenderer.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1286: obj/qwt_symbol.o] Error 1
make[1]: Leaving directory '/home/nick-test/Downloads/qwt-6.1.6/src'
make: *** [Makefile:48: sub-src-make_first-ordered] Error 2
I thus get an error at qsvgrenderer. However, I don't know how to resolve this.
Re: Qwt 6.1.6 make error , sqvrenderer
As the warning says: Qwt is configured to support SVG, but Qt has been built without.
If you are not interested using any SVG stuff I would simply remove "QWT_CONFIG += QwtSvg" in qwtconfig.pri- Otherwise you would have to build ( or find ) a Qt version with the Qt SVG module being enabled.
HTH,
Uwe