diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2020-04-30 13:33:26 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-05-12 13:14:13 +0200 |
commit | f8db8d979afc38215f9bbfc3daaf75cfd61b5f1d (patch) | |
tree | f83922c165fa72a5e16485dc4806b1916aad8619 /tests/manual/x11vkbwrapper | |
parent | ec0a7a4a699b8d5575de765c1a2cd077e412a9b4 (diff) |
Initial CMake port of QtVirtualKeyboard
This port makes sure that all the features that are currently tested in
the CI are complete and that the tests pass.
lipi-toolkit can't be tested since it's currently broken in qmake.
Myscript wasn't tested as it is also not tested in coin and the SDK is
not available.
T9Write wasn't tested as the SDK is not avaialble.
Removed outdated src/virtualkeyboard/styles/styles.pro.
The styles seem to be in src/styles now.
Change-Id: Ibba41d592c51a19dee63840c02a945ec7b1d721e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/manual/x11vkbwrapper')
-rw-r--r-- | tests/manual/x11vkbwrapper/CMakeLists.txt | 74 | ||||
-rw-r--r-- | tests/manual/x11vkbwrapper/vkbnativehost/CMakeLists.txt | 19 |
2 files changed, 93 insertions, 0 deletions
diff --git a/tests/manual/x11vkbwrapper/CMakeLists.txt b/tests/manual/x11vkbwrapper/CMakeLists.txt new file mode 100644 index 00000000..3d74e769 --- /dev/null +++ b/tests/manual/x11vkbwrapper/CMakeLists.txt @@ -0,0 +1,74 @@ +# Generated from x11vkbwrapper.pro. + +##################################################################### +## x11vkbwrapper Binary: +##################################################################### + +qt_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 + INCLUDE_DIRECTORIES + /usr/include/X11 + /usr/include/at-spi-2.0 + /usr/include/dbus-1.0 + /usr/include/glib-2.0 + /usr/lib/x86_64-linux-gnu/dbus-1.0/include + /usr/lib/x86_64-linux-gnu/glib-2.0/include + PUBLIC_LIBRARIES + PkgConfig::ATSPI2 + Qt::DBus + Qt::Gui + Qt::Qml + Qt::Quick + Qt::Svg + Qt::VirtualKeyboard + Qt::Widgets + X11 + Xtst + xdo +) + +# Resources: +set(qml_resource_files + "Keyboard.qml" + "graphics/Qt_logo.png" + "main.qml" +) + +qt_add_resource(x11vkbwrapper "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:x11vkbwrapper.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(x11vkbwrapper CONDITION static + PUBLIC_LIBRARIES + Qt::Svg +) + +#### Keys ignored in scope 2:.:.:x11vkbwrapper.pro:static: +# QTPLUGIN = "qtvirtualkeyboardplugin" + +qt_extend_target(x11vkbwrapper CONDITION CMAKE_BUILD_TYPE STREQUAL Release + DEFINES + QT_NO_DEBUG_OUTPUT +) diff --git a/tests/manual/x11vkbwrapper/vkbnativehost/CMakeLists.txt b/tests/manual/x11vkbwrapper/vkbnativehost/CMakeLists.txt new file mode 100644 index 00000000..244e4732 --- /dev/null +++ b/tests/manual/x11vkbwrapper/vkbnativehost/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from vkbnativehost.pro. + +##################################################################### +## x11vkbnativehost Binary: +##################################################################### + +qt_add_manual_test(x11vkbnativehost + SOURCES + common_defs.h + main.cpp + sendertodbus.cpp sendertodbus.h + DEFINES + QT_DEPRECATED_WARNINGS + PUBLIC_LIBRARIES + Qt::DBus +) + +#### Keys ignored in scope 1:.:.:vkbnativehost.pro:<TRUE>: +# DISTFILES = "install_host.sh" "x11vkb.host.json" |