Native interface to an X11 application. More...
| Header: | #include <QGuiApplication>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui)
|
| qmake: | QT += gui
|
| Since: | Qt 6.2 |
| int * | connection() const |
| int * | display() const |
Accessed through QGuiApplication::nativeInterface().
Returns the X connection of the application, for use with XCB.
See also display().
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.9/qnativeinterface-qx11application.html