X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL.cmake;h=83f892c4706d6370a09c4247dd65e90596f5e968;hb=a6ba4c8c5cd23c8b27a6f4e9ac26b11f4938f37a;hp=e0e7afde4cb740ee5ae1e4e20e8ef36ce42c91d7;hpb=a171c651a6802380aad7d7e24ed1a95ffa814de6;p=lyx.git diff --git a/INSTALL.cmake b/INSTALL.cmake index e0e7afde4c..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 @@ -162,7 +164,7 @@ Build options -- LYX_ENABLE_KEYTESTS = ON : Enable for keytests -- LYX_ASAN = OFF : Use address sanitizer -- LYX_USE_FILEDIALOG = NATI : Use native or QT file dialog (QT NATIVE) - -- LYX_USE_QT = QT5 : Use Qt version as frontend (AUTO QT4 QT5) + -- LYX_USE_QT = QT6 : Use Qt version as frontend (AUTO QT5 QT6) -- LYX_DISABLE_CALLSTACK_PRI= OFF : do not print a callstack when crashing -- LYX_EXTERNAL_Z = ON : OFF := Build 3rdparty lib zlib -- LYX_EXTERNAL_ICONV = ON : OFF := Build 3rdparty lib iconvlib @@ -262,7 +264,7 @@ Ubuntu/Kubuntu You need additionally these packages: * g++ * cmake - * qt4-dev-tools + qt4-qmake or qttools5-dev-tools + qt5-qmake + * qttools5-dev-tools + qt5-qmake or qt6-base-dev-tools + qt6-tools-dev