summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5' in qt/qtwayland6.5Qt Submodule Update Bot2023-05-161-2/+2
| | | | | Change-Id: I4dfef53b732f36f6620c8e51e84e8ac8e63eaf0f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: fix a typo in minimum window size handlingIlya Fedin2023-05-151-1/+1
| | | | | | | | | Amends 42128ec10e2365b5235a80ebc0bb429402b8f95f Change-Id: I3919b913aa7b09f9d0863344d72e9f6e14a8634a Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2887b351ed70e1151cb88755ecc63fa99c12b0f1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-05-121-2/+2
| | | | | Change-Id: Ie19c7412d55d7dd535a4741014a26d8e0513c15a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Apply only valid min/max sizesInho Lee2023-05-092-7/+17
| | | | | | | | | | | | | | | When setting min/max sizes, the minimum size can be larger than the maximum size. In that case, the size hint won't be applied to the geometry. Setting size hint will be pending until the min/max pair is valid and the actual geometry will not be changed with the invalid size hint. Fixes: QTBUG-113233 Change-Id: Ia05944e8342e7f8d794aee7883e0637a4c711c9d Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 42128ec10e2365b5235a80ebc0bb429402b8f95f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump version to 6.5.2Jani Heikkinen2023-05-031-1/+1
| | | | | Change-Id: Ia7050d496e994a31a9da2162e4f5eeee6ff40095 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-05-031-2/+2
| | | | | Change-Id: Iae75be3485416e91b536a1240af3daea9d964735 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* doc: Correct outdated info about text input methodsEskil Abrahamsen Blomfeldt2023-05-031-10/+8
| | | | | | | | | | | | The pure-qml example now supports multiple text input methods at the same time, but the documentation had not been updated to reflect this. Fixes: QTBUG-110924 Change-Id: I0c23f06db7eefec6442eff50f75d0f78ba2203d3 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit f39be90d321e2fa3845e98959f3977b234cd372e) Reviewed-by: Inho Lee <inho.lee@qt.io>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-021-0/+1
| | | | | | | | | | The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: I88345a5f4ece934e66ffcaeab48edff3fed2d06e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 630d2636ada77db786c83744a737079aaf359c36) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Add CMake build sectionsAndreas Eliasson2023-05-022-11/+25
| | | | | | | | | | | | Only qmake instructions exists as of today. Add CMake instructions and make use of the global include snippets. Fixes: QTBUG-113023 Change-Id: I50d5f503b5f0c116bc9c1d48b6e09ad2de45a3bb Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> (cherry picked from commit 6a4e8ce18bb2659b5a85c1a1ccf4c1b8631ea45f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-05-011-2/+2
| | | | | Change-Id: If67c1603e127fe5d0f3cdd0bf740f7ef2cc8ea59 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* compositor: adapt to new QXkbCommon::modifiers()Mario Roessel2023-04-281-1/+1
| | | | | | | | | Fixes: QTBUG-111503 Done-With: Liang Qi <liang.qi@qt.io> Change-Id: Ib6adb03575c06f667ec5d7a0139b4396888d4010 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit f614fdfa5dc522f805c7c061535df6a0dc7409b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-281-2/+2
| | | | | Change-Id: I0bd9e2616f832160ca490114b8245f34de323998 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-261-2/+2
| | | | | Change-Id: I1afa4f20e5fac36cb94a635b5a8e2ff42890462f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Exclude hardwareintegration plugins from Unity BuildAmir Masoud Abdol2023-04-251-0/+6
| | | | | | | | | | | It seems that when <EGL/egl.h> is included, we get conflicting symbols between QUrl, and X11 symbols. Task-number: QTBUG-109394 Change-Id: I6a4d6c475d43d0f8f35a27b855a69cf6f842742a Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit a101e63bc0d97232b60fba0e2f52e59499210fa0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Use correct CMake component namePaul Wicking2023-04-241-1/+1
| | | | | | | | | | | | | | | The documentation wrongfully states that the name of the CMake component for Qt Wayland Compositor is `Waylandcompositor`. The correct component name is `WaylandCompositor`, see e.g. qtwayland.git/src/compositor/CMakeLists.txt. This change corrects the typo. Fixes: QTBUG-113022 Change-Id: I158c8d93e664bd729c912d2f7424a99ea3713ab8 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> (cherry picked from commit a38b75ba02b11a3ab838e892e0468d0b8aaac7eb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-201-2/+2
| | | | | Change-Id: Ied3729f90586a8b61449849739443f73bdca253d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandWindow: Init parent wl_surface when creating subsurfaceDavid Rosca2023-04-192-0/+6
| | | | | | | | | | Fixes recreating subsurfaces after hiding and then again showing the window. Change-Id: I2e3e7ceb42ec6b25cb64db260dfb74f6ebb10d27 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit d06d66fad70d7c61559211b6f489b94d1c3a8a05) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-191-2/+2
| | | | | Change-Id: I5e27d282248a347449fbc481a0036e8423710cf7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Document sendFullKeyEvent() and sendKeyEvent() limitationsPaul Olav Tvete2023-04-181-0/+8
| | | | | | | | Task-number: QTBUG-112853 Change-Id: I5ae7ee194e8415c5e34ecde2d93086885866abfd Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 558babd4bc3cbd1f6eb9f17f263313fd7b40069a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-171-2/+2
| | | | | Change-Id: Ie74e7c71b9e568a35f89b7a3048e9cb8fe997bd9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-131-2/+2
| | | | | Change-Id: I317f4c2bf7e156dd4ec1ef67838e6266471541ab Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Use correct type in vulkan window for nullDavid Edmundson2023-04-131-1/+1
| | | | | | | | | | | VkSurfaceKHR is not a pointer, nullptr is not always the same size. Task-number: QTBUG-112808 Change-Id: I12e5f61b67b9aa331f7e42a952413e922d09eb8d Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 4f607ebfca1d40fe25eb1afdbfebb1265f4ce65c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-121-2/+2
| | | | | Change-Id: I6527a53a5f93ef8858df538ad9c0bafa72e433c7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-1210-10/+10
| | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Task-number: QTBUG-112731 Change-Id: I86a8a71204d1dd0665ca6d8c40438c78817c007a Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 9130a67c5981abc35be406da593f3a4b7f8e281f)
* Destroy frame queue before displayDavid Redondo2023-04-111-2/+3
| | | | | | | | | | wl_event_queue_destroy accesses the display. Found by running a test under valgrind. Change-Id: Ic89cbd3b6e98b4fc9561b0e63b5fab4886a1ec50 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit a76bf824fcd1cc3789f0d3454a0423c0241d9718) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump version to 6.5.1Jani Heikkinen2023-04-041-1/+1
| | | | | Change-Id: Ie9db431d02dd4caabe2c13bfa1dee0a80a68d5bc Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-04-031-2/+2
| | | | | Change-Id: Ifa954c4f61c84b347a2ec6a72f1f108d770b892f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Check for shell integration when initializing platform pluginIlya Fedin2023-04-038-19/+31
| | | | | | | | | | | | | | | This makes QWaylandDisplay::initialize return a boolean and moves the QWaylandIntegration's failure check out of constructor as QWaylandIntegration::shellIntegration is a virtual method, this also removes the out-of-date comments about processEvents as it's no more used in QWaylandDisplay::forceRoundTrip. Fixes: QTBUG-102457 Change-Id: I3c8f1d9fd195326b587b45318443c2beee1ebfc2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2eb17abf4262b467140ed4262320bf60cbda3ba2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: let QWaylandClientExtension work before platform integration is assignedIlya Fedin2023-04-033-8/+10
| | | | | | | | Task-number: QTBUG-102457 Change-Id: Ia47478a4fbf45ba96fd73c6a1a53c2b844aa41b4 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit b66d93c6b827ef2d194916c68f1f64fe874d5163) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Cleanup vulkan surfaces on hideDavid Edmundson2023-03-312-5/+13
| | | | | | | | | | | | Otherwise a hide/show combination will result in use of wl_surface after it has been destroyed by QWaylandWindow. This closely matches what the pattern we use for QWaylandEGLWindow. Change-Id: Ic23f947046ce521125dfa8a3c22f5529dfcbece2 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit d78e8c02846a3634445a808d9845be8613bb1bfe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-241-2/+2
| | | | | Change-Id: I03e6380a0c4c32dc9f8ef738e76d00861c78c02b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-221-2/+2
| | | | | Change-Id: I8783dc4053f6b7018ad666a1227666e119c07b0d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Fix the mouse being stuck in pressed state after DnDIlya Fedin2023-03-211-1/+1
| | | | | | | | | | | | | | | I can still reproduce the problem using QtWidgets applications on KDE Plasma 5.27. Both Windows and macOS QPA have a similar quirk and they both send a MouseButtonRelease event rather than a MouseMove event. Amends f7a386eeaec8e6314c1be7de5e14e9fe3847f9ba Task-number: QTBUG-97037 Change-Id: I864a1cb68b3660d858623f943b3958f7cafbf955 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit e3c74961b1c7415fd94678802ad7f8173d0be4c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Fix wl_surface destruction orderVlad Zahorodnii2023-03-201-6/+6
| | | | | | | | | | | | | | | The main thread can attempt to close the window while the QtQuick render thread is still busy. If that happens, ensure that QtQuick render thread has finished rendering and presented the last frame before destroying the wp_viewport and any other associated surface extensions so the window destruction looks more reasonable. Change-Id: I8d2a3372fe6de51f357eed513baaa34a148470e3 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 504b9f1491d7244d05bee243bacf03aa9df1a17c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-161-2/+2
| | | | | Change-Id: Id9f27f7822e860c47744f04f37f5f12e79802a01 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-111-2/+2
| | | | | Change-Id: Ie3eea0be740647791c1dabc5fcf71240f8428c03 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Add support for xdg_popup_configureLiang Qi2023-03-103-2/+49
| | | | | | | | | | | | | | | | | | This amends 59a5fe99e1569421b920d99c5b20cdafcdcf43a9. Since set_constraint_adjustment() was supported, popup should reposition itself from configure. Need to find a way to test clientSideMargins() and etc in the future. Fixes: QTBUG-110623 Task-number: QTBUG-87303 Done-with: Ilya Fedin <fedin-ilja2010@ya.ru> Change-Id: I734acfcde3ba5a35b6f4222358bc93e49fa43f7c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2eeefbb706d8fce8d70d454c5e9ceda3ecae2479) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-081-2/+2
| | | | | Change-Id: Iaf728d7a30acbf11f4ca25375219f29056eeb51e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Compile with -no-openglEskil Abrahamsen Blomfeldt2023-03-0610-10/+5
| | | | | | | | | | | | A few of the tests were including Qt OpenGL for no good reason, and the link step should be optional. Fixes: QTBUG-110420 Change-Id: Icb78c15e49070c6938bf9bb75abfed677af6785b Reviewed-by: Inho Lee <inho.lee@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 83599e16789f945ef15954f2a2aabb37b245e596) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: Do not cast placeholder screens to QWaylandScreenAleix Pol2023-03-061-1/+1
| | | | | | | | | | | It's wrong to C-cast an object to a class that isn't theirs. Check if it is a placeholder first. Change-Id: I45d3c423422ae6638a033fb0f4cfefc7cd4460f0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit a53f022393a1276dbf8eccbae04cb0bd6cea0160) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-031-2/+2
| | | | | Change-Id: Ieb3fcb52193134fc9f5b1eca2252c270a8993661 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-021-2/+2
| | | | | Change-Id: Ic3ea6e93ee1483726f9ae17e492effc0aa516243 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-03-011-2/+2
| | | | | Change-Id: I62882516ac5230a148c5e7f0672407fc24e900a7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Unify margins handlingIlya Fedin2023-02-283-38/+24
| | | | | | | | | | | | | | | | | | | | | | | Currently all the shell integrations except of xdg-shell pass full surface size to resizeFromApplyConfigure. xdg-shell behavior is not even consistent between the first and the consequent calls to resizeFromApplyConfigure. This replaces QWaylandWindow::customMargins with QWaylandWindow::windowContentMargins in order to being able to retrieve set_window_geometry margins separately from the geometry itself and makes xdg-shell passing the geometry consistently as full surface size removing the need in special casing. This also makes QWaylandWindow::clientSizeMargins public so e.g. xdg-shell can compute out absolute position for window content geometry without special casing decorations Change-Id: I1b98afc8b5c867ecb7cc586267b13f7ec4b1a88c Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit ae026d6ac7b7910b9f3934a1df2b69d3fce344bc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: Add missing documentation screenshotsEskil Abrahamsen Blomfeldt2023-02-286-0/+6
| | | | | | | | | | | | A few examples were missing screenshots. Having something visual makes it a lot easier to understand the example without having to compile and run it. Task-number: QTBUG-110993 Change-Id: I2c95262f79a94a5da12421e9c19e42ff73a178c0 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 95edcfabc2a289f74421b7e6228e1c58bbdfb8a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Remove flip popup constraintsVlad Zahorodnii2023-02-281-3/+1
| | | | | | | | | | | | | | | | | xdg_positioner doesn't have good anchor rect and other needed information so the compositor can properly flip popups. In some windows I see that some popups are flipped in such a way that the popups look "detached" from the parent window. With the information that QtWayland provides so far only slide constraint adjustments can produce somewhat expected results. Although there will be still some issues near screen edges. Task-number: QTBUG-87303 Change-Id: I4021f497b78e62651fe606c4be21a387a92edd6c Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit d7a5dab0182cba19d7f59e542672aa3d1b2e859e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: Remove category from examples docsEskil Abrahamsen Blomfeldt2023-02-2819-51/+44
| | | | | | | | | | | | | | | Remove redundant categorization from example title as according to example guidelines. The examples are already categorized under Qt Wayland Compositor Examples, so adding it to the title makes the list a bit cluttered. Task-number: QTBUG-110993 Change-Id: I91ad127611c7b1e4d8c558377bc5f46e0ec28a41 Reviewed-by: Inho Lee <inho.lee@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit bc612e4ecc06aeba5f829913054614f959eca1a6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: Add compositor examples to Embedded categoryEskil Abrahamsen Blomfeldt2023-02-2810-0/+10
| | | | | | | | | | | | Qt Wayland Compositor API is perfectly suitable for desktop as well, but is primarily used on embedded systems and that is where the ability to build your own platform, including a custom compositor, yields the most power. Change-Id: Icb5827b29f896cf6835bdd37fb003a4abbef9f94 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 82d4dad14fe763c6cb0b5d3c4ef4109243e8ab39) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move setup functions from local to memberThomas Senyk2023-02-272-5/+7
| | | | | | | | | | | | | | | Two functions with the same name and signiture were committed in two files. Normally this isn't an issue as those symbols end up in different plugins, however for a static Qt build all are linked into the same binary => symbol clash! Changing those functions to member functions of the respective private classes resolves this issue. As the original name was rather long, it was also shorted in the process. Fixes: QTBUG-111473 Change-Id: I0f341a64199637a415898309763f9b5416fc4be1 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 5703d0a242aef9402d4b72ab50fe336f453e49fd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build on CentOS 7Ilya Fedin2023-02-241-0/+10
| | | | | | | | | | | | | | | | | | | Have the following errors while attempting to build qtwayland v6.5.0-beta3: /usr/src/Libraries/qt_6.5.0/qtwayland/src/client/qwaylandshmbackingstore.cpp:48:19: error: 'F_ADD_SEALS' was not declared in this scope 48 | fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); | ^~~~~~~~~~~ /usr/src/Libraries/qt_6.5.0/qtwayland/src/client/qwaylandshmbackingstore.cpp:48:32: error: 'F_SEAL_SHRINK' was not declared in this scope 48 | fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); | ^~~~~~~~~~~~~ /usr/src/Libraries/qt_6.5.0/qtwayland/src/client/qwaylandshmbackingstore.cpp:48:48: error: 'F_SEAL_SEAL' was not declared in this scope 48 | fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); | ^~~~~~~~~~~ Change-Id: I4b9b3a13ac47483594f454ba36dc5d720cb592a5 Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 12da86346954f7290e3e1fb00f5c5f2307d2fd58) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>