Hi Richard: On 2011-06-23 19:11+0100 Richard Jackson wrote:
> Alan > > I rebuilt plplot 5.9.7 with the latest Qt 4.7.3 and its included gcc 4.4.0 > using this cmake command: > cmake -G "MinGW Makefiles" -DTEST_DYNDRIVERS=OFF -DBUILD_TEST=ON > -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX= .. > > It built Ok, it runs the examples OK, it runs my simple application OK, it > runs my main application OK [....] Excellent news indeed. > But I can now say that PLplot is OK with Qt under Windows, so long as you > specify -DTEST_DYNDRIVERS=OFF. Without that the test still crashes. Just a thought, but I wonder if maybe you forgot to put the path for the dll subdirectory on your PATH _before_ you ran make? If you did that necessary PATH change afterward before you ran the "x01c -dev qtwidget" test that would explain the bad result you are seeing with the simple dynamic load test that is done with -DTEST_DYNDRIVERS=ON while getting a good result for the more extensive "x01c -dev qtwidget" test. >From additional traffic on the CMake developer list this morning, an extremely simple bug fix for Qt4 and CMAKE_BUILD_TYPE bug has been found. When that bug fix gets into a release (maybe even the forthcoming CMake-2.8.5), then the release version of Qt4 will be used by default for PLplot builds with no necessity of setting -DCMAKE_BUILD_TYPE:STRING=Release. Of course, now and also in that future case, if you want the debug version of Qt4, you must specify -DCMAKE_BUILD_TYPE:STRING=Debug. > > Thanks for all your support You are welcome. And my thanks to you for your persistence with testing efforts which has now paid off. 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 __________________________ ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel