From: Alban R. <a.r...@im...> - 2009-03-09 16:02:06
|
> Date: Fri, 6 Mar 2009 12:33:54 -0800 (PST) > From: "Alan W. Irwin" <ir...@be...> > Subject: Re: [Plplot-devel] A Qt4-based device driver has just been > donated to PLplot > To: Andrew Ross <and...@us...> > Cc: plp...@li... > Message-ID: > <alpine.DEB.2.00.0903061128510.15474@ybpnyubfg.ybpnyqbznva> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > I tried copying the 2.6.3 versions of FindQt4.cmake and UseQt4.cmake to > our own cmake/modules directory, but those files include specific 2.6.3 > functionality so they don't work with 2.6.0. > > The conclusion seems to be that everyone who is testing the qt device must > use CMake-2.6.3. > > Alban, I recall that you also had a problem with an empty drivers/moc_qt.cxx. > Does CMake-2.6.3 fix that for you? > > > Alan Alan, Andrew, Sorry for the late answer, I have missed this question. I think Andrew is experimenting the same issues I had on my system with moc requiring to be passed the -DPLD_qtwidget=ON parameter to generate a good moc_qt.cxx. Having very little experience with cmake, I'm afraid I cannot help you much more on this. I've updated part of my system, and it now works properly using cmake 2.6.2. Is it possible to force passing the -DPLD_qtwidget=ON parameter to moc when relevant? This would be more flexible than restricting to the latest cmake versions. The interactive Qt widget is the only one requiring the moc pass. The other drivers do not need it. Alban |