Registry / utility / qt5compat

qt5compat

JSON →
library6.10.1vcpkgunverified

The Qt 5 Core Compat module contains Qt 5 Core APIs removed in Qt 6 to facilitate transition to Qt 6.

vcpkg install qt5compat
INSTALL
IMPORT
SIG · QT5COMPAT
Q
qt5compat
utilitycppv6.10.1
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.

Qt5Compat/Qt5Compat
✓ #include <Qt5Compat/Qt5Compat>

Use Qt5Compat to access Qt 5 APIs in a Qt 6 project.

#include <Qt5Compat/Qt5Compat> #include <QString> #include <iostream> int main() { QString s = QString::fromStdString("Hello"); std::cout << s.toStdString() << std::endl; return 0; }
Debug
Known issues
breakingThis module is only needed when migrating from Qt 5 to Qt 6; it may be removed in future Qt 6 releases.
fix
Prefer native Qt 6 APIs where possible; use Qt5Compat only as a temporary bridge.
affects: >=6.0
Upgrade
Version history
6.10.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

qt5compat — pip install qt5compat · libregistry