QX11Application Struct
struct QNativeInterface::QX11ApplicationNative interface to an X11 application. More...
Header: | #include <QGuiApplication> |
CMake: | find_package(Qt6 COMPONENTS Gui REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Since: | Qt 6.2 |
Public Functions
virtual xcb_connection_t * | connection() const = 0 |
virtual Display * | display() const = 0 |
Detailed Description
Accessed through QGuiApplication::nativeInterface().
Member Function Documentation
[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().
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.