On Mon, Jun 20, 2016 at 4:21 PM, Kornel Benko <kor...@lyx.org> wrote:

> Am Montag, 20. Juni 2016 um 16:04:03, schrieb Joel Kulesza <
> jkule...@gmail.com>
> > On Mon, Jun 20, 2016 at 3:39 PM, Kornel Benko <kor...@lyx.org> wrote:
> > > > I have asked the admins to install Qt5 and I'll give it another go
> > > > following that (ETA unknown).  This is perhaps a good opportunity for
> > > them
> > > > to get the upgrade out for other interested parties...
> > >
> > > OK. But make sure that the devel package of QT is installed too.
> > >
> >
> > That is among what I explicitly requested.
>
> OK.
>

So, now the admins are causing problems.  First, they installed a stripped
down verison of Qt5 which lacked SVG support.  When I requested it, they
installed all of Qt5 elsewhere.  Now, I'm having path problems where CMake
wants to use Qt5 from /usr/lib64/qt5 but the dependencies (and an
apparently separate, second, install) are in
/opt/local/rh/qt5/usr/lib64/qt5.  How best can I force CMake to use this Qt
path?  Setting LD_LIBRARY_PATH, a command line parameter to CMake,
something else?  Below is what I currently see

-- TOP_SRC_DIR = /home/jkulesza/SRC/lyx220
-- 
-- Building in-source
-- 
-- Using GCC version 5.3.0
-- CXX11_FLAG_DETECTED = "--std=c++11"
-- Found Qt-Version 5.6.0
...
-- ----- PACKAGE                     : lyx2.2
-- ----- PACKAGE_VERSION             : 2.2.0
-- ----- PROGRAM_SUFFIX              : 2.2
-- ----- LYX_DATE                    : 2016-05-23
-- ----- LYX_DIR_VER                 : LYX_DIR_22x
-- ----- LYX_USERDIR_VER             : LYX_USERDIR_22x
-- ----- LYX_ABS_TOP_SRCDIR          : /home/jkulesza/SRC/lyx220
-- ----- LYX_ABS_INSTALLED_DATADIR   : /usr/local/lyx2.2
-- ----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/local/lyx2.2/locale
-- ----- LYX_INSTALL_SUFFIX          : 2.2
-- 
CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:326
(find_package):
  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If
"Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:607 (qt5_use_modules)
  src/frontends/qt4/CMakeLists.txt:64 (qt_use_modules)


CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
  Can not use "Svg" module which has not yet been found.
Call Stack (most recent call first):
  CMakeLists.txt:607 (qt5_use_modules)
  src/frontends/qt4/CMakeLists.txt:64 (qt_use_modules)


-- Configuring incomplete, errors occurred!

where I do have /opt/local/rh/qt5/usr/lib64/cmake/Qt5Svg/Qt5SvgConfig.cmake
but cannot seem to get CMake to see it.

Reply via email to