From 6a7d21c2c6f30c6516d3ddcfe26894915f66268c Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Fri, 19 Jan 2024 11:45:39 +0100 Subject: [PATCH] Discard QT4 from INSTALL.cmake --- INSTALL.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL.cmake b/INSTALL.cmake index 4d889e0fc4..83f892c470 100644 --- a/INSTALL.cmake +++ b/INSTALL.cmake @@ -9,13 +9,15 @@ Building LyX with CMake 3rd party libraries -------------------- - Install Qt 4 or Qt 5 and make sure qmake is found. + Install Qt 5 or Qt 6 and make sure qmake is found. Add the folder with qmake to the environment variable PATH. If you've compiled Qt by yourself or qmake is not found after installing Qt fix PATH, Linux/Unix: export PATH=/bin:$PATH Windows : set PATH=\bin;%PATH% - If you use Qt 5, use -DLYX_USE_QT=QT5, otherwise Qt 4 will be searched. + if you use -DLYX_USE_QT=AUTO, or do not use LYX_USE_QT, Qt 6 will be searched first + and if not found Qt 5 will be used. + If you want to use Qt 5, use -DLYX_USE_QT=QT5. When you want to run LyX without installing from an out-of-source build directory you have to set the environment variable LYX_DIR_24x