cmake: enable vnc platform plugin
Change-Id: I5015681aff3c9ceb5c0b72571bc8756f3ada104c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
9a01b4312b
commit
d523a642dc
@ -52,7 +52,7 @@ if(QT_FEATURE_linuxfb)
|
||||
endif()
|
||||
|
||||
if(TARGET Qt::Network AND QT_FEATURE_vnc)
|
||||
# TODO add_subdirectory(vnc)
|
||||
add_subdirectory(vnc)
|
||||
endif()
|
||||
|
||||
if(FREEBSD)
|
||||
|
41
src/plugins/platforms/vnc/CMakeLists.txt
Normal file
41
src/plugins/platforms/vnc/CMakeLists.txt
Normal file
@ -0,0 +1,41 @@
|
||||
# Generated from vnc.pro.
|
||||
|
||||
#####################################################################
|
||||
## qvnc Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(qvnc
|
||||
TYPE platforms
|
||||
SOURCES
|
||||
main.cpp
|
||||
qvnc.cpp qvnc_p.h
|
||||
qvncclient.cpp qvncclient.h
|
||||
qvncintegration.cpp qvncintegration.h
|
||||
qvncscreen.cpp qvncscreen.h
|
||||
DEFINES
|
||||
QT_NO_FOREACH
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::Network
|
||||
Qt::GuiPrivate
|
||||
Qt::ServiceSupportPrivate
|
||||
Qt::ThemeSupportPrivate
|
||||
Qt::FbSupportPrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
# OTHER_FILES = "vnc.json"
|
||||
# PLUGIN_CLASS_NAME = "QVncIntegrationPlugin"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(qvnc CONDITION TARGET Qt::InputSupportPrivate
|
||||
LIBRARIES
|
||||
Qt::InputSupportPrivate
|
||||
)
|
||||
#
|
||||
#extend_target(qvnc CONDITION NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN
|
||||
# # PLUGIN_EXTENDS = "-"
|
||||
#)
|
@ -63,6 +63,7 @@ def map_qt_base_library(lib: str) -> str:
|
||||
'enginio_client': 'Enginio',
|
||||
'eventdispatchers': 'Qt::EventDispatcherSupport',
|
||||
'extras': 'Qt::3DExtras',
|
||||
'fb_support': 'Qt::FbSupport',
|
||||
'fbconvenience': 'Qt::FbSupport',
|
||||
'fontdatabase_support': 'Qt::FontDatabaseSupport',
|
||||
'gamepad': 'Qt::Gamepad',
|
||||
@ -73,6 +74,7 @@ def map_qt_base_library(lib: str) -> str:
|
||||
'help': 'Qt::Help',
|
||||
'hunspellinputmethod': 'Qt::HunspellInputMethod',
|
||||
'input': 'Qt::InputSupport',
|
||||
'input_support': 'Qt::InputSupport',
|
||||
'installer-lib': 'Qt::AppManInstaller',
|
||||
'kmsconvenience': 'Qt::KmsSupport',
|
||||
'launcher-lib': 'Qt::AppManLauncher',
|
||||
|
Loading…
x
Reference in New Issue
Block a user