lyx_mirror/development/cmake
Jean-Marc Lasgouttes d7e2ca377f Get rid of QPA_XCB define
Since the platform is selected at run time (e.g. xcb vs. Wayland), it
is not a good idea to decide at compile time what code is run. Another
example is on macOS, where having xcb libraries available will lead to
lauching the Xquartz whenever LyX is running.

With this patch, things are separated:
- the code is run when run-time platform is "xcb".
- the support code is compiled in when xcb header and libraries are
  available.

The cmake code is courtesy of Kornel Benko.

Fixes ticket #13086.

(cherry picked from commit 18c310a8cf)
(cherry picked from commit f1fddd86ef)
(cherry picked from commit 3bc4554e57)
(cherry picked from commit 8c14748e78)
2024-08-31 15:07:29 +02:00
..
doc Move all python shebangs from /usr/bin/env to python3. 2018-12-29 19:14:41 +00:00
man Cmake build: All directory variables should contain trailing '/' 2020-04-14 13:01:17 +02:00
modules Amend(1) 5eaa03a1, Adapt to recognise AC_INIT empty buildtype 2024-05-15 12:16:59 +02:00
po cat.py: fix Python deprecation warning 2020-03-20 10:22:47 -04:00
post_install cmake build with qt6 (macos) did not include "plugins" 2024-04-02 11:53:51 +02:00
scripts Amend 2d48072e: Get rid of Qt resources 2020-06-07 12:07:58 +02:00
build5-2015-installer.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2015-x64.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2015.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:18:32 +01:00
build5-2017-installer.bat build5-2017.bat: add new script to compile using MSVC 2017 2019-10-20 23:11:17 +02:00
build5-2017.bat build5-2017.bat: add new script to compile using MSVC 2017 2019-10-20 23:11:17 +02:00
config.cpp.cmake
config.h.cmake Get rid of QPA_XCB define 2024-08-31 15:07:29 +02:00
configCompiler.h.cmake Revert "Amend 3093789e for cmake build" 2020-11-30 10:19:22 +01:00
configCompiler.h.msvc
configFunctions.cmake
configIncludes.cmake
ConfigureChecks.cmake Get rid of QPA_XCB define 2024-08-31 15:07:29 +02:00
dmg
Install.cmake Cmake install: Forgotten to install tabletemplates. 2024-04-20 19:38:17 +02:00
lyx_commit_hash.h.cmake
lyx_date.h.cmake
LyX_description.txt Cmake build: Add trailing '.' 2020-06-10 17:11:36 +02:00
LyX_license.txt
LyX_summary.txt
lyx.rc
LyxPackaging.cmake Amend 635a7d77: Allow compiling with Qt6 with cmake 2021-03-22 16:19:10 +01:00
mingw.bat
pcheaders.h
PyCompile.cmake
TODO.txt