e9a797799e
Create Qt:: versionless targets for libraries and tools. So Qt::Core will link to Qt5::Core. Add additional feature properties to targets, with the same name they have in Qt6: QT_ENABLED_PUBLIC_FEATURES, QT_DISABLED_PUBLIC_FEATURES, QT_ENABLED_PRIVATE_FEATURES, QT_DISABLED_PRIVATE_FEATURES, to be forward-compatible with Qt6. Prefix properties with INTERFACE_ for interface libraries. Create functions with no major version in their prefix, so qt_foo instead of qt5_foo. The non-versioned functions will call the versioned functions, depending on the value of QT_DEFAULT_MAJOR_VERSION, which can be set by an application developer before finding the Qt package. Set QT_DEFAULT_MAJOR_VERSION to 5 if the value has not been defined in the current scope. Application developers can set QT_NO_CREATE_VERSIONLESS_FUNCTIONS to TRUE before calling find_package(Qt5) to suppress creation of the non-versioned functions. Application developers can set QT_NO_CREATE_VERSIONLESS_TARGETS to TRUE before calling find_package(Qt5) to suppress creation of the non-versioned targets. Setting these can be useful when both find_package(Qt5) and find_package(Qt6) are in the same project. If none of these are set by the user, then the first find_package(Qt5) will create versionless targets with the major version being "5", which means the second find_package(Qt6) will not create versionless targets. Handle versionless plugin names in qt_import_plugins, so both Qt::QCocoaIntegrationPlugin and Qt5/6::QCocoaIntegrationPlugin are recognized by the function. Allow specifying multiple types in EXCLUDE_BY_TYPE in qt_import_plugins, to be consitent with the Qt 6 version. Make sure to set the QT_PLUGIN_CLASS_NAME property to compatible with Qt 6. Task-number: QTBUG-74137 Task-number: QTBUG-80477 Change-Id: Ib89d090ea6f7794d7debd64f03f29da963a17ca7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> |
||
---|---|---|
.. | ||
doc | ||
dbus_minimal_p.h | ||
dbus.pro | ||
LIBDBUS-1-LICENSE.txt | ||
qdbus_symbols_p.h | ||
qdbus_symbols.cpp | ||
qdbusabstractadaptor_p.h | ||
qdbusabstractadaptor.cpp | ||
qdbusabstractadaptor.h | ||
qdbusabstractinterface_p.h | ||
qdbusabstractinterface.cpp | ||
qdbusabstractinterface.h | ||
qdbusargument_p.h | ||
qdbusargument.cpp | ||
qdbusargument.h | ||
qdbusconnection_p.h | ||
qdbusconnection.cpp | ||
qdbusconnection.h | ||
qdbusconnectioninterface.cpp | ||
qdbusconnectioninterface.h | ||
qdbusconnectionmanager_p.h | ||
qdbuscontext_p.h | ||
qdbuscontext.cpp | ||
qdbuscontext.h | ||
qdbusdemarshaller.cpp | ||
qdbuserror.cpp | ||
qdbuserror.h | ||
qdbusextratypes.cpp | ||
qdbusextratypes.h | ||
qdbusintegrator_p.h | ||
qdbusintegrator.cpp | ||
qdbusinterface_p.h | ||
qdbusinterface.cpp | ||
qdbusinterface.h | ||
qdbusinternalfilters.cpp | ||
qdbusintrospection_p.h | ||
qdbusintrospection.cpp | ||
qdbusmarshaller.cpp | ||
qdbusmessage_p.h | ||
qdbusmessage.cpp | ||
qdbusmessage.h | ||
qdbusmetaobject_p.h | ||
qdbusmetaobject.cpp | ||
qdbusmetatype_p.h | ||
qdbusmetatype.cpp | ||
qdbusmetatype.h | ||
qdbusmisc.cpp | ||
qdbuspendingcall_p.h | ||
qdbuspendingcall.cpp | ||
qdbuspendingcall.h | ||
qdbuspendingreply.cpp | ||
qdbuspendingreply.h | ||
qdbusreply.cpp | ||
qdbusreply.h | ||
qdbusserver.cpp | ||
qdbusserver.h | ||
qdbusservicewatcher.cpp | ||
qdbusservicewatcher.h | ||
qdbusthreaddebug_p.h | ||
qdbusunixfiledescriptor.cpp | ||
qdbusunixfiledescriptor.h | ||
qdbusutil_p.h | ||
qdbusutil.cpp | ||
qdbusvirtualobject.cpp | ||
qdbusvirtualobject.h | ||
qdbusxmlgenerator.cpp | ||
qdbusxmlparser_p.h | ||
qdbusxmlparser.cpp | ||
Qt5DBusConfigExtras.cmake.in | ||
Qt5DBusMacros.cmake | ||
qt_attribution.json | ||
qtdbusglobal_p.h | ||
qtdbusglobal.h |