Qt5_wrap_ui(${ARGN})
endmacro()
endif()
- # set QPA_XCB if QT uses X11
find_package(${QtVal}Core CONFIG REQUIRED)
if (${QtVal}Core_FOUND)
find_package(${QtVal}Widgets CONFIG REQUIRED)
list(APPEND tmp_vi " LyX files dir: ${CMAKE_INSTALL_PREFIX}/${dest_data}")
string(REPLACE ";" "\\n" VERSION_INFO "${tmp_vi}")
+# the result XCB_LIBRARY will be used in src/CMakeLists.txt and also in configuring config.h
find_library(XCB_LIBRARY NAMES xcb)
if (XCB_LIBRARY)
set(HAVE_LIBXCB 1 CACHE BOOL "" FORCE)
endif()
endif()
-set(QPA_XCB)
set(HAVE_QT5_X11_EXTRAS)
set(HAVE_QT6_X11_EXTRAS)
if (LYX_USE_QT MATCHES "QT5|QT6")
}
"
QT_USES_X11)
- if(QT_USES_X11 AND NOT LYX_USE_QT MATCHES "QT6")
- set(QPA_XCB ${QT_USES_X11})
- message(STATUS "Found QPA_XCB = ${QPA_XCB}")
- endif()
endif()
if (${QtVal}X11Extras_FOUND)