QtScrcpy icon indicating copy to clipboard operation
QtScrcpy copied to clipboard

X11Extras is not available in QT6 (need to use QNativeInterface::QX11Application)

Open neoh4x0r opened this issue 1 year ago • 0 comments

The CMakeLists file in QtScrcpy/CMakeLists.txt expects X11Extras to exist in QT6

However, that package existed in QT5 but was removed from qt6.

see https://doc.qt.io/qt-6/extras-changes-qt6.html#changes-to-qt-x11-extras

The Qt X11 Extras module was removed in Qt 6.

For QX11Info::connection(), use QNativeInterface::QX11Application::connection() instead. For QX11Info::display(), use QNativeInterface::QX11Application::display() instead. For QX11Info::isPlatformX11(), check QNativeInterface::QX11Application existence instead.

neoh4x0r avatar Nov 05 '24 17:11 neoh4x0r