QX11Application Struct

struct QNativeInterface ::QX11Application

Native interface to an X11 application. 更多...

头: #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 ().

成员函数文档编制

int *QX11Application:: connection () const

Returns the X connection of the application, for use with XCB.

另请参阅 display ().

int *QX11Application:: display () const

Returns the X display of the application, for use with Xlib.

另请参阅 connection ().