Results 1 to 2 of 2

Thread: Qwt 6.1.6 make error , sqvrenderer

  1. #1
    Join Date
    Jan 2021
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default 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:
    Qt Code:
    1. ~/Downloads/qwt-6.1.6$ /usr/lib/qt5/bin/qmake qwt.pro
    2. Info: creating stash file /home/nick-test/Downloads/qwt-6.1.6/.qmake.stash
    3. ~/Downloads/qwt-6.1.6$ make
    4. 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
    5. Project WARNING: QwtSvg is enabled in qwtconfig.pri, but Qt has not been built with svg support
    6. make[1]: Entering directory '/home/nick-test/Downloads/qwt-6.1.6/src'
    7. compiling qwt_abstract_scale_draw.cpp
    8. compiling qwt_clipper.cpp
    9. compiling qwt_color_map.cpp
    10. compiling qwt_column_symbol.cpp
    11. compiling qwt_date.cpp
    12. compiling qwt_date_scale_draw.cpp
    13. compiling qwt_date_scale_engine.cpp
    14. compiling qwt_dyngrid_layout.cpp
    15. compiling qwt_event_pattern.cpp
    16. compiling qwt_graphic.cpp
    17. compiling qwt_interval.cpp
    18. compiling qwt_interval_symbol.cpp
    19. compiling qwt_math.cpp
    20. compiling qwt_magnifier.cpp
    21. compiling qwt_null_paintdevice.cpp
    22. compiling qwt_painter.cpp
    23. compiling qwt_painter_command.cpp
    24. compiling qwt_panner.cpp
    25. compiling qwt_picker.cpp
    26. compiling qwt_picker_machine.cpp
    27. compiling qwt_pixel_matrix.cpp
    28. compiling qwt_point_3d.cpp
    29. compiling qwt_point_polar.cpp
    30. compiling qwt_round_scale_draw.cpp
    31. compiling qwt_scale_div.cpp
    32. compiling qwt_scale_draw.cpp
    33. compiling qwt_scale_map.cpp
    34. compiling qwt_spline.cpp
    35. compiling qwt_scale_engine.cpp
    36. compiling qwt_symbol.cpp
    37. qwt_symbol.cpp:20:10: fatal error: qsvgrenderer.h: No such file or directory
    38. #include <qsvgrenderer.h>
    39. ^~~~~~~~~~~~~~~~
    40. compilation terminated.
    41. make[1]: *** [Makefile:1286: obj/qwt_symbol.o] Error 1
    42. make[1]: Leaving directory '/home/nick-test/Downloads/qwt-6.1.6/src'
    43. make: *** [Makefile:48: sub-src-make_first-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    I thus get an error at qsvgrenderer. However, I don't know how to resolve this.
    Last edited by trouden; 10th January 2021 at 10:57.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,274
    Thanked 868 Times in 817 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default 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

Similar Threads

  1. Replies: 1
    Last Post: 25th October 2008, 19:18
  2. make error
    By peace_comp in forum Qt Programming
    Replies: 5
    Last Post: 29th April 2008, 00:36
  3. Please help me - make error
    By Gily in forum Newbie
    Replies: 25
    Last Post: 20th December 2007, 07:17
  4. make error
    By emailhy in forum Qt Programming
    Replies: 2
    Last Post: 29th October 2006, 08:57
  5. Error with make
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 13:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.