このページでは

QNativeInterface::QX11Application Struct

X11アプリケーションへのネイティブインターフェース。詳細...

ヘッダー: #include <QGuiApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
以下のように: Qt 6.2

パブリック関数

QX11Application()
QX11Application(const QNativeInterface::QX11Application &)
QX11Application(QNativeInterface::QX11Application &&)
int *connection() const
int *display() const
QNativeInterface::QX11Application &operator=(QNativeInterface::QX11Application &&)
QNativeInterface::QX11Application &operator=(const QNativeInterface::QX11Application &)

詳細な説明

QGuiApplication::nativeInterface() を通じてアクセスします。

メンバー関数のドキュメント

[constexpr noexcept default] QX11Application::QX11Application()

QX11Application のインスタンスをデフォルトコンストラクタで生成します。

[delete] QX11Application::QX11Application(const QNativeInterface::QX11Application &)

QX11Application のインスタンスをコピーして生成します。この関数は削除されています。

[delete] QX11Application::QX11Application(QNativeInterface::QX11Application &&)

QX11Application のインスタンスをmove-constructで生成します。この関数は削除されています。

int *QX11Application::connection() const

XCBで使用するために、アプリケーションのX接続を返します。

display()も参照してください 。

int *QX11Application::display() const

Xlibで使用するために、アプリケーションのXディスプレイを返します。

connection()も参照してください 。

[delete] QNativeInterface::QX11Application &QX11Application::operator=(QNativeInterface::QX11Application &&)

other をこのQX11Application インスタンスに割り当てます。この関数は削除されます。

[delete] QNativeInterface::QX11Application &QX11Application::operator=(const QNativeInterface::QX11Application &)

other をこのQX11Application インスタンスにコピー代入します。この関数は削除されます。

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