1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from x11vkbwrapper.pro.
#####################################################################
## x11vkbwrapper Binary:
#####################################################################
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Widgets)
if(NOT TARGET Qt::Widgets)
message("Manual test x11vkbwrapper won't be built, because Qt::Widgets was not found.")
return()
endif()
find_package(ATSPI2)
if(NOT TARGET PkgConfig::ATSPI2)
message("Manual test x11vkbwrapper won't be built, because ATSPI2 was not found.")
return()
endif()
qt_internal_add_manual_test(x11vkbwrapper
GUI
SOURCES
common_defs.h
handleatspievents.cpp handleatspievents.h
handledbusforchrome.cpp handledbusforchrome.h
handlekeyevents.cpp handlekeyevents.h
handlelanguagechange.cpp handlelanguagechange.h
keysymmapsforfakeinput.h
main.cpp
vkbhidetimer.cpp vkbhidetimer.h
xcbkeyboard.h
DEFINES
QT_DEPRECATED_WARNINGS
LIBRARIES
PkgConfig::ATSPI2
Qt::DBus
Qt::Gui
Qt::Qml
Qt::Quick
Qt::Svg
Qt::VirtualKeyboard
Qt::Widgets
X11::X11
Xtst
xdo
)
# Resources:
set(qml_resource_files
"Keyboard.qml"
"graphics/Qt_logo.png"
"main.qml"
)
qt_internal_add_resource(x11vkbwrapper "qml"
PREFIX
"/"
FILES
${qml_resource_files}
)
#### Keys ignored in scope 1:.:.:x11vkbwrapper.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
qt_internal_extend_target(x11vkbwrapper CONDITION NOT QT_BUILD_SHARED_LIBS
LIBRARIES
Qt::Svg
)
#### Keys ignored in scope 2:.:.:x11vkbwrapper.pro:static:
# QTPLUGIN = "qtvirtualkeyboardplugin"
qt_internal_extend_target(x11vkbwrapper CONDITION CMAKE_BUILD_TYPE STREQUAL Release
DEFINES
QT_NO_DEBUG_OUTPUT
)
|