On 03.07.2016 18:48, racoon wrote:
[...]

So I guess CMake can't find my Qt5 installation?

Okay, for some reason LYX_USE_QT was set to QT4. I've changed it to QT5 (I guess that should be the default, or?

By the way, are you sure about this:

"Enable the LYX_INSTALL option, set CMAKE_INSTALL_PREFIX to
C:\LyX\lyx-23-install and click Configure."?

CMake keeps resetting this PREFIX to LYX_INSTALLED.

Anyway, next errors in detail:

---

TOP_SRC_DIR = C:/LyX/lyx23

Building out-of-source

Using downloaded dependencies in C:/LyX/lyx-23-build/msvc2015-deps

CXX11_FLAG_DETECTED = "noflagneeded"
Compiler supports std_regex
Found GNUWIN32: C:/LyX/lyx-23-build/msvc2015-deps/lyx-windows-deps-msvc2015
Configuring NSIS files
NSIS files are created in C:/LyX/lyx-23-build/installer
CMake Error at CMakeLists.txt:591 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.


Configuring incomplete, errors occurred!
See also "C:/LyX/lyx-23-build/CMakeFiles/CMakeOutput.log".

---

Daniel

Reply via email to