Native interface to an X11 application. More...
Header: | #include <QX11Application> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 6.2 |
virtual xcb_connection_t * | connection() const = 0 |
virtual Display * | display() const = 0 |
Accessed through QGuiApplication::nativeInterface().
[pure virtual]
xcb_connection_t *QX11Application::connection() const
Returns the X connection of the application, for use with XCB.
See also display().
[pure virtual]
Display *QX11Application::display() const
Returns the X display of the application, for use with Xlib.
See also connection().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qnativeinterface-qx11application.html