On Fri, Mar 06, 2009 at 06:42:55PM +0000, Andrew Ross wrote: > On Fri, Mar 06, 2009 at 09:30:59AM -0800, Alan Irwin wrote: > > On 2009-03-06 09:51-0000 Alban Rochel wrote: > > > > > Hi Alan, > > > > > > Sorry for not properly quoting the relevant parts of your e-mails, but > > > when I registered to the plplot-devel list I chose to receive e-mails as > > > a digest, and I haven't received it yet. I have read your messages on > > > the sourceforge archive for the mailing list. I've changed that in my > > > registration settings, so the next messages will be more readable. > > > > > > Now for your suggestions, remarks and questions: > > > > > > "The big issue I noticed at this time is I cannot get -dev qtwidgets to > > > work. Here are the symptoms (when run in the installed examples > > > directory)." > > > Actually, qtwidget was not supposed to work directly from the console (a > > > bit like the mem device, that requires a specific initialisation). I was > > > about to explain you why it was impossible, but now I'm wondering if > > > this wouldn't be possible in fact (I'm still a bit focused on how it > > > works on QSAS!). I'll make a couple of tests and keep you in touch :) > > > > > > "I have implemented this change as of revision 9678 and -dev epsqt and > > > -dev pdfqt work as expected regardless of file suffix. > > > As most on this list know, my C++ skills are not as good as my C skills. > > > :-)" > > > I'll have a look at that! I can do the same for rasterqt if you wish. > > > > Thanks for dealing with both issues after you sent the above post. > > > > I have committed your latest patch as revision 9679. > > I tested that revision as follows: > > > > In the build tree I used the cmake options -DPLD_bmpqt=ON -DPLD_jpgqt=ON > > -DPLD_pngqt=ON -DPLD_ppmqt=ON -DPLD_tiffqt=ON -DPLD_svgqt=ON -DPLD_epsqt=ON > > -DPLD_pdfqt=ON -DPLD_qtwidget=ON > > Alan, > > With current SVN, these options and a clean build tree I get a failure > with make. > > [ 17%] Generating moc_qt.cxx > > /home/andrew/software/plplot/plplot/drivers/qt.h:0: Warning: No > relevant classes found. No output generated. > > moc_qt.cxx exists but is blank and so no qt drivers are built. > The make then fails a couple of steps later with > > [ 18%] Generating qt.rc > Could not open driver module /home/andrew/software/plplot/build/drivers/qt > libltdl error: file not found > > Any ideas? This is with cmake 2.6.0 (current version shipped with > Ubuntu).
I get the same message if I try "moc qt.h" in the drivers src tree. A quick google search suggests that this is probably due to the header files not being correctly found by moc so the #ifdef statements are all ignored. Alan, does this really work for you with a clean build tree and latest svn. Also are you definitely using moc-qt4? Apparently moc didn't support preprocessor directives at all in qt3. Andrew ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
