Iconbrowser test: use the variable font on Android
It's the font with the highest priority in the engine, and allows us to test variants by setting a variable axis. Change-Id: I44bd3a63eef8d6cb999eaa372c29abbf445f401b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
b5a0db53b5
commit
dfdb7a0430
@ -29,14 +29,14 @@ target_link_libraries(iconbrowser PRIVATE
|
||||
endif()
|
||||
|
||||
if (ANDROID)
|
||||
set(font_filename "MaterialIcons-Regular.ttf")
|
||||
set(font_filename "MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf")
|
||||
if (QT_ALLOW_DOWNLOAD)
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
MaterialIcons
|
||||
URL
|
||||
"https://github.com/google/material-design-icons/raw/master/font/${font_filename}"
|
||||
"https://github.com/google/material-design-icons/raw/master/variablefont/${font_filename}"
|
||||
DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}
|
||||
DOWNLOAD_NAME "${font_filename}"
|
||||
DOWNLOAD_NO_EXTRACT TRUE
|
||||
|
Loading…
x
Reference in New Issue
Block a user