Compiling With Qt5

Richard Kimberly Heck rikiheck at gmail.com
Wed Apr 3 01:54:22 UTC 2024


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




More information about the lyx-devel mailing list