Compiling With Qt5

Richard Kimberly Heck rikiheck at gmail.com
Fri Apr 5 21:23:57 UTC 2024


On 4/5/24 03:02, Kornel Benko wrote:
> Am Thu, 4 Apr 2024 13:39:18 -0400
> schrieb Richard Kimberly Heck <rikiheck at gmail.com>:
>
>> On 4/3/24 06:34, Jean-Marc Lasgouttes wrote:
>>> Le 03/04/2024 à 12:27, Pavel Sanda a écrit :
>>>> On Tue, Apr 02, 2024 at 09:54:22PM -0400, Richard Kimberly Heck wrote:
>>>>> 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.
>>>> I would not do that for 2.4 at this stage.
>>> I guess we could do that in a later 2.4 version, but this will need a
>>> discussion.
>> I think it already is the default in the 2.4.x branch:
>>
>> ../lyx-2.4.x/build/ [2.4.x] > cmake ..
>> CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
>>     Compatibility with CMake < 3.5 will be removed from a future version of
>>     CMake.
>>
>>     Update the VERSION argument <min> value or use a ...<max> suffix to tell
>>     CMake that the project does not need compatibility with older versions.
>>
>>
>> -- TOP_SRC_DIR = /cvs/lyx/lyx-2.4.x
> We could use
> 	# git cherry-pick 8d79860e
> I omitted it in 2.4.x, because I did not want to mess ...

Unless I'm misreading it, commit 993e784a6284a to 2.4.x makes Qt6 the 
default (and that commit is also in 2.4.1-devel). When I run cmake on a 
system with Qt6 installed, I get errors, since I don't have all the 
devel files installed.

Riki




More information about the lyx-devel mailing list