qt5base-lts/src
Thiago Macieira 2f226336a2 QPluginLoader: don't instantiante multiple, identical instances
This can happen if the same project has two or more Q_IMPORT_PLUGIN
macros in their source. And that can happen when converting from qmake-
based builds to CMake, as qmake didn't generate a source file with the
macro but CMake does.

[ChangeLog][QtCore][QPluginLoader] staticInstances() will not call
duplicated registrations of the same instantiation function, which can
only happen as a result of duplicated Q_IMPORT_PLUGIN for the same
plugin name.

Fixes: QTBUG-102745
Pick-to: 6.2 6.5
Change-Id: Idd5e1bb52be047d7b4fffffd174fb9dd62d8583d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-04-05 00:29:16 -07:00
..
3rdparty SQLite: Update SQLite to v3.41.2 2023-03-31 13:10:04 +01:00
android Android: remove sdk version check for old version 2023-03-08 17:04:15 +00:00
concurrent QtConcurrent: fix warning due to assignment to narrower integer type 2023-04-03 00:02:46 +11:00
corelib QPluginLoader: don't instantiante multiple, identical instances 2023-04-05 00:29:16 -07:00
dbus moc: Record types of enumerations 2023-03-31 17:42:58 +02:00
entrypoint src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
gui Implement setBadgeNumber for xcb backend 2023-04-04 23:53:37 +02:00
network QSslCertificate: Add property names to debug operator<< 2023-04-04 19:23:33 +02:00
opengl Use Qt CMake APIs to exclude files from Unity Build 2023-04-03 12:41:14 +02:00
openglwidgets Add QOpenGLWindow/Widget doc note about depth/stencil 2023-03-16 10:26:40 +01:00
platformsupport src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
plugins SQL/PSQL: remove non utf-8 support 2023-04-05 05:37:39 +01:00
printsupport Use Qt CMake APIs to exclude files from Unity Build 2023-04-03 12:41:14 +02:00
sql QSqlError: also compare nativeErrorCode() in operator==() / operator!=() 2023-04-03 15:52:03 +00:00
testlib Testlib: fix the last few s/Q_OS_MAC/Q_OS_DARWIN/w 2023-03-20 19:18:52 +01:00
tools Add description to cmake_automoc_parse 2023-04-03 12:41:14 +02:00
widgets Widgets/Styles: pass correct style option struct to subelements 2023-04-04 19:23:37 +02:00
xml Move streambookmarks example into corelibe/serialization 2023-03-31 13:26:42 +02:00
CMakeLists.txt Move CTF tracing plugin to plugins directory 2023-03-21 10:06:32 +02:00