CMake: Implement configure -qpa

Change-Id: I38a938cda91a525d2af22deec864c6a12af3e29d
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Joerg Bornemann 2020-08-28 15:38:30 +02:00
parent 69004cb290
commit 7ddb4dcad5
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -138,7 +138,7 @@ The effort of this is tracked in QTBUG-85373 and QTBUG-85349.
| -opengl <api> | | |
| -opengles3 | | |
| -egl | | |
| -qpa <name> | | |
| -qpa <name> | -DQT_QPA_DEFAULT_PLATFORM=<name> | |
| -xcb-xlib | -DFEATURE_xcb_xlib=ON | |
| -direct2d | -DFEATURE_direct2d=ON | |
| -directfb | -DFEATURE_directfb=ON | |