QNativeInterface::QX11Application Struct

到 X11 應用程序的本機接口。 更多...

頭: #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

詳細描述

訪問透過 QGuiApplication::nativeInterface ().

成員函數文檔編製

int *QX11Application:: connection () const

返迴應用程序的 X 連接,為用於 XCB。

另請參閱 display ().

int *QX11Application:: display () const

返迴應用程序的 X 顯示,為用於 Xlib。

另請參閱 connection ().