build-system: add QQuickWidgets to mobile build

Even though the mobile build doesn't have a UI for the statistics, yet, it
already builds the base files.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-11-15 15:19:40 -08:00
parent 3fa2a6a533
commit cdd3adc61b

View file

@ -192,6 +192,7 @@ elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
set(SUBSURFACE_TARGET subsurface-mobile) set(SUBSURFACE_TARGET subsurface-mobile)
endif() endif()
list(APPEND QT_EXTRA_COMPONENTS QuickControls2) list(APPEND QT_EXTRA_COMPONENTS QuickControls2)
list(APPEND QT_EXTRA_COMPONENTS QuickWidgets)
add_definitions(-DSUBSURFACE_MOBILE) add_definitions(-DSUBSURFACE_MOBILE)
# add definition to seperate mobile for devices and for desktop # add definition to seperate mobile for devices and for desktop