[LyX/master] Discard QT4 from INSTALL.cmake
Kornel Benko
kornel at lyx.org
Fri Jan 19 09:18:34 UTC 2024
commit 6a7d21c2c6f30c6516d3ddcfe26894915f66268c
Author: Kornel Benko <kornel at lyx.org>
Date: Fri Jan 19 11:45:39 2024 +0100
Discard QT4 from INSTALL.cmake
---
INSTALL.cmake | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/INSTALL.cmake b/INSTALL.cmake
index 4d889e0..83f892c 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=<your path to qt>/bin:$PATH
Windows : set PATH=<your path to qt>\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
More information about the lyx-cvs
mailing list