Qt 5 Core Compatibility APIs
The Qt 5 Core Compat module contains the old Qt Core APIs which will be no longer supported in Qt 6 and therefore were removed from Qt 6. The module is provided to facilitate transitioning the old code to Qt 6.
Using the Module
To include the definitions of the module's classes, use the following directive:
#include <QtCore5Compat>
Building with qmake
To link against the module, add this line to your qmake .pro
file:
QT += core5compat