En esta página

QNativeInterface::QX11Application Struct

Interfaz nativa para una aplicación X11. Más...

Cabecera: #include <QGuiApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Desde: Qt 6.2

Funciones Públicas

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

Descripción Detallada

Se accede a través de QGuiApplication::nativeInterface().

Documentación de las funciones miembro

int *QX11Application::connection() const

Devuelve la conexión X de la aplicación, para su uso con XCB.

Véase también display().

int *QX11Application::display() const

Devuelve la visualización X de la aplicación, para su uso con Xlib.

Véase también connection().

© 2026 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.