Registry / other / qt5-x11extras

qt5-x11extras

JSON →
library5.15.18vcpkgunverified

Qt X11 Extras provides platform-specific APIs for Linux/X11 applications using Qt 5.

vcpkg install qt5-x11extras
INSTALL
IMPORT
SIG · QT5-X11EXTRAS
Q
qt5-x11extras
othercppv5.15.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

QX11Info
#include <QX11Info>

Checks if running on X11 and prints the display pointer.

#include <QApplication> #include <QX11Info> #include <iostream> int main(int argc, char *argv[]) { QApplication app(argc, argv); if (QX11Info::isPlatformX11()) { std::cout << "Running on X11 display: " << QX11Info::display() << std::endl; } return 0; }
Debug
Known issues
breakingQt X11 Extras is deprecated in Qt 5.15 and removed in Qt 6; use QNativeInterface or platform-specific code instead.
fix
For Qt 6, use QNativeInterface::QX11Application or migrate to platform-agnostic APIs.
affects: >=5.15
Upgrade
Version history
5.15.18latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

qt5-x11extras — pip install qt5-x11extras · libregistry