[Qt-interest] Qt Charting Component - Feedback Request
Sean Harmer
sean.harmer at maps-technology.com
Mon Mar 7 15:04:46 CET 2011
Hi again,
On Sunday 06 March 2011 14:44:27 K. Frank wrote:
> Okay, in my exploratory project I currently have a form I set up
> with Qt Designer that includes a QwtPlot on which I plot (in code)
> my data of interest. (This is a basic 2D line / scatter plot that
> will ultimately have multiple -- two or three -- data series on it.)
OK no problem.
> So the path of least resistance to test-driving your charting package
> might be to replace the QwtPlot with a QWidget and promote it to
> (in the Qt Designer sense) a ZPlotWidget. (I'm assuming that you
> haven't packaged your plotting components as Designer plug-ins.)
> Would this work?
Not as yet no. At present I only have one widget which is itself only a 50
line convenience wrapper around a QGraphicsView and a contained
QGraphicsScene.
> What files would I need? Presumably some of the ZtPlot header
> files, for example those used in the example listing you posted
> on the developer forum. I would also need implementation code.
> Could I just add the relevant files (headers and implementation)
> to my project? That is, copy them to my project directory and
> add them to my .pro file? That might be easiest for a test drive.
>
> Or would I need to build a ZtPlot library, and link to it?
At present I build a ZtPlot library and link to it but there is no reason why
you can't hack the .pro files to build it directly into your app.
I'll make a note to make this a configuration option.
> By the way, I am using Qt 4.6.1 and mingw g++ 4.4.1 (a TDM build)
> for the project in question. The path of least resistance would be to
> keep using those versions as my platform, but I suppose I could use
> this experiment as an excuse to upgrade. What Qt / compiler versions
> are required by your charting package?
I mainly develop using gcc-4.4.5 on Linux at present. I think the only
dependency is for >=Qt-4.6.0 as that is when QGraphicsObject was introduced.
So as far as I know your combination should work. I have also tested it on
Windows XP and 7 wuth MS Visual Studio 2005.
> So, if I wish to subject myself to guinea-pig-dom, what would I need
> to get from you, and how should we best proceed?
If it is OK with you I'll contact you offlist and you can have svn access.
That will be easiest if I need to patch anything to get it working with your
project.
Cheers,
Sean
More information about the Qt-interest-old
mailing list