Initial CMake port
The client, compositor, tests, plugins and examples now build. There are still a few minor issues: - The protocol source generation is a bit hacky. - The tests for checking if building CMake projects don't work anymore as they have Qt 5 specific code. They have just been commented out for now. Fixes: QTBUG-78177 Change-Id: Ie17cb05f0cdbd5b098970ce765adaeccf61a8fde Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
51bf0a1d2c
commit
7279debf1b
58
src/platformsupport/wayland/CMakeLists.txt
Normal file
58
src/platformsupport/wayland/CMakeLists.txt
Normal file
@ -0,0 +1,58 @@
|
||||
# Generated from src.pro.
|
||||
# special case begin
|
||||
qt_find_package(WaylandScanner PROVIDED_TARGETS Wayland::Scanner)
|
||||
qt_find_package(Wayland)
|
||||
|
||||
if (NOT WaylandScanner_FOUND OR NOT Wayland_FOUND)
|
||||
message(WARNING "QtWayland is missing required dependencies, nothing will be built. \
|
||||
Although this could be considered an error, the configuration will still pass as coin (Qt's \
|
||||
continuous integration system) will fail the build if configure fails, but will still try to \
|
||||
configure the module on targets that are missing dependencies.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# We conditionally add_subdirectory(client) based on a feature that is defined
|
||||
# in client/configure.cmake, so we need this hack to make sure the feature is
|
||||
# defined on this level as well.
|
||||
# TODO: when we remove configure.json support and stop generating
|
||||
# configure.cmake, we should move the features up one level and deduplicate the
|
||||
# features shared with the compositor.
|
||||
qt_feature_module_begin(
|
||||
NO_MODULE
|
||||
PUBLIC_FILE "qtwayland-client-config.h"
|
||||
PRIVATE_FILE "qtwayland-client-config_p.h"
|
||||
)
|
||||
include("${CMAKE_CURRENT_SOURCE_DIR}/client/configure.cmake")
|
||||
qt_feature_module_end(NO_MODULE)
|
||||
|
||||
# Similar hack as above, but for the compositor
|
||||
qt_feature_module_begin(
|
||||
NO_MODULE
|
||||
PUBLIC_FILE "qtwayland-compositor-config.h"
|
||||
PRIVATE_FILE "qtwayland-compositor-config_p.h"
|
||||
)
|
||||
include("${CMAKE_CURRENT_SOURCE_DIR}/compositor/configure.cmake")
|
||||
qt_feature_module_end(NO_MODULE)
|
||||
# special case end
|
||||
|
||||
add_subdirectory(qtwaylandscanner)
|
||||
|
||||
# special case begin
|
||||
# TODO: Ideally these macros would be part of the qtwaylandscanner tool, and not the compositor/client
|
||||
include(client/Qt6WaylandClientMacros.cmake)
|
||||
include(compositor/Qt6WaylandCompositorMacros.cmake)
|
||||
#special case end
|
||||
|
||||
if (QT_FEATURE_wayland_client)
|
||||
add_subdirectory(client)
|
||||
endif()
|
||||
|
||||
if (QT_FEATURE_wayland_server)
|
||||
add_subdirectory(compositor)
|
||||
endif()
|
||||
|
||||
if (QT_FEATURE_wayland_server OR QT_FEATURE_wayland_client)
|
||||
add_subdirectory(plugins)
|
||||
add_subdirectory(imports)
|
||||
endif()
|
||||
# special case end
|
135
src/plugins/platforms/wayland/.prev_CMakeLists.txt
Normal file
135
src/plugins/platforms/wayland/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,135 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
#####################################################################
|
||||
## WaylandClient Module:
|
||||
#####################################################################
|
||||
|
||||
qt_add_module(WaylandClient
|
||||
PLUGIN_TYPES wayland-graphics-integration-client wayland-inputdevice-integration wayland-decoration-client wayland-shell-integration
|
||||
SOURCES
|
||||
../shared/qwaylandinputmethodeventbuilder.cpp ../shared/qwaylandinputmethodeventbuilder_p.h
|
||||
../shared/qwaylandmimehelper.cpp ../shared/qwaylandmimehelper_p.h
|
||||
../shared/qwaylandsharedmemoryformathelper_p.h
|
||||
global/qwaylandclientextension.cpp global/qwaylandclientextension.h global/qwaylandclientextension_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegration.cpp hardwareintegration/qwaylandclientbufferintegration_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegrationfactory.cpp hardwareintegration/qwaylandclientbufferintegrationfactory_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegrationplugin.cpp hardwareintegration/qwaylandclientbufferintegrationplugin_p.h
|
||||
hardwareintegration/qwaylandhardwareintegration.cpp hardwareintegration/qwaylandhardwareintegration_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegration.cpp hardwareintegration/qwaylandserverbufferintegration_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegrationfactory.cpp hardwareintegration/qwaylandserverbufferintegrationfactory_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegrationplugin.cpp hardwareintegration/qwaylandserverbufferintegrationplugin_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegration_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegrationfactory.cpp inputdeviceintegration/qwaylandinputdeviceintegrationfactory_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegrationplugin.cpp inputdeviceintegration/qwaylandinputdeviceintegrationplugin_p.h
|
||||
qtwaylandclientglobal.h qtwaylandclientglobal_p.h
|
||||
qwaylandabstractdecoration.cpp qwaylandabstractdecoration_p.h
|
||||
qwaylandbuffer.cpp qwaylandbuffer_p.h
|
||||
qwaylanddecorationfactory.cpp qwaylanddecorationfactory_p.h
|
||||
qwaylanddecorationplugin.cpp qwaylanddecorationplugin_p.h
|
||||
qwaylanddisplay.cpp qwaylanddisplay_p.h
|
||||
qwaylandextendedsurface.cpp qwaylandextendedsurface_p.h
|
||||
qwaylandinputcontext.cpp qwaylandinputcontext_p.h
|
||||
qwaylandinputdevice.cpp qwaylandinputdevice_p.h
|
||||
qwaylandintegration.cpp qwaylandintegration_p.h
|
||||
qwaylandnativeinterface.cpp qwaylandnativeinterface_p.h
|
||||
qwaylandqtkey.cpp qwaylandqtkey_p.h
|
||||
qwaylandscreen.cpp qwaylandscreen_p.h
|
||||
qwaylandshellsurface.cpp qwaylandshellsurface_p.h
|
||||
qwaylandshm.cpp qwaylandshm_p.h
|
||||
qwaylandshmbackingstore.cpp qwaylandshmbackingstore_p.h
|
||||
qwaylandshmwindow.cpp qwaylandshmwindow_p.h
|
||||
qwaylandsubsurface.cpp qwaylandsubsurface_p.h
|
||||
qwaylandsurface.cpp qwaylandsurface_p.h
|
||||
qwaylandtouch.cpp qwaylandtouch_p.h
|
||||
qwaylandwindow.cpp qwaylandwindow_p.h
|
||||
qwaylandwindowmanagerintegration.cpp qwaylandwindowmanagerintegration_p.h
|
||||
shellintegration/qwaylandshellintegration_p.h
|
||||
shellintegration/qwaylandshellintegrationfactory.cpp shellintegration/qwaylandshellintegrationfactory_p.h
|
||||
shellintegration/qwaylandshellintegrationplugin.cpp shellintegration/qwaylandshellintegrationplugin_p.h
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
global
|
||||
hardwareintegration
|
||||
inputdeviceintegration
|
||||
shellintegration
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::ServiceSupportPrivate
|
||||
Qt::ThemeSupportPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(WaylandClient
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/wp-primary-selection-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/xdg-output-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/qt-key-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/qt-windowmanager.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/surface-extension.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/touch-extension.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/hardware-integration.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/server-buffer-extension.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
|
||||
# MODULE = "waylandclient"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_vulkan
|
||||
SOURCES
|
||||
qwaylandvulkaninstance.cpp qwaylandvulkaninstance_p.h
|
||||
qwaylandvulkanwindow.cpp qwaylandvulkanwindow_p.h
|
||||
LIBRARIES
|
||||
Qt::VulkanSupportPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_xkbcommon
|
||||
LIBRARIES
|
||||
Qt::XkbCommonSupportPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION TARGET linuxaccessibility_support_private
|
||||
LIBRARIES
|
||||
linuxaccessibility_support_private
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_clipboard
|
||||
SOURCES
|
||||
qwaylandclipboard.cpp qwaylandclipboard_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_cursor
|
||||
SOURCES
|
||||
qwaylandcursor.cpp qwaylandcursor_p.h
|
||||
PUBLIC_LIBRARIES
|
||||
Wayland::Cursor
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_datadevice
|
||||
SOURCES
|
||||
qwaylanddatadevice.cpp qwaylanddatadevice_p.h
|
||||
qwaylanddatadevicemanager.cpp qwaylanddatadevicemanager_p.h
|
||||
qwaylanddataoffer.cpp qwaylanddataoffer_p.h
|
||||
qwaylanddatasource.cpp qwaylanddatasource_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_client_primary_selection
|
||||
SOURCES
|
||||
qwaylandprimaryselectionv1.cpp qwaylandprimaryselectionv1_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_draganddrop
|
||||
SOURCES
|
||||
qwaylanddnd.cpp qwaylanddnd_p.h
|
||||
)
|
135
src/plugins/platforms/wayland/CMakeLists.txt
Normal file
135
src/plugins/platforms/wayland/CMakeLists.txt
Normal file
@ -0,0 +1,135 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
#####################################################################
|
||||
## WaylandClient Module:
|
||||
#####################################################################
|
||||
|
||||
qt_add_module(WaylandClient
|
||||
PLUGIN_TYPES wayland-graphics-integration-client wayland-inputdevice-integration wayland-decoration-client wayland-shell-integration
|
||||
SOURCES
|
||||
../shared/qwaylandinputmethodeventbuilder.cpp ../shared/qwaylandinputmethodeventbuilder_p.h
|
||||
../shared/qwaylandmimehelper.cpp ../shared/qwaylandmimehelper_p.h
|
||||
../shared/qwaylandsharedmemoryformathelper_p.h
|
||||
global/qwaylandclientextension.cpp global/qwaylandclientextension.h global/qwaylandclientextension_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegration.cpp hardwareintegration/qwaylandclientbufferintegration_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegrationfactory.cpp hardwareintegration/qwaylandclientbufferintegrationfactory_p.h
|
||||
hardwareintegration/qwaylandclientbufferintegrationplugin.cpp hardwareintegration/qwaylandclientbufferintegrationplugin_p.h
|
||||
hardwareintegration/qwaylandhardwareintegration.cpp hardwareintegration/qwaylandhardwareintegration_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegration.cpp hardwareintegration/qwaylandserverbufferintegration_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegrationfactory.cpp hardwareintegration/qwaylandserverbufferintegrationfactory_p.h
|
||||
hardwareintegration/qwaylandserverbufferintegrationplugin.cpp hardwareintegration/qwaylandserverbufferintegrationplugin_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegration_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegrationfactory.cpp inputdeviceintegration/qwaylandinputdeviceintegrationfactory_p.h
|
||||
inputdeviceintegration/qwaylandinputdeviceintegrationplugin.cpp inputdeviceintegration/qwaylandinputdeviceintegrationplugin_p.h
|
||||
qtwaylandclientglobal.h qtwaylandclientglobal_p.h
|
||||
qwaylandabstractdecoration.cpp qwaylandabstractdecoration_p.h
|
||||
qwaylandbuffer.cpp qwaylandbuffer_p.h
|
||||
qwaylanddecorationfactory.cpp qwaylanddecorationfactory_p.h
|
||||
qwaylanddecorationplugin.cpp qwaylanddecorationplugin_p.h
|
||||
qwaylanddisplay.cpp qwaylanddisplay_p.h
|
||||
qwaylandextendedsurface.cpp qwaylandextendedsurface_p.h
|
||||
qwaylandinputcontext.cpp qwaylandinputcontext_p.h
|
||||
qwaylandinputdevice.cpp qwaylandinputdevice_p.h
|
||||
qwaylandintegration.cpp qwaylandintegration_p.h
|
||||
qwaylandnativeinterface.cpp qwaylandnativeinterface_p.h
|
||||
qwaylandqtkey.cpp qwaylandqtkey_p.h
|
||||
qwaylandscreen.cpp qwaylandscreen_p.h
|
||||
qwaylandshellsurface.cpp qwaylandshellsurface_p.h
|
||||
qwaylandshm.cpp qwaylandshm_p.h
|
||||
qwaylandshmbackingstore.cpp qwaylandshmbackingstore_p.h
|
||||
qwaylandshmwindow.cpp qwaylandshmwindow_p.h
|
||||
qwaylandsubsurface.cpp qwaylandsubsurface_p.h
|
||||
qwaylandsurface.cpp qwaylandsurface_p.h
|
||||
qwaylandtouch.cpp qwaylandtouch_p.h
|
||||
qwaylandwindow.cpp qwaylandwindow_p.h
|
||||
qwaylandwindowmanagerintegration.cpp qwaylandwindowmanagerintegration_p.h
|
||||
shellintegration/qwaylandshellintegration_p.h
|
||||
shellintegration/qwaylandshellintegrationfactory.cpp shellintegration/qwaylandshellintegrationfactory_p.h
|
||||
shellintegration/qwaylandshellintegrationplugin.cpp shellintegration/qwaylandshellintegrationplugin_p.h
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
global
|
||||
hardwareintegration
|
||||
inputdeviceintegration
|
||||
shellintegration
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::ServiceSupportPrivate
|
||||
Qt::ThemeSupportPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(WaylandClient
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/wp-primary-selection-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/xdg-output-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/qt-key-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/qt-windowmanager.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/surface-extension.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../extensions/touch-extension.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/hardware-integration.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/server-buffer-extension.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
|
||||
# MODULE = "waylandclient"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_vulkan
|
||||
SOURCES
|
||||
qwaylandvulkaninstance.cpp qwaylandvulkaninstance_p.h
|
||||
qwaylandvulkanwindow.cpp qwaylandvulkanwindow_p.h
|
||||
LIBRARIES
|
||||
Qt::VulkanSupportPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_xkbcommon
|
||||
LIBRARIES
|
||||
Qt::XkbCommonSupportPrivate
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION TARGET Qt::LinuxAccessibilitySupportPrivate # special case
|
||||
LIBRARIES
|
||||
Qt::LinuxAccessibilitySupportPrivate # special case
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_clipboard
|
||||
SOURCES
|
||||
qwaylandclipboard.cpp qwaylandclipboard_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_cursor
|
||||
SOURCES
|
||||
qwaylandcursor.cpp qwaylandcursor_p.h
|
||||
PUBLIC_LIBRARIES
|
||||
Wayland::Cursor
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_datadevice
|
||||
SOURCES
|
||||
qwaylanddatadevice.cpp qwaylanddatadevice_p.h
|
||||
qwaylanddatadevicemanager.cpp qwaylanddatadevicemanager_p.h
|
||||
qwaylanddataoffer.cpp qwaylanddataoffer_p.h
|
||||
qwaylanddatasource.cpp qwaylanddatasource_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_client_primary_selection
|
||||
SOURCES
|
||||
qwaylandprimaryselectionv1.cpp qwaylandprimaryselectionv1_p.h
|
||||
)
|
||||
|
||||
qt_extend_target(WaylandClient CONDITION QT_FEATURE_draganddrop
|
||||
SOURCES
|
||||
qwaylanddnd.cpp qwaylanddnd_p.h
|
||||
)
|
194
src/plugins/platforms/wayland/configure.cmake
Normal file
194
src/plugins/platforms/wayland/configure.cmake
Normal file
@ -0,0 +1,194 @@
|
||||
|
||||
|
||||
#### Inputs
|
||||
|
||||
|
||||
|
||||
#### Libraries
|
||||
|
||||
if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS)
|
||||
qt_find_package(Wayland PROVIDED_TARGETS Wayland::Client)
|
||||
endif()
|
||||
if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS)
|
||||
qt_find_package(Wayland PROVIDED_TARGETS Wayland::Cursor)
|
||||
endif()
|
||||
if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS)
|
||||
qt_find_package(Wayland PROVIDED_TARGETS Wayland::Egl)
|
||||
endif()
|
||||
qt_find_package(XComposite PROVIDED_TARGETS PkgConfig::XComposite)
|
||||
|
||||
|
||||
#### Tests
|
||||
|
||||
# drm-egl-server
|
||||
qt_config_compile_test(drm_egl_server
|
||||
LABEL "DRM EGL Server"
|
||||
LIBRARIES
|
||||
EGL::EGL
|
||||
CODE
|
||||
"
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc; (void)argv;
|
||||
/* BEGIN TEST: */
|
||||
#ifdef EGL_MESA_drm_image
|
||||
return 0;
|
||||
#else
|
||||
#error Requires EGL_MESA_drm_image to be defined
|
||||
return 1;
|
||||
#endif
|
||||
/* END TEST: */
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
# libhybris-egl-server
|
||||
qt_config_compile_test(libhybris_egl_server
|
||||
LABEL "libhybris EGL Server"
|
||||
LIBRARIES
|
||||
EGL::EGL
|
||||
CODE
|
||||
"
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <hybris/eglplatformcommon/hybris_nativebufferext.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc; (void)argv;
|
||||
/* BEGIN TEST: */
|
||||
#ifdef EGL_HYBRIS_native_buffer
|
||||
return 0;
|
||||
#else
|
||||
#error Requires EGL_HYBRIS_native_buffer to be defined
|
||||
return 1;
|
||||
#endif
|
||||
/* END TEST: */
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
# dmabuf-server-buffer
|
||||
qt_config_compile_test(dmabuf_server_buffer
|
||||
LABEL "Linux dma-buf Buffer Sharing"
|
||||
LIBRARIES
|
||||
EGL::EGL
|
||||
CODE
|
||||
"
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <drm_fourcc.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc; (void)argv;
|
||||
/* BEGIN TEST: */
|
||||
#ifdef EGL_LINUX_DMA_BUF_EXT
|
||||
return 0;
|
||||
#else
|
||||
#error Requires EGL_LINUX_DMA_BUF_EXT
|
||||
return 1;
|
||||
#endif
|
||||
/* END TEST: */
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
# vulkan-server-buffer
|
||||
qt_config_compile_test(vulkan_server_buffer
|
||||
LABEL "Vulkan Buffer Sharing"
|
||||
CODE
|
||||
"
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc; (void)argv;
|
||||
/* BEGIN TEST: */
|
||||
VkExportMemoryAllocateInfoKHR exportAllocInfo = {};
|
||||
exportAllocInfo.sType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR;
|
||||
exportAllocInfo.handleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR;
|
||||
return 0;
|
||||
/* END TEST: */
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
|
||||
|
||||
#### Features
|
||||
|
||||
qt_feature("wayland_client" PRIVATE
|
||||
LABEL "Qt Wayland Client"
|
||||
CONDITION NOT WIN32 AND Wayland_FOUND AND Wayland_FOUND AND WaylandScanner_FOUND
|
||||
)
|
||||
qt_feature("wayland_datadevice" PRIVATE
|
||||
CONDITION QT_FEATURE_draganddrop OR QT_FEATURE_clipboard
|
||||
)
|
||||
qt_feature("wayland_client_primary_selection" PRIVATE
|
||||
LABEL "primary-selection clipboard"
|
||||
CONDITION QT_FEATURE_clipboard
|
||||
)
|
||||
qt_feature("wayland_client_fullscreen_shell_v1" PRIVATE
|
||||
LABEL "fullscreen-shell-v1"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_client_ivi_shell" PRIVATE
|
||||
LABEL "ivi-shell"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_client_wl_shell" PRIVATE
|
||||
LABEL "wl-shell (deprecated)"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_client_xdg_shell" PRIVATE
|
||||
LABEL "xdg-shell"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_client_xdg_shell_v5" PRIVATE
|
||||
LABEL "xdg-shell unstable v5 (deprecated)"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_client_xdg_shell_v6" PRIVATE
|
||||
LABEL "xdg-shell unstable v6"
|
||||
CONDITION QT_FEATURE_wayland_client
|
||||
)
|
||||
qt_feature("wayland_egl" PRIVATE
|
||||
LABEL "EGL"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND Wayland_FOUND
|
||||
)
|
||||
qt_feature("wayland_brcm" PRIVATE
|
||||
LABEL "Raspberry Pi"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_eglfs_brcm
|
||||
)
|
||||
qt_feature("xcomposite_egl" PRIVATE
|
||||
LABEL "XComposite EGL"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND QT_FEATURE_xlib AND XComposite_FOUND AND QT_FEATURE_egl_x11
|
||||
)
|
||||
qt_feature("xcomposite_glx" PRIVATE
|
||||
LABEL "XComposite GLX"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2 AND QT_FEATURE_xlib AND XComposite_FOUND
|
||||
)
|
||||
qt_feature("wayland_drm_egl_server_buffer" PRIVATE
|
||||
LABEL "DRM EGL"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND TEST_drm_egl_server
|
||||
)
|
||||
qt_feature("wayland_libhybris_egl_server_buffer" PRIVATE
|
||||
LABEL "libhybris EGL"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND TEST_libhybris_egl_server
|
||||
)
|
||||
qt_feature("wayland_dmabuf_server_buffer" PRIVATE
|
||||
LABEL "Linux dma-buf server buffer integration"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND TEST_dmabuf_server_buffer
|
||||
)
|
||||
qt_feature("wayland_vulkan_server_buffer" PRIVATE
|
||||
LABEL "Vulkan-based server buffer integration"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND QT_FEATURE_egl AND TEST_vulkan_server_buffer
|
||||
)
|
||||
qt_feature("wayland_shm_emulation_server_buffer" PRIVATE
|
||||
LABEL "Shm emulation server buffer integration"
|
||||
CONDITION QT_FEATURE_wayland_client AND QT_FEATURE_opengl
|
||||
)
|
8
src/plugins/platforms/wayland/plugins/CMakeLists.txt
Normal file
8
src/plugins/platforms/wayland/plugins/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
# Generated from plugins.pro.
|
||||
|
||||
add_subdirectory(hardwareintegration)
|
||||
if(TARGET Qt::WaylandClient)
|
||||
add_subdirectory(platforms)
|
||||
add_subdirectory(decorations)
|
||||
add_subdirectory(shellintegration)
|
||||
endif()
|
@ -0,0 +1,3 @@
|
||||
# Generated from decorations.pro.
|
||||
|
||||
add_subdirectory(bradient)
|
@ -0,0 +1,22 @@
|
||||
# Generated from bradient.pro.
|
||||
|
||||
#####################################################################
|
||||
## bradient Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(bradient
|
||||
TYPE wayland-decoration-client
|
||||
CLASS_NAME QWaylandBradientDecorationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:bradient.pro:<TRUE>:
|
||||
# OTHER_FILES = "bradient.json"
|
@ -0,0 +1,29 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
if(QT_FEATURE_wayland_egl)
|
||||
add_subdirectory(wayland-egl)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_brcm)
|
||||
add_subdirectory(brcm-egl)
|
||||
endif()
|
||||
if(QT_FEATURE_xcomposite_egl)
|
||||
add_subdirectory(xcomposite-egl)
|
||||
endif()
|
||||
if(QT_FEATURE_xcomposite_glx)
|
||||
add_subdirectory(xcomposite-glx)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_drm_egl_server_buffer)
|
||||
add_subdirectory(drm-egl-server)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_libhybris_egl_server_buffer)
|
||||
add_subdirectory(libhybris-egl-server)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_shm_emulation_server_buffer)
|
||||
add_subdirectory(shm-emulation-server)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_dmabuf_server_buffer)
|
||||
add_subdirectory(dmabuf-server)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_vulkan_server_buffer)
|
||||
add_subdirectory(vulkan-server)
|
||||
endif()
|
@ -0,0 +1,36 @@
|
||||
# Generated from brcm-egl.pro.
|
||||
|
||||
#####################################################################
|
||||
## brcm-egl Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(brcm-egl
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME QWaylandBrcmEglClientBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp ../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.h
|
||||
../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp ../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.h
|
||||
../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp ../../../../hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/brcm-egl
|
||||
LIBRARIES
|
||||
Qt::EglSupportPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
${CMAKE_DL_LIBS}
|
||||
EGL::EGL
|
||||
Qt::Core
|
||||
Qt::EglSupport
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(brcm-egl
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/brcm-egl/../../../extensions/brcm.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:brcm-egl.pro:<TRUE>:
|
||||
# OTHER_FILES = "brcm-egl.json"
|
@ -0,0 +1,32 @@
|
||||
# Generated from dmabuf-server.pro.
|
||||
|
||||
#####################################################################
|
||||
## dmabuf-server Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(dmabuf-server
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME DmaBufServerBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/dmabuf-server/dmabufserverbufferintegration.cpp ../../../../hardwareintegration/client/dmabuf-server/dmabufserverbufferintegration.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/dmabuf-server
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
EGL::EGL
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(dmabuf-server
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/dmabuf-server/../../../extensions/qt-dmabuf-server-buffer.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:dmabuf-server.pro:<TRUE>:
|
||||
# OTHER_FILES = "dmabuf-server.json"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
@ -0,0 +1,32 @@
|
||||
# Generated from drm-egl-server.pro.
|
||||
|
||||
#####################################################################
|
||||
## drm-egl-server Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(drm-egl-server
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME DrmEglServerBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/drm-egl-server/drmeglserverbufferintegration.cpp ../../../../hardwareintegration/client/drm-egl-server/drmeglserverbufferintegration.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/drm-egl-server
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
EGL::EGL
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(drm-egl-server
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/drm-egl-server/../../../extensions/drm-egl-server-buffer.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:drm-egl-server.pro:<TRUE>:
|
||||
# OTHER_FILES = "drm-egl-server.json"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
@ -0,0 +1,31 @@
|
||||
# Generated from libhybris-egl-server.pro.
|
||||
|
||||
#####################################################################
|
||||
## libhybris-egl-server Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(libhybris-egl-server
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME LibHybrisEglServerBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.cpp ../../../../hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/libhybris-egl-server
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
EGL::EGL
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(libhybris-egl-server
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/libhybris-egl-server/../../../extensions/libhybris-egl-server-buffer.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:libhybris-egl-server.pro:<TRUE>:
|
||||
# OTHER_FILES = "libhybris-egl-server.json"
|
@ -0,0 +1,31 @@
|
||||
# Generated from shm-emulation-server.pro.
|
||||
|
||||
#####################################################################
|
||||
## shm-emulation-server Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(shm-emulation-server
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME ShmServerBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.cpp ../../../../hardwareintegration/client/shm-emulation-server/shmserverbufferintegration.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/shm-emulation-server
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(shm-emulation-server
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/shm-emulation-server/../../../extensions/shm-emulation-server-buffer.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:shm-emulation-server.pro:<TRUE>:
|
||||
# OTHER_FILES = "shm-emulation-server.json"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
@ -0,0 +1,31 @@
|
||||
# Generated from vulkan-server.pro.
|
||||
|
||||
#####################################################################
|
||||
## vulkan-server Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(vulkan-server
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME VulkanServerBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/vulkan-server/vulkanserverbufferintegration.cpp ../../../../hardwareintegration/client/vulkan-server/vulkanserverbufferintegration.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/vulkan-server
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(vulkan-server
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/vulkan-server/../../../extensions/qt-vulkan-server-buffer-unstable-v1.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:vulkan-server.pro:<TRUE>:
|
||||
# OTHER_FILES = "vulkan-server.json"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
@ -0,0 +1,32 @@
|
||||
# Generated from wayland-egl.pro.
|
||||
|
||||
#####################################################################
|
||||
## qt-plugin-wayland-egl Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(qt-plugin-wayland-egl
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME QWaylandEglClientBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
|
||||
../../../../hardwareintegration/client/wayland-egl/qwaylandeglinclude.h
|
||||
../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
|
||||
../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/wayland-egl
|
||||
LIBRARIES
|
||||
Qt::EglSupportPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
EGL::EGL
|
||||
Qt::Core
|
||||
Qt::EglSupport
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Egl
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:wayland-egl.pro:<TRUE>:
|
||||
# OTHER_FILES = "wayland-egl.json"
|
@ -0,0 +1,40 @@
|
||||
# Generated from xcomposite-egl.pro.
|
||||
|
||||
#####################################################################
|
||||
## xcomposite-egl Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(xcomposite-egl
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME QWaylandXCompositeEglClientBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp ../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h
|
||||
../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglcontext.cpp ../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglcontext.h
|
||||
../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp ../../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h
|
||||
../../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.cpp ../../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/xcomposite-egl
|
||||
../../../../hardwareintegration/client/xcomposite_share
|
||||
LIBRARIES
|
||||
Qt::EglSupportPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
EGL::EGL
|
||||
PkgConfig::XComposite
|
||||
Qt::Core
|
||||
Qt::EglSupport
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
X11::X11
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(xcomposite-egl
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/xcomposite_share/../../../extensions/xcomposite.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:xcomposite-egl.pro:<TRUE>:
|
||||
# OTHER_FILES = "xcomposite-egl.json"
|
||||
# QMAKE_CXXFLAGS_WARN_ON = "--Wcast-qual"
|
@ -0,0 +1,39 @@
|
||||
# Generated from xcomposite-glx.pro.
|
||||
|
||||
#####################################################################
|
||||
## xcomposite-glx Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(xcomposite-glx
|
||||
TYPE wayland-graphics-integration-client
|
||||
CLASS_NAME QWaylandXCompositeGlxClientBufferPlugin
|
||||
SOURCES
|
||||
../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxcontext.cpp ../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxcontext.h
|
||||
../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxintegration.cpp ../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxintegration.h
|
||||
../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxwindow.cpp ../../../../hardwareintegration/client/xcomposite-glx/qwaylandxcompositeglxwindow.h
|
||||
../../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.cpp ../../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../hardwareintegration/client/xcomposite-glx
|
||||
../../../../hardwareintegration/client/xcomposite_share
|
||||
LIBRARIES
|
||||
Qt::GlxSupportPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
${CMAKE_DL_LIBS}
|
||||
PkgConfig::XComposite
|
||||
Qt::Core
|
||||
Qt::GlxSupport
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
X11::X11
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(xcomposite-glx
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/client/xcomposite_share/../../../extensions/xcomposite.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:xcomposite-glx.pro:<TRUE>:
|
||||
# OTHER_FILES = "xcomposite-glx.json"
|
@ -0,0 +1,20 @@
|
||||
# Generated from shellintegration.pro.
|
||||
|
||||
if(QT_FEATURE_wayland_client_fullscreen_shell_v1)
|
||||
add_subdirectory(fullscreen-shell-v1)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_client_ivi_shell)
|
||||
add_subdirectory(ivi-shell)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_client_wl_shell)
|
||||
add_subdirectory(wl-shell)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_client_xdg_shell)
|
||||
add_subdirectory(xdg-shell)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_client_xdg_shell_v5)
|
||||
add_subdirectory(xdg-shell-v5)
|
||||
endif()
|
||||
if(QT_FEATURE_wayland_client_xdg_shell_v6)
|
||||
add_subdirectory(xdg-shell-v6)
|
||||
endif()
|
@ -0,0 +1,30 @@
|
||||
# Generated from fullscreen-shell-v1.pro.
|
||||
|
||||
#####################################################################
|
||||
## fullscreen-shell-v1 Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(fullscreen-shell-v1
|
||||
TYPE wayland-shell-integration
|
||||
CLASS_NAME QWaylandFullScreenShellV1IntegrationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
qwaylandfullscreenshellv1integration.cpp qwaylandfullscreenshellv1integration.h
|
||||
qwaylandfullscreenshellv1surface.cpp qwaylandfullscreenshellv1surface.h
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(fullscreen-shell-v1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:fullscreen-shell-v1.pro:<TRUE>:
|
||||
# OTHER_FILES = "fullscreen-shell-v1.json"
|
@ -0,0 +1,38 @@
|
||||
# Generated from wl-shell.pro.
|
||||
|
||||
#####################################################################
|
||||
## wl-shell Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(wl-shell
|
||||
TYPE wayland-shell-integration
|
||||
CLASS_NAME QWaylandWlShellIntegrationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
qwaylandwlshellintegration.cpp qwaylandwlshellintegration_p.h
|
||||
qwaylandwlshellsurface.cpp qwaylandwlshellsurface_p.h
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(wl-shell
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/wayland.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:wl-shell.pro:<TRUE>:
|
||||
# OTHER_FILES = "wl-shell.json"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(wl-shell CONDITION QT_FEATURE_xkbcommon
|
||||
LIBRARIES
|
||||
XKB::XKB
|
||||
)
|
@ -0,0 +1,40 @@
|
||||
# Generated from xdg-shell-v5.pro.
|
||||
|
||||
#####################################################################
|
||||
## xdg-shell-v5 Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(xdg-shell-v5
|
||||
TYPE wayland-shell-integration
|
||||
CLASS_NAME QWaylandXdgShellV5IntegrationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
pregenerated/3rdparty/qwayland-xdg-shell-unstable-v5.cpp pregenerated/3rdparty/qwayland-xdg-shell-unstable-v5_p.h
|
||||
pregenerated/3rdparty/wayland-xdg-shell-unstable-v5-client-protocol_p.h
|
||||
pregenerated/3rdparty/wayland-xdg-shell-unstable-v5-protocol.c
|
||||
qwaylandxdgpopupv5.cpp qwaylandxdgpopupv5_p.h
|
||||
qwaylandxdgshellv5.cpp qwaylandxdgshellv5_p.h
|
||||
qwaylandxdgshellv5integration.cpp qwaylandxdgshellv5integration_p.h
|
||||
qwaylandxdgsurfacev5.cpp qwaylandxdgsurfacev5_p.h
|
||||
INCLUDE_DIRECTORIES
|
||||
pregenerated/3rdparty
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:xdg-shell-v5.pro:<TRUE>:
|
||||
# OTHER_FILES = "xdg-shell-v5.json"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(xdg-shell-v5 CONDITION QT_FEATURE_xkbcommon
|
||||
PUBLIC_LIBRARIES
|
||||
XKB::XKB
|
||||
)
|
@ -0,0 +1,38 @@
|
||||
# Generated from xdg-shell-v6.pro.
|
||||
|
||||
#####################################################################
|
||||
## xdg-shell-v6 Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(xdg-shell-v6
|
||||
TYPE wayland-shell-integration
|
||||
CLASS_NAME QWaylandXdgShellV6IntegrationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
qwaylandxdgshellv6.cpp qwaylandxdgshellv6_p.h
|
||||
qwaylandxdgshellv6integration.cpp qwaylandxdgshellv6integration_p.h
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(xdg-shell-v6
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:xdg-shell-v6.pro:<TRUE>:
|
||||
# OTHER_FILES = "xdg-shell-v6.json"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(xdg-shell-v6 CONDITION QT_FEATURE_xkbcommon
|
||||
LIBRARIES
|
||||
XKB::XKB
|
||||
)
|
@ -0,0 +1,40 @@
|
||||
# Generated from xdg-shell.pro.
|
||||
|
||||
#####################################################################
|
||||
## xdg-shell Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_add_plugin(xdg-shell
|
||||
TYPE wayland-shell-integration
|
||||
CLASS_NAME QWaylandXdgShellIntegrationPlugin
|
||||
SOURCES
|
||||
main.cpp
|
||||
qwaylandxdgdecorationv1.cpp qwaylandxdgdecorationv1_p.h
|
||||
qwaylandxdgshell.cpp qwaylandxdgshell_p.h
|
||||
qwaylandxdgshellintegration.cpp qwaylandxdgshellintegration_p.h
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_client_sources(xdg-shell
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/xdg-decoration-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/xdg-shell.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:xdg-shell.pro:<TRUE>:
|
||||
# OTHER_FILES = "xdg-shell.json"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(xdg-shell CONDITION QT_FEATURE_xkbcommon
|
||||
LIBRARIES
|
||||
XKB::XKB
|
||||
)
|
16
src/tools/qtwaylandscanner/CMakeLists.txt
Normal file
16
src/tools/qtwaylandscanner/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated from qtwaylandscanner.pro.
|
||||
|
||||
#####################################################################
|
||||
## qtwaylandscanner Tool:
|
||||
#####################################################################
|
||||
|
||||
qt_add_tool(qtwaylandscanner
|
||||
TOOLS_TARGET QtWaylandScanner # special case
|
||||
SOURCES
|
||||
qtwaylandscanner.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qtwaylandscanner.pro:<TRUE>:
|
||||
# _OPTION = "host_build"
|
59
src/tools/qtwaylandscanner/Qt6WaylandClientMacros.cmake
Normal file
59
src/tools/qtwaylandscanner/Qt6WaylandClientMacros.cmake
Normal file
@ -0,0 +1,59 @@
|
||||
function(qt6_generate_wayland_protocol_client_sources target)
|
||||
qt_parse_all_arguments(arg "qt6_generate_wayland_protocol_client_sources" "" "" "FILES" ${ARGN})
|
||||
get_target_property(target_binary_dir ${target} BINARY_DIR)
|
||||
|
||||
foreach(protocol_file IN LISTS arg_FILES)
|
||||
get_filename_component(protocol_name "${protocol_file}" NAME_WLE)
|
||||
|
||||
set(waylandscanner_header_output "${target_binary_dir}/wayland-${protocol_name}-client-protocol.h")
|
||||
set(waylandscanner_code_output "${target_binary_dir}/wayland-${protocol_name}-protocol.c")
|
||||
# TODO: Maybe add "client" prefix or suffix to these in Qt6?
|
||||
set(qtwaylandscanner_header_output "${target_binary_dir}/qwayland-${protocol_name}.h")
|
||||
set(qtwaylandscanner_code_output "${target_binary_dir}/qwayland-${protocol_name}.cpp")
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_header_output}"
|
||||
#TODO: Maybe put the files in ${CMAKE_CURRENT_BINARY_DIR/wayland_generated instead?
|
||||
COMMAND Wayland::Scanner --include-core-only client-header < "${protocol_file}" > "${waylandscanner_header_output}"
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
)
|
||||
|
||||
# TODO: Make this less hacky
|
||||
set(wayland_include_dir "")
|
||||
get_target_property(is_for_module "${target}" INTERFACE_MODULE_HAS_HEADERS)
|
||||
if (is_for_module)
|
||||
set(wayland_include_dir "QtWaylandClient/private")
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${qtwaylandscanner_header_output}"
|
||||
COMMAND Qt6::qtwaylandscanner client-header "${protocol_file}" "${wayland_include_dir}" > "${qtwaylandscanner_header_output}"
|
||||
)
|
||||
|
||||
# TODO: We need this hack in order to get the xcomposite plugins to build...
|
||||
# unfortunately, it's not going to work outside QtWayland because we're using waylandclient-private includes
|
||||
set(qtwaylandscanner_code_include "")
|
||||
set (targets_that_need_include "xcomposite-egl" "xcomposite-glx" "qwayland-xcomposite-egl" "qwayland-xcomposite-glx")
|
||||
if ("${target}" IN_LIST targets_that_need_include OR is_for_module)
|
||||
set(qtwaylandscanner_code_include "<QtWaylandClient/private/wayland-wayland-client-protocol.h>")
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${qtwaylandscanner_code_output}"
|
||||
COMMAND Qt6::qtwaylandscanner client-code "${protocol_file}" --header-path='${wayland_include_dir}' --add-include='${qtwaylandscanner_code_include}' > "${qtwaylandscanner_code_output}"
|
||||
)
|
||||
|
||||
target_sources(${target} PRIVATE
|
||||
"${waylandscanner_header_output}"
|
||||
"${waylandscanner_code_output}"
|
||||
"${qtwaylandscanner_header_output}"
|
||||
"${qtwaylandscanner_code_output}"
|
||||
)
|
||||
endforeach()
|
||||
target_include_directories(${target} PRIVATE ${target_binary_dir})
|
||||
endfunction()
|
||||
|
50
src/tools/qtwaylandscanner/Qt6WaylandCompositorMacros.cmake
Normal file
50
src/tools/qtwaylandscanner/Qt6WaylandCompositorMacros.cmake
Normal file
@ -0,0 +1,50 @@
|
||||
function(qt6_generate_wayland_protocol_server_sources target)
|
||||
qt_parse_all_arguments(arg "qt6_generate_wayland_protocol_server_sources" "" "" "FILES" ${ARGN})
|
||||
get_target_property(target_binary_dir ${target} BINARY_DIR)
|
||||
|
||||
foreach(protocol_file IN LISTS arg_FILES)
|
||||
get_filename_component(protocol_name "${protocol_file}" NAME_WLE)
|
||||
|
||||
set(waylandscanner_header_output "${target_binary_dir}/wayland-${protocol_name}-server-protocol.h")
|
||||
set(waylandscanner_code_output "${target_binary_dir}/wayland-${protocol_name}-protocol.c")
|
||||
set(qtwaylandscanner_header_output "${target_binary_dir}/qwayland-server-${protocol_name}.h")
|
||||
set(qtwaylandscanner_code_output "${target_binary_dir}/qwayland-server-${protocol_name}.cpp")
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_header_output}"
|
||||
#TODO: Maybe put the files in ${CMAKE_CURRENT_BINARY_DIR/wayland_generated instead?
|
||||
COMMAND Wayland::Scanner --include-core-only server-header < "${protocol_file}" > "${waylandscanner_header_output}"
|
||||
)
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
)
|
||||
|
||||
# TODO: make this less hacky
|
||||
set(wayland_include_dir "")
|
||||
#get_target_property(qt_module "${target}" QT_MODULE)
|
||||
get_target_property(is_for_module "${target}" INTERFACE_MODULE_HAS_HEADERS)
|
||||
if (is_for_module)
|
||||
set(wayland_include_dir "QtWaylandCompositor/private")
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${qtwaylandscanner_header_output}"
|
||||
COMMAND Qt6::qtwaylandscanner server-header "${protocol_file}" "${wayland_include_dir}" > "${qtwaylandscanner_header_output}"
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${qtwaylandscanner_code_output}"
|
||||
COMMAND Qt6::qtwaylandscanner server-code "${protocol_file}" "${wayland_include_dir}" > "${qtwaylandscanner_code_output}"
|
||||
)
|
||||
|
||||
target_sources(${target} PRIVATE
|
||||
"${waylandscanner_header_output}"
|
||||
"${waylandscanner_code_output}"
|
||||
"${qtwaylandscanner_header_output}"
|
||||
"${qtwaylandscanner_code_output}"
|
||||
)
|
||||
endforeach()
|
||||
target_include_directories(${target} PRIVATE ${target_binary_dir})
|
||||
endfunction()
|
||||
|
19
tests/auto/wayland/CMakeLists.txt
Normal file
19
tests/auto/wayland/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
add_subdirectory(client)
|
||||
add_subdirectory(datadevicev1)
|
||||
add_subdirectory(fullscreenshellv1)
|
||||
add_subdirectory(iviapplication)
|
||||
add_subdirectory(output)
|
||||
add_subdirectory(primaryselectionv1)
|
||||
add_subdirectory(seatv4)
|
||||
add_subdirectory(seatv5)
|
||||
add_subdirectory(surface)
|
||||
add_subdirectory(wl_connect)
|
||||
add_subdirectory(xdgdecorationv1)
|
||||
add_subdirectory(xdgoutput)
|
||||
add_subdirectory(xdgshell)
|
||||
add_subdirectory(xdgshellv6)
|
||||
if(QT_FEATURE_im)
|
||||
add_subdirectory(inputcontext)
|
||||
endif()
|
40
tests/auto/wayland/client/.prev_CMakeLists.txt
Normal file
40
tests/auto/wayland/client/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,40 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_client.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
|
||||
# check.commands = "$(TESTRUNNER)" "$${PWD}/run-with-all-shells.sh" "$(TESTARGS)"
|
41
tests/auto/wayland/client/CMakeLists.txt
Normal file
41
tests/auto/wayland/client/CMakeLists.txt
Normal file
@ -0,0 +1,41 @@
|
||||
# Generated from client.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_client.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
|
||||
# check.commands = "$(TESTRUNNER)" "$${PWD}/run-with-all-shells.sh" "$(TESTARGS)"
|
31
tests/auto/wayland/datadevicev1/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/datadevicev1/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from datadevicev1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_datadevicev1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_datadevicev1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_datadevicev1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_datadevicev1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/datadevicev1/CMakeLists.txt
Normal file
32
tests/auto/wayland/datadevicev1/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from datadevicev1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_datadevicev1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_datadevicev1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_datadevicev1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_datadevicev1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
37
tests/auto/wayland/fullscreenshellv1/.prev_CMakeLists.txt
Normal file
37
tests/auto/wayland/fullscreenshellv1/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated from fullscreenshellv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client_fullscreenshellv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client_fullscreenshellv1
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_fullscreenshellv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client_fullscreenshellv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
38
tests/auto/wayland/fullscreenshellv1/CMakeLists.txt
Normal file
38
tests/auto/wayland/fullscreenshellv1/CMakeLists.txt
Normal file
@ -0,0 +1,38 @@
|
||||
# Generated from fullscreenshellv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client_fullscreenshellv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client_fullscreenshellv1
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_fullscreenshellv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client_fullscreenshellv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
31
tests/auto/wayland/inputcontext/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/inputcontext/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from inputcontext.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_inputcontext Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_inputcontext
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_inputcontext.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_inputcontext
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/inputcontext/CMakeLists.txt
Normal file
32
tests/auto/wayland/inputcontext/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from inputcontext.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_inputcontext Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_inputcontext
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_inputcontext.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_inputcontext
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
37
tests/auto/wayland/iviapplication/.prev_CMakeLists.txt
Normal file
37
tests/auto/wayland/iviapplication/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated from iviapplication.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client_iviapplication Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client_iviapplication
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_iviapplication.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client_iviapplication
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
31
tests/auto/wayland/output/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/output/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from output.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_output Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_output
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_output.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_output
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/output/CMakeLists.txt
Normal file
32
tests/auto/wayland/output/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from output.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_output Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_output
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_output.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_output
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/primaryselectionv1/.prev_CMakeLists.txt
Normal file
32
tests/auto/wayland/primaryselectionv1/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from primaryselectionv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_primaryselectionv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_primaryselectionv1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_primaryselectionv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_primaryselectionv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wp-primary-selection-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
33
tests/auto/wayland/primaryselectionv1/CMakeLists.txt
Normal file
33
tests/auto/wayland/primaryselectionv1/CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated from primaryselectionv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_primaryselectionv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_primaryselectionv1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_primaryselectionv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_primaryselectionv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wp-primary-selection-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
42
tests/auto/wayland/seatv4/.prev_CMakeLists.txt
Normal file
42
tests/auto/wayland/seatv4/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,42 @@
|
||||
# Generated from seatv4.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_seatv4 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_seatv4
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_seatv4.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_seatv4
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Wayland::Cursor
|
||||
)
|
43
tests/auto/wayland/seatv4/CMakeLists.txt
Normal file
43
tests/auto/wayland/seatv4/CMakeLists.txt
Normal file
@ -0,0 +1,43 @@
|
||||
# Generated from seatv4.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_seatv4 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_seatv4
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_seatv4.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_seatv4
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_extend_target(tst_seatv4 CONDITION QT_FEATURE_cursor
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Wayland::Cursor
|
||||
)
|
31
tests/auto/wayland/seatv5/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/seatv5/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from seatv5.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_seatv5 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_seatv5
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_seatv5.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_seatv5
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/seatv5/CMakeLists.txt
Normal file
32
tests/auto/wayland/seatv5/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from seatv5.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_seatv5 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_seatv5
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_seatv5.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_seatv5
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
31
tests/auto/wayland/surface/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/surface/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from surface.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_surface Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_surface
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_surface.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_surface
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/surface/CMakeLists.txt
Normal file
32
tests/auto/wayland/surface/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from surface.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_surface Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_surface
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_surface.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_surface
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
14
tests/auto/wayland/wl_connect/CMakeLists.txt
Normal file
14
tests/auto/wayland/wl_connect/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated from wl_connect.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_wlconnect Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_wlconnect
|
||||
SOURCES
|
||||
tst_wlconnect.cpp
|
||||
LIBRARIES
|
||||
Qt::GuiPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
32
tests/auto/wayland/xdgdecorationv1/.prev_CMakeLists.txt
Normal file
32
tests/auto/wayland/xdgdecorationv1/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from xdgdecorationv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgdecorationv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgdecorationv1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgdecorationv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgdecorationv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-decoration-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
33
tests/auto/wayland/xdgdecorationv1/CMakeLists.txt
Normal file
33
tests/auto/wayland/xdgdecorationv1/CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated from xdgdecorationv1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgdecorationv1 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgdecorationv1
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgdecorationv1.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgdecorationv1
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-decoration-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/xdgoutput/.prev_CMakeLists.txt
Normal file
32
tests/auto/wayland/xdgoutput/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from xdgoutput.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgoutput Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgoutput
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgoutput.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgoutput
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
33
tests/auto/wayland/xdgoutput/CMakeLists.txt
Normal file
33
tests/auto/wayland/xdgoutput/CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
||||
# Generated from xdgoutput.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgoutput Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgoutput
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgoutput.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgoutput
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
31
tests/auto/wayland/xdgshell/.prev_CMakeLists.txt
Normal file
31
tests/auto/wayland/xdgshell/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated from xdgshell.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgshell Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgshell
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgshell.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgshell
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
32
tests/auto/wayland/xdgshell/CMakeLists.txt
Normal file
32
tests/auto/wayland/xdgshell/CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Generated from xdgshell.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_xdgshell Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_xdgshell
|
||||
SOURCES
|
||||
../shared/corecompositor.cpp ../shared/corecompositor.h
|
||||
../shared/coreprotocol.cpp ../shared/coreprotocol.h
|
||||
../shared/datadevice.cpp ../shared/datadevice.h
|
||||
../shared/mockcompositor.cpp ../shared/mockcompositor.h
|
||||
../shared/textinput.cpp ../shared/textinput.h
|
||||
../shared/xdgshell.cpp ../shared/xdgshell.h
|
||||
tst_xdgshell.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared
|
||||
LIBRARIES
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_xdgshell
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
|
||||
)
|
37
tests/auto/wayland/xdgshellv6/.prev_CMakeLists.txt
Normal file
37
tests/auto/wayland/xdgshellv6/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated from xdgshellv6.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client_xdgshellv6 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client_xdgshellv6
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_xdgshellv6.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client_xdgshellv6
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
38
tests/auto/wayland/xdgshellv6/CMakeLists.txt
Normal file
38
tests/auto/wayland/xdgshellv6/CMakeLists.txt
Normal file
@ -0,0 +1,38 @@
|
||||
# Generated from xdgshellv6.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_client_xdgshellv6 Test:
|
||||
#####################################################################
|
||||
|
||||
qt_add_test(tst_client_xdgshellv6
|
||||
SOURCES
|
||||
../shared_old/mockcompositor.cpp ../shared_old/mockcompositor.h
|
||||
../shared_old/mockfullscreenshellv1.cpp ../shared_old/mockfullscreenshellv1.h
|
||||
../shared_old/mockinput.cpp ../shared_old/mockinput.h
|
||||
../shared_old/mockiviapplication.cpp ../shared_old/mockiviapplication.h
|
||||
../shared_old/mockoutput.cpp ../shared_old/mockoutput.h
|
||||
../shared_old/mocksurface.cpp ../shared_old/mocksurface.h
|
||||
../shared_old/mockwlshell.cpp ../shared_old/mockwlshell.h
|
||||
../shared_old/mockxdgshellv6.cpp ../shared_old/mockxdgshellv6.h
|
||||
tst_xdgshellv6.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../shared_old
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WaylandClientPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::WaylandClient
|
||||
Wayland::Client
|
||||
Wayland::Server
|
||||
Threads::Threads # special case
|
||||
)
|
||||
|
||||
qt6_generate_wayland_protocol_server_sources(tst_client_xdgshellv6
|
||||
FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/ivi-application.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/wayland.xml
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/3rdparty/protocol/xdg-shell-unstable-v6.xml
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user