From: Alan W. I. <ir...@be...> - 2011-06-23 02:06:18
|
On 2011-06-17 11:30-0700 Alan W. Irwin wrote: > What you said reminded me that the Qt set of libraries comes in two > flavours, "release" and "debug". I am not sure anybody here has > actually tried this with PLplot, but from skimming through the CMake > documentation related to Qt4, it appears to me there is full support > for choosing one of those flavours. In particular, I suggest you try > using the -DCMAKE_BUILD_TYPE:STRING=Debug cmake option if you want to > use the debug flavour of Qt libraries for PLplot linking and don't > specify that option (which is what you have doing so far) if you want > to use the release flavour of the Qt libraries for PLplot linking. Hi Richard: Are you specifying one of -DCMAKE_BUILD_TYPE:STRING=Debug or -DCMAKE_BUILD_TYPE:STRING=Release? It appears from the last few messages in the thread at http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/36994/focus=37032 that you have to be specific this way to get good Qt results with MinGW on Windows. In other words, there appears to be something wrong with the CMake default in this special case (MinGW and Qt on Windows). There is a newly created CMake bug report about this issue at http://public.kitware.com/Bug/view.php?id=12301. But the easy workaround appears to be to specifically set one of the two choices above. As you know, I once got the qt device driver to work on wine, but then lost it again. I ascribed that failure as being due to incompatible MinGW versions. But in future wine/MinGW tests I am always going to set CMAKE_BUILD_TYPE to one of the above to see if that improves reliability. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |