Compiling With Qt5
Kornel Benko
kornel at lyx.org
Wed Apr 3 09:46:53 UTC 2024
Am Tue, 2 Apr 2024 21:54:22 -0400
schrieb Richard Kimberly Heck <rikiheck at gmail.com>:
> On 4/2/24 21:19, Scott Kostyshak wrote:
> > 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"
>
> Got it, thanks. Is there something similar to "./configure --help" that
> will tell me about these options?
>
> Also, do we want Qt6 to be the default with 2.4.x? In master, that might
> make sense, but it seems odd to change that now.
>
> Riki
>
>
Given, that your lyx-source is at "/usr/src/lyx/master"
and you are in the build directory:
There is also the command
cmake-gui /usr/src/lyx/master
Click on 'Grouped' to display the settings ordered.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240403/f045c497/attachment.asc>
More information about the lyx-devel
mailing list