Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
neoh4x0r opened this issue Nov 5, 2024 · 0 comments

Comments

@neoh4x0r
Copy link

neoh4x0r commented Nov 5, 2024

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 neoh4x0r changed the title X11Extras is not available in QT6 X11Extras is not available in QT6 (use QNativeInterface::QX11Application) Nov 5, 2024
@neoh4x0r neoh4x0r changed the title X11Extras is not available in QT6 (use QNativeInterface::QX11Application) X11Extras is not available in QT6 (need to use QNativeInterface::QX11Application) Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant