qt5base-lts/src/dbus
Alexandru Croitor e9a797799e CMake: Add Qt6 forward compatible CMake API and targets
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>
2020-01-25 18:10:26 +01:00
..
doc doc: Fix variable name in QDBusArgument snippet 2019-09-27 18:27:17 +03:00
dbus_minimal_p.h DBus: verify up to date with dbus-1.12.12 2019-02-21 13:25:58 +00:00
dbus.pro Migrate Windows system libs to external dependencies 2019-05-08 08:30:02 +00:00
LIBDBUS-1-LICENSE.txt Document libdbus-1 code in Qt D-Bus 2018-04-20 06:45:12 +00:00
qdbus_symbols_p.h Support interactive authorization flag in DBusMessage 2018-07-10 19:46:40 +00:00
qdbus_symbols.cpp Convert a few sizeof(array)/sizeof(element0) fors to range fors 2019-10-04 09:00:24 +02:00
qdbusabstractadaptor_p.h Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
qdbusabstractadaptor.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusabstractadaptor.h
qdbusabstractinterface_p.h
qdbusabstractinterface.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusabstractinterface.h QDBusAbstractInterface: make call() and asyncCall() variadic templates 2019-06-21 09:18:13 +02:00
qdbusargument_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbusargument.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusargument.h Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusconnection_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbusconnection.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusconnection.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qdbusconnectioninterface.cpp QDBusConnectionInterface: Add activatableServiceNames 2019-07-07 12:16:11 +02:00
qdbusconnectioninterface.h QDBusConnectionInterface: Add activatableServiceNames 2019-07-07 12:16:11 +02:00
qdbusconnectionmanager_p.h
qdbuscontext_p.h
qdbuscontext.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbuscontext.h
qdbusdemarshaller.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbuserror.cpp qdbuserror: Use qOffsetStringArray instead of script generated code 2018-10-16 18:32:18 +00:00
qdbuserror.h Mark QDBusError::ErrorType a Q_ENUM 2019-08-05 20:41:51 -07:00
qdbusextratypes.cpp Port users of QDBusAbstractInterface::(async)callWithArgumentList() to new variadic (async)Call() 2019-08-07 20:09:17 +00:00
qdbusextratypes.h Port users of QDBusAbstractInterface::(async)callWithArgumentList() to new variadic (async)Call() 2019-08-07 20:09:17 +00:00
qdbusintegrator_p.h Merge "Merge remote-tracking branch 'origin/5.13' into dev" into refs/staging/dev 2019-04-04 23:01:17 +00:00
qdbusintegrator.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusinterface_p.h
qdbusinterface.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusinterface.h
qdbusinternalfilters.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusintrospection_p.h
qdbusintrospection.cpp
qdbusmarshaller.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmessage_p.h Support interactive authorization flag in DBusMessage 2018-07-10 19:46:40 +00:00
qdbusmessage.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmessage.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qdbusmetaobject_p.h Undef interface in more places, fixing builds with libc++ on windows 2018-01-18 04:44:44 +00:00
qdbusmetaobject.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmetatype_p.h
qdbusmetatype.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusmetatype.h
qdbusmisc.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbuspendingcall_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbuspendingcall.cpp Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-18 01:00:08 +01:00
qdbuspendingcall.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qdbuspendingreply.cpp Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-18 01:00:08 +01:00
qdbuspendingreply.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qdbusreply.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusreply.h Fix -Wdeprecated-copy warning 2020-01-14 16:52:34 +01:00
qdbusserver.cpp Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-04 07:03:54 +02:00
qdbusserver.h
qdbusservicewatcher.cpp QDBusServiceWatcher namespace prefix support 2018-11-06 09:52:09 +00:00
qdbusservicewatcher.h
qdbusthreaddebug_p.h
qdbusunixfiledescriptor.cpp Tidy nullptr usage 2019-12-06 12:13:20 +01:00
qdbusunixfiledescriptor.h Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qdbusutil_p.h QtDBus: use new QLatin1String::arg() 2019-06-03 23:28:18 +02:00
qdbusutil.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusvirtualobject.cpp
qdbusvirtualobject.h
qdbusxmlgenerator.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
qdbusxmlparser_p.h
qdbusxmlparser.cpp
Qt5DBusConfigExtras.cmake.in CMake: Add Qt6 forward compatible CMake API and targets 2020-01-25 18:10:26 +01:00
Qt5DBusMacros.cmake CMake: Add Qt6 forward compatible CMake API and targets 2020-01-25 18:10:26 +01:00
qt_attribution.json DBus: verify up to date with dbus-1.12.12 2019-02-21 13:25:58 +00:00
qtdbusglobal_p.h
qtdbusglobal.h