Results 1 to 2 of 2

Thread: QwtPlot image file without QApplication

  1. #1
    Join Date
    Feb 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QwtPlot image file without QApplication

    We have a server with no user interface and minimal graphics support that we would like to use qwtPlot to general plots from streams of data without using qApplication.

    Is there a way to generate a png or jpeg from qwtPlot without QApplication?

    All of the examples I have been through use a QPixmap or a QImage to create an image file using a QPainter. Thus, the QApplication object is needed and will not work on our server for generating the desired plot image files from our raw data.

    Thanks,
    Steve

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

    Default Re: QwtPlot image file without QApplication

    Quote Originally Posted by qwtsj View Post
    Is there a way to generate a png or jpeg from qwtPlot without QApplication?
    No and even worse: you always need at least an invisible plot widget.

    Uwe

Similar Threads

  1. Rendering an image within QwtPlot
    By ttvo in forum Qwt
    Replies: 4
    Last Post: 10th July 2009, 07:03
  2. QApplication: No such file or directory
    By graciano in forum Installation and Deployment
    Replies: 6
    Last Post: 15th June 2009, 10:35
  3. QApplication: No such file or directory
    By panos in forum Newbie
    Replies: 10
    Last Post: 27th August 2007, 11:08
  4. QApplication: No such file or directory
    By Dolinski in forum Newbie
    Replies: 4
    Last Post: 24th May 2007, 05:13
  5. Set QApplication icon without using the rc/qrc file ?
    By Nyphel in forum Qt Programming
    Replies: 8
    Last Post: 23rd March 2007, 15:06

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
  •  
Qt is a trademark of The Qt Company.