From a7e429e5a3da6b97fcc25e0dd4a3cb765f20f576 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 19 Jan 2024 09:47:39 +0100 Subject: [PATCH] Show frame capture in configure summary Have to watch the RenderDoc test otherwise in the CMake output (e.g. on Windows), making it quite hard to spot if QGraphicsFrameCapture is going to be available or not. Change-Id: I147378a7d1e5725239472ef83814eebb1358878a Reviewed-by: Hatem ElKharashy Reviewed-by: Andy Nichols --- src/gui/configure.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 52b85a1db8..19e274e255 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -1240,7 +1240,7 @@ qt_feature("undogroup" PUBLIC qt_feature("graphicsframecapture" PRIVATE SECTION "Utilities" LABEL "QGraphicsFrameCapture" - PURPOSE "Provides a way to capture a graphic's API calls for a rendered frame." + PURPOSE "Provides a way to capture 3D graphics API calls for a rendered frame." CONDITION TEST_renderdoc OR (MACOS OR IOS) ) qt_feature_definition("undogroup" "QT_NO_UNDOGROUP" NEGATE VALUE "1") @@ -1286,6 +1286,7 @@ qt_configure_add_summary_entry(ARGS "opengles31") qt_configure_add_summary_entry(ARGS "opengles32") qt_configure_end_summary_section() # end of "OpenGL" section qt_configure_add_summary_entry(ARGS "vulkan") +qt_configure_add_summary_entry(ARGS "graphicsframecapture") qt_configure_add_summary_entry(ARGS "sessionmanager") qt_configure_end_summary_section() # end of "Qt Gui" section qt_configure_add_summary_section(NAME "Features used by QPA backends")