diff '--color=auto' -ur QGnomePlatform-0.9.2.old/src/common/CMakeLists.txt QGnomePlatform-0.9.2/src/common/CMakeLists.txt --- QGnomePlatform-0.9.2.old/src/common/CMakeLists.txt 2025-11-30 10:49:38.175201439 +0100 +++ QGnomePlatform-0.9.2/src/common/CMakeLists.txt 2025-11-30 10:50:30.233730113 +0100 @@ -7,6 +7,10 @@ utils.cpp ) +if(QT_VERSION_MAJOR EQUAL 6) + find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) +endif() + add_library(qgnomeplatform${LIBQGNOMEPLATFORM_SUFFIX} SHARED ${common_SRCS}) target_link_libraries(qgnomeplatform${LIBQGNOMEPLATFORM_SUFFIX} Qt${QT_VERSION_MAJOR}::Core Sólo en QGnomePlatform-0.9.2/src/common: CMakeLists.txt~ diff '--color=auto' -ur QGnomePlatform-0.9.2.old/src/decoration/CMakeLists.txt QGnomePlatform-0.9.2/src/decoration/CMakeLists.txt --- QGnomePlatform-0.9.2.old/src/decoration/CMakeLists.txt 2025-11-30 10:49:38.176201430 +0100 +++ QGnomePlatform-0.9.2/src/decoration/CMakeLists.txt 2025-11-30 10:51:11.264358626 +0100 @@ -8,6 +8,11 @@ qgnomeplatformdecoration.cpp ) +if(QT_VERSION_MAJOR EQUAL 6) + find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) + find_package(Qt6 REQUIRED COMPONENTS WaylandClientPrivate) +endif() + add_library(qgnomeplatformdecoration MODULE ${decoration_SRCS}) target_link_libraries(qgnomeplatformdecoration qgnomeplatform${LIBQGNOMEPLATFORM_SUFFIX} Sólo en QGnomePlatform-0.9.2/src/decoration: CMakeLists.txt~ diff '--color=auto' -ur QGnomePlatform-0.9.2.old/src/decoration/qgnomeplatformdecoration.cpp QGnomePlatform-0.9.2/src/decoration/qgnomeplatformdecoration.cpp --- QGnomePlatform-0.9.2.old/src/decoration/qgnomeplatformdecoration.cpp 2025-11-30 10:49:38.176201430 +0100 +++ QGnomePlatform-0.9.2/src/decoration/qgnomeplatformdecoration.cpp 2025-11-30 10:56:03.843709465 +0100 @@ -689,20 +689,32 @@ if (local.x() <= margins().left()) { // top left bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SizeBDiagCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SizeFDiagCursor); #endif +#endif startResize(inputDevice, Qt::TopEdge | Qt::LeftEdge, b); } else if (local.x() > surfaceRect.right() - margins().left()) { // top right bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SizeBDiagCursor); #endif +#endif startResize(inputDevice, Qt::TopEdge | Qt::RightEdge, b); } else { // top resize bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SplitVCursor); #endif +#endif startResize(inputDevice, Qt::TopEdge, b); } } else if (local.x() <= surfaceRect.left() + margins().left()) { @@ -747,20 +759,32 @@ if (local.x() <= margins().left()) { // bottom left bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SizeBDiagCursor); #endif +#endif startResize(inputDevice, Qt::BottomEdge | Qt::LeftEdge, b); } else if (local.x() > window()->width() + margins().right()) { // bottom right bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SizeFDiagCursor); #endif +#endif startResize(inputDevice, Qt::BottomEdge | Qt::RightEdge, b); } else { // bottom bit #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SplitVCursor); #endif +#endif startResize(inputDevice, Qt::BottomEdge, b); } } @@ -770,8 +794,12 @@ Q_UNUSED(local) Q_UNUSED(mods) #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SplitHCursor); #endif +#endif startResize(inputDevice, Qt::LeftEdge, b); } @@ -780,8 +808,12 @@ Q_UNUSED(local) Q_UNUSED(mods) #if QT_CONFIG(cursor) +#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)) + waylandWindow()->applyCursor(inputDevice, Qt::SplitVCursor); +#else waylandWindow()->setMouseCursor(inputDevice, Qt::SplitHCursor); #endif +#endif startResize(inputDevice, Qt::RightEdge, b); } Sólo en QGnomePlatform-0.9.2/src/decoration: qgnomeplatformdecoration.cpp~