Compiling With Qt5

Scott Kostyshak skostysh at lyx.org
Wed Apr 3 01:19:35 UTC 2024


On Tue, Apr 02, 2024 at 08:41:50PM GMT, Richard Kimberly Heck wrote:
> I'm now getting:
> 
> CMake Error at CMakeLists.txt:826 (find_package):
>   Could not find a package configuration file provided by "Qt6Svg" with any
>   of the following names:
> 
>     Qt6SvgConfig.cmake
>     qt6svg-config.cmake
> 
>   Add the installation prefix of "Qt6Svg" to CMAKE_PREFIX_PATH or set
>   "Qt6Svg_DIR" to a directory containing one of the above files.  If
> "Qt6Svg"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> Call Stack (most recent call first):
>   src/frontends/qt/CMakeLists.txt:50 (qt_use_modules)
> 
> I guess I need to tell it to use Qt5? How do I do that with cmake?

I think the following:

  cmake -DLYX_USE_QT="QT5"

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240402/42b6b408/attachment.asc>


More information about the lyx-devel mailing list