commit ad8e7bb56f7bda1b566279428c33f88b4ea42352
Author: Georg Baum <[email protected]>
Date: Fri Oct 9 21:19:41 2015 +0200
Document how to use Qt 5 with cmake
diff --git a/INSTALL.cmake b/INSTALL.cmake
index 420102a..731fbc5 100644
--- a/INSTALL.cmake
+++ b/INSTALL.cmake
@@ -9,12 +9,13 @@ Building LyX with CMake
3rd party libraries
--------------------
- Install Qt 4 and make sure qmake is found.
+ Install Qt 4 or Qt 5 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.
When you want to run LyX without installing from an out-of-source
build directory you have to set the environment variable LYX_DIR_21x