From 7ddb4dcad52888ca3e5d62fd1c94ebf547df2127 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 28 Aug 2020 15:38:30 +0200 Subject: [PATCH] CMake: Implement configure -qpa Change-Id: I38a938cda91a525d2af22deec864c6a12af3e29d Reviewed-by: Cristian Adam --- cmake/QtProcessConfigureArgs.cmake | 1 + cmake/configure-cmake-mapping.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index 3444da9fcd..b4fc1792c5 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -553,6 +553,7 @@ if(NOT "${INPUT_device}" STREQUAL "") endif() translate_string_input(platform QT_QMAKE_TARGET_MKSPEC) translate_string_input(xplatform QT_QMAKE_TARGET_MKSPEC) +translate_string_input(qpa_default_platform QT_QPA_DEFAULT_PLATFORM) drop_input(make) drop_input(nomake) diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index ba4dcb2dc0..6e4b2c4549 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -138,7 +138,7 @@ The effort of this is tracked in QTBUG-85373 and QTBUG-85349. | -opengl | | | | -opengles3 | | | | -egl | | | -| -qpa | | | +| -qpa | -DQT_QPA_DEFAULT_PLATFORM= | | | -xcb-xlib | -DFEATURE_xcb_xlib=ON | | | -direct2d | -DFEATURE_direct2d=ON | | | -directfb | -DFEATURE_directfb=ON | |