cmake: build minimal platform plugin
Change-Id: Icd80b33e2840ab1d34d2502bfdc3cb9116bdfba4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
ad312879b5
commit
7edcdd7ac0
@ -1,3 +1,7 @@
|
||||
if (NOT ANDROID)
|
||||
add_subdirectory(minimal)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_xcb)
|
||||
add_subdirectory(xcb)
|
||||
endif()
|
||||
|
37
src/plugins/platforms/minimal/CMakeLists.txt
Normal file
37
src/plugins/platforms/minimal/CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated from minimal.pro.
|
||||
|
||||
find_package(Freetype)
|
||||
|
||||
#####################################################################
|
||||
## qminimal Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(qminimal
|
||||
TYPE platforms
|
||||
SOURCES
|
||||
main.cpp
|
||||
qminimalbackingstore.cpp qminimalbackingstore.h
|
||||
qminimalintegration.cpp qminimalintegration.h
|
||||
DEFINES
|
||||
QT_NO_FOREACH
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
# OTHER_FILES = "minimal.json"
|
||||
# PLUGIN_CLASS_NAME = "QMinimalIntegrationPlugin"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(qminimal CONDITION QT_FEATURE_freetype
|
||||
LIBRARIES
|
||||
Freetype::Freetype
|
||||
)
|
||||
#
|
||||
#extend_target(qminimal CONDITION NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN
|
||||
# # PLUGIN_EXTENDS = "-"
|
||||
#)
|
Loading…
Reference in New Issue
Block a user