Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QX11Application Struct

struct QNativeInterface::QX11Application

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

Public Functions

int * connection() const
int * display() const

Detailed Description

Accessed through QGuiApplication::nativeInterface().

Member Function Documentation

int *QX11Application::connection() const

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

See also display().

int *QX11Application::display() const

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

See also connection().

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded