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 Remove boost/format support 2016-05-29 17:55:45 -04:00
configFunctions.cmake Fix typo in configFunctions.h (wrong define for the header) 2014-03-13 08:28:06 +01:00
configIncludes.cmake Cmake build: Creating a define for a header file found 2013-02-12 19:01:16 +01:00
ConfigureChecks.cmake Get rid of QPA_XCB define 2024-08-31 15:07:29 +02:00
dmg cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs 2011-05-15 13:21:18 +00:00
Install.cmake Cmake install: Forgotten to install tabletemplates. 2024-04-20 19:38:17 +02:00
lyx_commit_hash.h.cmake Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake. 2014-10-24 16:58:54 +02:00
lyx_date.h.cmake Cmake build: 2012-11-01 13:00:19 +01:00
LyX_description.txt Cmake build: Add trailing '.' 2020-06-10 17:11:36 +02:00
LyX_license.txt CMake install and bundling improvements (esp. OS X) 2014-04-21 11:51:04 -04:00
LyX_summary.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
lyx.rc cmake: add icon on Windows 2010-06-30 08:35:52 +00:00
LyxPackaging.cmake Amend 635a7d77: Allow compiling with Qt6 with cmake 2021-03-22 16:19:10 +01:00
mingw.bat Require a C++11 compiler 2016-06-07 20:34:52 +02:00
pcheaders.h Replace Boost.Signals with Boost.Signals2 2016-06-09 22:25:34 +02:00
PyCompile.cmake Make installed python scripts executable (as in autotools) 2011-05-08 07:28:19 +00:00
TODO.txt Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00