On 2014-03-13 13:07-0500 RM wrote: > Hi Alan, > > I downloaded the latest PLplot code and ran cmake against it with the > following command: > > cmake28 -DPLPLOT_USE_QT5=ON -DCMAKE_PREFIX_PATH=/opt/qt5.2.1_x64/ .. > > It runs through and dies with a QT SVG issue: > > ---------------------------------- > CMake Warning at /opt/qt5.2.1_x64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:273 > (find_package): > Could not find a package configuration file provided by "Qt5QtSvg" with any > of the following names: > > Qt5QtSvgConfig.cmake > qt5qtsvg-config.cmake > > Add the installation prefix of "Qt5QtSvg" to CMAKE_PREFIX_PATH or set > "Qt5QtSvg_DIR" to a directory containing one of the above files. If > "Qt5QtSvg" provides a separate development package or SDK, be sure it has > been installed. > Call Stack (most recent call first): > bindings/qt_gui/CMakeLists.txt:48 (qt5_use_modules) > > > CMake Error at /opt/qt5.2.1_x64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:275 > (message): > Can not use "QtSvg" module which has not yet been found. > Call Stack (most recent call first): > bindings/qt_gui/CMakeLists.txt:48 (qt5_use_modules) > > -- Configuring incomplete, errors occurred! > ---------------------------------- > > > The Qt SVG file it's looking for appears to be named incorrectly -- the file > is in fact called "Qt5SvgConfig.cmake" not > "Qt5QtSvgConfig.cmake" > > Was this a typo in the script? I haven't dug into the error -- I figured > you'd probably know straight away.
This result is quite encouraging. CMake found the core part of Qt5 without issues, and this error is only for the subsequent attempt to find additional components. Furthermore, your analysis of this error was correct; I had misread the documentation and used a Qt prefix on the component names when I shouldn't have. Fixed in revision 13052. So thanks for your report, and please try again with that revision. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel