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
-- 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
# GCC specific
-- LYX_PROFILE = OFF : Build with options for gprof
+ -- LYX_EXTERNAL_BOOST = OFF : Use external boost
-- LYX_PROGRAM_SUFFIX = ON : Append version suffix to binaries
-- LYX_DEBUG_GLIBC = OFF : Enable libstdc++ debug mode
-- LYX_DEBUG_GLIBC_PEDANTIC = OFF : Enable libstdc++ pedantic debug mode
* for the 'Debug' and 'Release' build all precompiled headers are enabled
to compile without pch (non file merge mode) This could be used to check
if all necessary headers are included.
- * use 'MinSizeRel' which only precompiles the STL headers
+ * use 'MinSizeRel' which only precompiles the STL and Boost headers
* use 'RelWithDebInfo' which does not use any precompiled headers
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