From: Georg Baum Date: Fri, 9 Oct 2015 19:19:41 +0000 (+0200) Subject: Document how to use Qt 5 with cmake X-Git-Tag: 2.2.0alpha1~254 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad8e7bb56f7bda1b566279428c33f88b4ea42352;p=features.git Document how to use Qt 5 with cmake --- diff --git a/INSTALL.cmake b/INSTALL.cmake index 420102a8a3..731fbc5447 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=/bin:$PATH Windows : set PATH=\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