Results 1 to 2 of 2

Thread: Does a simple QwtPlot need Qt5PrintSupport.dll?

  1. #1
    Join Date
    Apr 2012
    Posts
    13
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Does a simple QwtPlot need Qt5PrintSupport.dll?

    It is not an urgent question but I am kind of curious.

    I made a simple QwtPlot application,
    however, in order to start it from my release folder I also need
    Qt5PrintSupport.dll although I did not implement any print functionality.

    Is it the way it should be or do I misunderstand something?

    Thanks.

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

    Default Re: Does a simple QwtPlot need Qt5PrintSupport.dll?

    QwtPlot itself doesn't need it, but QwtPlotRenderer has this dependency for PDF export or - of course - printing.

    The implementation of QwtPlotRenderer disables this code depending on QT_NO_PRINTER - so in case you are on an embedded system, where you like to get rid of it you could build Qt without printer support. Otherwise you would have to patch the code in qwt_plot_renderer.cpp - simply replaceing "#ifndef QT_NO_PRINTER" by "#if 0".

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    sirop (18th April 2015)

Similar Threads

  1. QwtPlot stretching
    By jmsbc in forum Qwt
    Replies: 7
    Last Post: 27th August 2013, 08:43
  2. Replies: 9
    Last Post: 25th October 2012, 20:55
  3. Replies: 8
    Last Post: 25th November 2010, 00:18
  4. Replies: 1
    Last Post: 30th July 2010, 08:23
  5. Replies: 6
    Last Post: 14th May 2009, 13:02

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.