aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* plugins/myscript: Fix build (remove missing plugin sources)Jarkko Koivikko2023-09-131-1/+0
| | | | | | | | | | Plugin sources are automatically generated. These were left in place in the myscript plugin by accident. Pick-to: 6.5 6.6 6.6.0 Change-Id: Ie2f486bcc4eaa3fc088ce0955de424803eaa86b3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com>
* Fix navigation key left/right handling with LayoutMirroring.enabledJarkko Koivikko2023-09-131-10/+7
| | | | | | | | | | When LayoutMirroring.enabled is true, right navigation key should wrap to line above and left navigation key should wrap to line below. Pick-to: 6.5 6.6 Change-Id: Iec7c4cd4372ba5a511acb30e04b46c5dcc56d149 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Optimize inputpanel test execution timeJarkko Koivikko2023-09-135-114/+72
| | | | | | | | | | | | | | | | | | | | | | | | This change is based on several optimizations which together reduce the execution time of inputpanel test by roughly 80%. - Avoid Utils.findChild* functions when it is possible to use alias. - Introduce Keyboard.noAnimations property, which disables all internal animations in the keyboard. - Remove most of the waitForRendering calls which are useless. Add explicit wait() where it is absolutely necessary. - Reduce pressAndHoldDelay for alternative keys to avoid unnecessary waiting. - Avoid handwriting tests; utilize the handwriting feature flag for speed. It's a build-time constant, preventing unnecessary locale layout loading when no handwriting layout exists. - Finally, a minor optimization for the for loops in the Utils.findChild functions. Use "for of" instead of "for index", because it is much faster. Pick-to: 6.5 6.6 Change-Id: I2e3b9169eb8ab082f5b842909f91621643ba2803 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix navigation key test casesJarkko Koivikko2023-09-131-7/+8
| | | | | | | | | | | | | | | | These tests have been broken since the introduction of new layouts. For new layouts the initial key must be change for certain tests to avoid never ending loops caused by the simple navigation logic implemented in the test case. I debugged the Keyboard navigation key logic for hours and concluded it works as designed. Pick-to: 6.5 6.6 Change-Id: Ib83ec5d74e22ffe5eca92a67aacad48e2b34740d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-09-121-4/+4
| | | | | Change-Id: I2719f93532b5f32b38aae915f3dfcc6b3df64a96 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-09-101-4/+4
| | | | | Change-Id: I290b58adbe330ffab9254e6f0af6570659ffc305 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Update reference to 'Pure QML' exampleTopi Reinio2023-09-062-3/+7
| | | | | | | | | | | | | | | The 'Pure QML' example compositor in Qt Wayland has been renamed to 'Fancy Compositor'. Split the long snippet code line for starting the compositor for better readability. Mark the module clear of documentation warnings. Pick-to: 6.6 Change-Id: I6e07fa2f7a54820613760e98dd501821e0afb3b5 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* Disable desktop input panel on AndroidJarkko Koivikko2023-09-061-1/+1
| | | | | | | Fixes: QTBUG-108030 Pick-to: 6.5 6.6 Change-Id: Ic8fd9ea87723c58672489c9422d2e6a446a9181c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix binding loop warning emitted by inputpanel testJarkko Koivikko2023-09-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | zh_TW has only two supported input modes Zhuyin and Cangjie. At the time locale is set to zh_TW and the main layout is loaded, inputMode is not yet set to Zhuyin or Cangjie, because the input method is created by the layout and the default input mode is defined by the input method. The binding loop happens, because in the test case the inputMode is Latin during creation: create: inputMode === Latin -> Cangjie default: inputMode === Zhuyin -> Zhuyin test: inputMode === Cangjie -> Cangjie Fix by setting sourceComponent to null if the inputMode is not yet set to supported input mode. Pick-to: 6.5 6.6 Change-Id: I1c9bcccc5655e3ec1553e6e5414b47733eba5b82 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-311-4/+4
| | | | | Change-Id: I7569a8ac3b89926907a2636bb2ed2402003a1e2c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Work around QML creating separate singletons for each versionUlf Hermann2023-08-304-4/+45
| | | | | | | | | | | | | We define our own create() method and make sure to only create one singleton per engine, no matter the version. Since we cannot do this in the public header for QVirtualKeyboardInput, we create a QML registration shim for it in a private header. Pick-to: 6.6 6.5 Task-number: QTBUG-116432 Change-Id: I53391a92daf0777952401453038d2d523b86b4ef Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Doc: Add \examplecategory to qtvirtualkeyboardSafiyyah Moosa2023-08-291-0/+1
| | | | | | | Task-number: QTBUG-116332 Pick-to: 6.5 6.6 Change-Id: Ic31ba41f6c63fd59acc9199064d18849565b99ad Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-281-4/+4
| | | | | Change-Id: I8071414b9ce81678c1f88df4101da1c34636616d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-241-4/+4
| | | | | Change-Id: I072bba2725640efb07636750adfa3680128fe0fa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-241-4/+4
| | | | | Change-Id: Iea32434a05c6346db2d29ecda03d4af03a0fe1fd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-221-4/+4
| | | | | Change-Id: Ifef4632d9bb095c0e84e92a85cde3f8c6911f1b2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add QT_NO_CONTEXTLESS_CONNECT to the default build flagsAhmad Samir2023-08-222-4/+5
| | | | | | | | | | | | This disables the 3-arg QObject::connect() overload: QObject::connect(sender, signal, functor) For details see: https://lists.qt-project.org/pipermail/development/2023-July/044141.html Change-Id: Idf6e8a3abfb66363adaa1de817eb8feaef2d3b37 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Restore style path for backwards compatibilityJarkko Koivikko2023-08-223-1/+24
| | | | | | | | | | | | | This was broken since commit 4395ca0fdd04d4e8655f2c8765ff229e236bfdc2 [ChangeLog] Restored style path /QtQuick/VirtualKeyboard/content/styles for backwards compatibility. Fixes: QTBUG-116078 Pick-to: 6.5 6.6 Change-Id: Iadef58af5bea2dd5849f2a15500eac8a40c38eee Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-161-4/+4
| | | | | Change-Id: Iabec0d331887e32e98eef69c879c9266b21cc514 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-141-4/+4
| | | | | Change-Id: I1ca78c530cfe003a5d748a767cb86672b7b592a0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-101-4/+4
| | | | | Change-Id: I4d89a100f5fa726c97eb0b77d9a3a38f0ef9433b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-081-4/+4
| | | | | Change-Id: I15021851d2f19d52b93faf387412537e6cad57ec Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Mark the module free of Q_FOREACH ... againMarc Mutz2023-08-071-0/+1
| | | | | | | | | | | This restores the QT_NO_FOREACH macro originally added in 9260f78de4ef7480ae24eb831b48286d29d65b58 and then lost in the cmake port. Luckily, no new uses have crept in in the meantime. Change-Id: I27a92ab1bb3eba25ba4dcabf2b5edf2f52331d63 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-031-4/+4
| | | | | Change-Id: I13138fff290dd5fe864871d59c8105365353e105 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-08-021-4/+4
| | | | | Change-Id: I91c73cc3d7dd52c2ec0d2220777f05c22c125678 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-07-281-4/+4
| | | | | Change-Id: If2d1c34eac63c754ebf336415612f80c7964d017 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-07-261-4/+4
| | | | | Change-Id: I6230d7f91c15e8883975a849a2d4dd4f390ffaa6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove deprecated sync.profileAlexey Edelev2023-07-261-6/+0
| | | | | | Task-number: QTBUG-112418 Change-Id: Ice8b11b222be511ee33b8a85a9da3a7a269e54e2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: List of all Qt overviews which are now termed as explanationJaishree Vyas2023-07-241-1/+1
| | | | | | | | | | | | The autogenerated list of overviews was adding the \group command which included all the groups instead of overviews. The idea here is to categorize the overviews later on once we have the list of all overviews. Task-number: QTBUG-114762 Pick-to: 6.5 6.6 Change-Id: I3f6f0d88b5d21ac128c74d56c136c0d00368626c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-07-061-4/+4
| | | | | Change-Id: I489a98ac9a717bcd2ea10594ef239ddc0ca20794 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-07-041-4/+4
| | | | | Change-Id: If0e1f88cb4e2ce8244c8857f14183befe9a3472f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-06-291-4/+4
| | | | | Change-Id: Ie5db218b00f2fa2466e4e7f0a61ebff84513c3f5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-06-281-4/+4
| | | | | Change-Id: If92972baff536ed0b79c469d1d5624ddc7df8e30 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Remove warninglimit .qdocconf variableTopi Reinio2023-06-271-3/+0
| | | | | | | | | | | | | | | | The most common limit for the maximum number of allowed documentation warnings is zero. As all Qt module docs include() a common configuration from qtbase, it's better to control the base warninglimit from a central location in qtbase/doc/global. This allows for a temporary increase of the limit across all modules as needed - for example, when updating the QDoc binary that the CI provisions to a version that introduces new types of documentation warnings. Task-number: QTBUG-113326 Change-Id: I53d84dca3d82469b4401ffa463bddd29bdf8afe6 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Remove repetitive names from KeyboardFunctionKeys enum valuesJarkko Koivikko2023-06-269-36/+36
| | | | | | | | This change was made based on feedback on Qt 6.6 api review. Pick-to: 6.6 Change-Id: I13ea8314708a97258dcef1c17961022e1f422025 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Fix Settings icon visible in the comma key when Settings not availableJarkko Koivikko2023-06-211-1/+1
| | | | | | | | | This change fixes regression introduced in the commit 8ceee9b6af24911eac7b7f9862a293133f953b1a Pick-to: 6.6 Change-Id: I059215e767e5ada809feed09f9089e8485a7528c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Use scoped values in QML for enum classesJarkko Koivikko2023-06-2122-86/+50
| | | | | | | | | | | | | This change was made based on feedback on Qt 6.6 api review. Update all the remaining instances of unscoped enum class usage in QML to use scoped values. Remove test for unscoped enums. Pick-to: 6.6 Change-Id: I8c1147001d41666cbf6fab967ada8981065c28fe Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Make qvirtualkeyboardnamespace.h privateJarkko Koivikko2023-06-206-9/+20
| | | | | | | | | | | | | | | This change was made based on feedback on Qt 6.6 api review. Since the qvirtualkeyboardnamespace.h is currently used as private API, it makes no sense to keep it public. [ChangeLog][Potentially Source-Incompatible Changes][VirtualKeyboard] The qvirtualkeyboardnamespace.h header has been made private. None of the enum types declared in that header are used in public C++ APIs. Pick-to: 6.6 Change-Id: I889bf71bb36d00140dcffad7e672452c93eaaa98 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-06-201-4/+4
| | | | | Change-Id: I7924c69e23b3fd7773f90e915b6fb31ca2a287ea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.7.0Jani Heikkinen2023-06-161-1/+1
| | | | | Change-Id: Ibfa8d666912247b587fbbd79fe7330e8a2cdd1f2 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-06-161-4/+4
| | | | | Change-Id: Ic90806cc8b5b0eee14344c0d5886ec89cfe0e260 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Use unsigned type for enum KeyboardFunctionKeyJarkko Koivikko2023-06-166-15/+17
| | | | | | | | | | | | | | | These changes were made based on feedback on Qt 6.6 api review. - Use unsigned type for enum KeyboardFunctionKey (avoid QTBUG-113792) - Use 0xffffffff as the value of AllFunctionKeys to enable BC - Use scoped name for QtVirtualKeyboard.KeyboardFunctionKeys values This change amends commits 4ef502b77eedf1ec1683535143c01c43f4abfaf2 and 71daa433bf630af56998d6d5a524c23bb4fd8b17. Pick-to: 6.6 Change-Id: I4fe33bbff07505280ba5e937fccf38d3ebbb7b6e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: Add a DocBook version of custom svg imagesLuca Di Sera2023-06-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDoc provides a "\raw" command that allows a user to inject format-specific code that complements the code that QDoc generates. The "\raw" command expect the user to provide a "format" argument to ensure that the provided code is generated only for the format that is written for. Due to a bug in QDoc DocBook generation, the DocBook documentation was generating, sometimes incorrectly, "\raw" commands intended for the HTML format. The Qt virtual keyboard documentation uses the "\raw HTML" commands to provide some custom SVGs. Due to the aforementioned bug, QDoc was generating some equivalent code for DocBook, albeit no user-provided DocBook equivalent existed. As the bug is now being fixed, the DocBook documentation for virtual keyboard will lose the custom SVGs in its output. To preserve the SVGs for when generating DocBook documentation, an equivalent "\raw DocBook" command is now provided. Change-Id: I272163cd88b133e07fb790293baa9d4833429087 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Fix links to Supported Languages sectionVolker Hilsheimer2023-06-111-2/+2
| | | | | | Pick-to: 6.6 Change-Id: Ic31e435a9a46821330f0d18fac3780aa20ccfae5 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Do not require X11 package when building manual testsAlexey Edelev2023-06-091-1/+1
| | | | | | | | | | | It seems that manual tests that depend on X11 can be simply skipped with the respective message in the configuring log. So we shouldn't require X11 to be found. Pick-to: 6.5 6.6 Change-Id: I4525f70238b3e8e66759c875d29c5289069251ad Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix position of function popup listJarkko Koivikko2023-06-091-1/+1
| | | | | | | | | | | For some reason origin is not set correctly if currentIndex is set after. Perhaps ListView.width versus ListView.currentIndex behavior has changed. Anyway, set the currentIndex first and then create binding for the origin. This seems to fix the issue. Pick-to: 6.6 Change-Id: I78f3ff2b89b4ed1bb88e7556a20935748664a01b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Rename KeyboardFunctionKeyFlag and KeyboardFunctionKeyJarkko Koivikko2023-06-099-28/+28
| | | | | | | | | | | | | | | | | | These changes were made based on feedback on Qt 6.6 api review. - Rename QFlags class KeyboardFunctionKey to KeyboardFunctionKeys - Rename enum class KeyboardFunctionKeyFlag to KeyboardFunctionKey - Rename enum value QtVirtualKeyboard.NoFunctionKey to NoFunctionKeys Also: - don't pass QFlags by cref, pass them by value - change include order. This change amends commit 4ef502b77eedf1ec1683535143c01c43f4abfaf2 Pick-to: 6.6 Change-Id: I80736365b2fc5db53ae71b1b5e0ae141e9c804f5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: Remove incorrect module identifiers in \qmlproperty commandsTopi Reinio2023-06-081-3/+2
| | | | | | | | | | | | | With upcoming changes to QDoc these will start to generate documentation warnings. Remove them as QDoc is capable of resolving the parent QML type without the identifier. Also, drop the \qmlpropertygroup command as that's no longer required and is ignored by QDoc. Pick-to: 6.6 6.5 Change-Id: I4803fcdf039c89a5de6e931ad571369541612872 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* Update dependencies on 'dev' in qt/qtvirtualkeyboardQt Submodule Update Bot2023-06-081-4/+4
| | | | | Change-Id: Ib826a0137ee2421fa8a34200dcd538a6055061c3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove conanfile.pyTor Arne Vestbø2023-06-071-35/+0
| | | | | | | | | The conan experiment has ended, and the file is only bitrotting nowadays. Pick-to: 6.5 6.6 Change-Id: I14d6b49ec0704ff1a21386ca97d523ab2ed7fdf4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>