cmake: build the minimalegl platform plugin
Change-Id: I5c509efa30257be6ccc3455dd40bef3882b7e1da Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
7830b72fd5
commit
4ac0afb8ba
@ -10,6 +10,10 @@ if(QT_FEATURE_xcb)
|
||||
add_subdirectory(xcb)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_eglfs)
|
||||
add_subdirectory(minimalegl)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_linuxfb)
|
||||
add_subdirectory(linuxfb)
|
||||
endif()
|
||||
|
38
src/plugins/platforms/minimalegl/CMakeLists.txt
Normal file
38
src/plugins/platforms/minimalegl/CMakeLists.txt
Normal file
@ -0,0 +1,38 @@
|
||||
# Generated from minimalegl.pro.
|
||||
|
||||
#####################################################################
|
||||
## qminimalegl Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(qminimalegl
|
||||
TYPE platforms
|
||||
SOURCES
|
||||
main.cpp
|
||||
qminimaleglintegration.cpp qminimaleglintegration.h
|
||||
qminimaleglscreen.cpp qminimaleglscreen.h
|
||||
qminimaleglwindow.cpp qminimaleglwindow.h
|
||||
DEFINES
|
||||
QT_EGL_NO_X11
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
Qt::EglSupportPrivate
|
||||
# CONFIG = "egl"
|
||||
# OTHER_FILES = "minimalegl.json"
|
||||
# PLUGIN_CLASS_NAME = "QMinimalEglIntegrationPlugin"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(qminimalegl CONDITION QT_FEATURE_opengl
|
||||
SOURCES
|
||||
qminimaleglbackingstore.cpp qminimaleglbackingstore.h
|
||||
)
|
||||
#
|
||||
#extend_target(qminimalegl CONDITION NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN
|
||||
# # PLUGIN_EXTENDS = "-"
|
||||
#)
|
Loading…
Reference in New Issue
Block a user