|
From: Ethan A M. <merritt@u.washington.edu> - 2009-02-03 06:36:04
|
On Monday 02 February 2009, Philipp K. Janert wrote: > > I think this is welcome! Thanks, Jerome! > > I have not looked at the code for this patch, but > I have programmed Qt before, and I can say that it: > - works really well > - is incredibly well documented > - has a very large set of useful widgets (although > this does not do much for gnuplot right now). > > What would make this really, really cool is if it > could truly leverage Qt's cross-platform capabilities, > such that it would become easier to build and install > gnuplot on Win and the Mac. > > By the same token, if it does NOT offer this > cross-platform capability, then I need to understand > better what this patch does that wxt is not doing > already. Could you speak to that? I haven't tried this new driver yet, but if I understood the earlier description correctly, it probably suffers from exactly the same problem as wxt on Mac. The event loop is in a thread, and OSX does not like that. But we'll see. Ethan > > Best, > > Ph. > > > On Monday 02 February 2009 12:28:26 pm Jérôme Lodewyck wrote: > > Le lundi 2 février 2009, Ethan A Merritt a écrit : > > > On Sunday 01 February 2009, Jérôme Lodewyck wrote: > > > > Hi, > > > > > > > > I have written a Qt terminal for Gnuplot. My main motivation for doing > > > > this is that Qt is going to be released under the LGPL, and I far as I > > > > understood, this license is compatible with Gnuplot. > > > > The terminal is mostly inspired from the wxWidgets terminal (thanks > > > > Timothée for your hard work !). It is not yet optimized and there are > > > > still some glitches here and there, but it is mostly feature complete. > > > > If it is of interest for someone, I will be happy to propose a patch. > > > > > > Sure, go ahead and post a patch. > > > It is hard to tell much about how it works by looking only at > > > screenshots. > > > > Ok, the patch is submitted > > > > > Please describe more precisely what libraries or environment thie new > > > terminal would require. > > > Does it use the KDE libraries, or just Qt? > > > If one built gnuplot with only the driver, would it be run on, say, > > > the OpenMoko mobile phone platform? > > > What about non-linux Qt platforms? > > > > It uses Qt 4 libraries. It was developed on Linux with Qt 4.4.3, but in my > > experience, Qt applications usually work out of the box on any platform > > supported by Qt (X11, windows, MacOS X, framebuffer linux, windows CE). > > Only one pat of the terminal makes use of non-Qt functions: the Qt main > > loop is implemented inside a pthread, which is a problem because > > 1/ It doesn't work on non-UNIX platforms, but from what I understood from > > the wx terminal, Windows support would only imply putting #ifdef's around > > the pthread functions > > 2/ Qt does not officially support running the main event loop inside a > > thread; however, I did not experience any problem with this (except that Qt > > functions should be used with care in the gnuplot thread) > > > > Jérôme > > > > > Ethan > > > > > > > Screenshots: > > > > > > > > http://lodewyck.free.fr/gp1.png > > > > http://lodewyck.free.fr/gp2.png > > > > http://lodewyck.free.fr/gp3.png > > > > > > > > Regards, > > > > > > > > Jérôme > > > > > > > > ----------------------------------------------------------------------- > > > >-- ----- This SF.net email is sponsored by: > > > > SourcForge Community > > > > SourceForge wants to tell your story. > > > > http://p.sf.net/sfu/sf-spreadtheword > > > > _______________________________________________ > > > > gnuplot-beta mailing list > > > > gnu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > --------------------------------------------------------------------------- > >--- This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > gnuplot-beta mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |