Hi Samu, thanks for a quick response. I'm doing a pretty large plots of XY data sets -- sometimes the data is dates, sometimes the numbers huge Doubles, other times very small Doubles. And I need to be able to zoom in. This kind of arbitrary data just cries out for JFreeCharts (or something like it that I can merge into Jambi).
I'm happy to give your idea of faking a QTDIR a go, but to be honest I have no idea how to begin that on a Windows box. I'm using Netbeans 6.8, and I have the qtjambiawtbridge source code. Can you give me a quick "How To" (or point me to one?). Which compiler should I use? -Doug (By the way for what it's worth integrating Jambi with Netbeans was a breeze). --- On Mon, 12/9/11, Samu Voutilainen <s...@smar.fi> wrote: From: Samu Voutilainen <s...@smar.fi> Subject: Re: [Qt-jambi-interest] Need help with qtjambiawtbridge To: qt-jambi-interest@qt.nokia.com Cc: "doug brann" <dorsal_f...@yahoo.com>, "José Arcángel Salazar Delgado" <arcangel.sala...@gmail.com> Received: Monday, 12 September, 2011, 1:54 AM You can always fake a QTDIR system, if awtbridge relies on that flag. Given it doesn’t need private stuff (non-public headers of Qt). If you need to do arbitrary drawing, Qt provides graphics view system, and Jambi supports it well. It might be interesting alternative too. On Monday 12 September 2011 00:07:05 doug brann wrote: > Hi José and thanks for your reply. > > I actually started out doing exactly what you described, but I quickly > realized that I needed a 'zoom' capability to have a closer look at parts of > the plot (I'm displaying 10000-100000 data points on a time scale that goes back decades). At that point, I realized I was faced with the pain of doing the coordinate transformations required to relate pixels of a png back to my data set, get the correct range data from SQLite again, and redraw the plot. Or I could just use the jambi-awt bridge and all would be well. > > Once I figured out how to get the awt bridge out of gitorious, the zoom > actually worked perfectly, and the entire task was reduced to a few minutes > work, rather than the huge pain in the neck I just mentioned. My 'only' trouble is, that some of my users are using win32, and others are using win64. I'll probably eventually have some linux users, but that's a couple of years away. > > If you have any suggestions that could help me out of this mess, I'd be > grateful. Or if anyone out there has a win64 version of the.dll (or knows > how to get one). > > -Doug > > > > --- On Sun, 11/9/11, José Arcángel Salazar Delgado > <arcangel.sala...@gmail.com> wrote: > > From: José Arcángel Salazar Delgado <arcangel.sala...@gmail.com> > Subject: Re: [Qt-jambi-interest] Need help with qtjambiawtbridge > To: qt-jambi-interest@qt.nokia.com > Received: Sunday, 11 September, 2011, 4:18 PM > > > > #yiv1659042450 p, #yiv1659042450 li {white-space:pre-wrap;} > > On Domingo 11 Septiembre 2011 14:18:41 doug brann escribió: > > On Friday I downloaded the the jambi-awt bridge from gitorious, and the > > pre-generated directory had the jar file and the .dll needed to run the > > code from a win32 machine (windows 7). I was thrilled. The problem came > > when I found that the prebuilt code wouldn't run on a win64 (windows 7) > > machine. > > > > A quick glance at the source code confirmed that I would be needing to > > build qt from the source code in order to rebuild the qtjambiawtbridge for > > win64 -- a task that must be very difficult, or the experts out there > > would have already released the binaries. For my win64 releases of my > > code, I'm using an older version of the jambi binaries. > > > > I was really hoping to use JFreeChart for my current project (thus the > > desire to use the jambiawt bridge), but now I'm worried that I may have > > coded myself into a corner. > > > > I found a few posts from Darryl Miles that indicated he was working towards > > a solution to this problem. Is there any hope on this soon? Or has someone > > out there managed to build the bridge in a win64 environment and would be > > willing to share the .dll with a stranger? > > > > Thanks for your help/ > > > > -Doug > If you don't need advanced features of jfreechart, you can do the same that I > do: Generate PNG images of the charts and them, show it in a QLabel. > -- Terveisin, Samu Voutilainen http://smar.fi
_______________________________________________ Qt-jambi-interest mailing list Qt-jambi-interest@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest