diff --git a/config-kwin.h.cmake b/config-kwin.h.cmake index cdd935e609..98cf1da568 100644 --- a/config-kwin.h.cmake +++ b/config-kwin.h.cmake @@ -7,6 +7,7 @@ #define KWIN_INTERNAL_NAME_X11 "${KWIN_INTERNAL_NAME_X11}" #define KWIN_CONFIG "${KWIN_NAME}rc" #define KWIN_VERSION_STRING "${PROJECT_VERSION}" +#define XCB_VERSION_STRING "${XCB_VERSION}" #define KWIN_KILLER_BIN "${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}/kwin_killer_helper" #cmakedefine01 HAVE_WAYLAND #cmakedefine01 HAVE_WAYLAND_EGL diff --git a/workspace.cpp b/workspace.cpp index 83b7ad036e..7cbe81ebac 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1331,7 +1331,9 @@ QString Workspace::supportInformation() const support.append(QStringLiteral("\n")); support.append(QStringLiteral("Qt Version: ")); support.append(QString::fromUtf8(qVersion())); - support.append(QStringLiteral("\n\n")); + support.append(QStringLiteral("\n")); + support.append(QStringLiteral("Qt compile version: %1\n").arg(QStringLiteral(QT_VERSION_STR))); + support.append(QStringLiteral("XCB compile version: %1\n\n").arg(QStringLiteral(XCB_VERSION_STRING))); support.append(QStringLiteral("Operation Mode: ")); switch (kwinApp()->operationMode()) { case Application::OperationModeX11: