Results 1 to 3 of 3

Thread: QwtPlot with no GUI

  1. #1
    Join Date
    Sep 2007
    Posts
    61
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QwtPlot with no GUI

    Hello Uwe,

    A while back, there was the potential of using QwtPlot to generate a plot without a GUI. Basically, creating a command line program to generate a PNG/PDF using the abstract canvas stuff or an off-screen renderer.

    Did anything ever come of this? Is it possible now?

    I have a situation where this might be useful and was hoping I could use it.

    Thanks,
    Joey

  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: QwtPlot with no GUI

    Yes and no - yes means, that you can always create an application with an hidden plot widget ( no GUI ), no means, that this command line tool is more fat, than it needs to be, as it has to be linked against QtGui.

    ciao,
    Uwe

  3. #3
    Join Date
    Sep 2007
    Posts
    61
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtPlot with no GUI

    Yes, a hidden GUI will work, but if you have a QApplication that is initialized as follows: QApplication a( argc, argv, false ); (i.e. no X11 connection) then it will fail.

    I am trying to run this off the web so no X11 available. I would like to render directly into PNG or PDF using Qwt.

    Anyway, it would be nice since it seems so close!

    Joey

Similar Threads

  1. QwtPlot MVC
    By Vikram.Saralaya in forum Qwt
    Replies: 3
    Last Post: 28th May 2015, 09:54
  2. Replies: 9
    Last Post: 25th October 2012, 20:55
  3. Clicking on QwtPlot
    By orignihn in forum Qwt
    Replies: 1
    Last Post: 14th April 2011, 17:37
  4. QwtPlot margins
    By jmsbc in forum Qwt
    Replies: 0
    Last Post: 2nd October 2009, 19:11
  5. Replies: 6
    Last Post: 14th May 2009, 13:02

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.