diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-23 17:11:58 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-30 08:53:32 +0100 |
commit | 6e1d66c92d0b175945dad73a5ebada1e5aa4ad9b (patch) | |
tree | 3d462dc56a2005ed9f040de9553cb87246037fed /src/shared | |
parent | 6bb016e881afddea4d256a65e9008ce0e1b87001 (diff) | |
download | qttools-6e1d66c92d0b175945dad73a5ebada1e5aa4ad9b.tar.gz |
Qt Designer: Remove Q_DECLARE_METATYPE(QtIconMap)
It causes clashes with qmetatype.h's
Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE(QMap) in CMake Unity (Jumbo)
builds and is reportedly unnecessary.
See https://lists.qt-project.org/pipermail/development/2022-July/042744.html
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: Ie8fae63cccb87da9152cfc4d1be5cc4068407a34
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/qtpropertybrowser/qtvariantproperty.cpp | 2 | ||||
-rw-r--r-- | src/shared/qtpropertybrowser/qtvariantproperty.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/qtpropertybrowser/qtvariantproperty.cpp b/src/shared/qtpropertybrowser/qtvariantproperty.cpp index 3225ccd4b..08e571cac 100644 --- a/src/shared/qtpropertybrowser/qtvariantproperty.cpp +++ b/src/shared/qtpropertybrowser/qtvariantproperty.cpp @@ -17,6 +17,8 @@ QT_BEGIN_NAMESPACE +using QtIconMap = QMap<int, QIcon>; + class QtEnumPropertyType { }; diff --git a/src/shared/qtpropertybrowser/qtvariantproperty.h b/src/shared/qtpropertybrowser/qtvariantproperty.h index 464184f8c..22682439b 100644 --- a/src/shared/qtpropertybrowser/qtvariantproperty.h +++ b/src/shared/qtpropertybrowser/qtvariantproperty.h @@ -12,8 +12,6 @@ QT_BEGIN_NAMESPACE class QRegularExpression; -typedef QMap<int, QIcon> QtIconMap; - class QtVariantPropertyManager; class QtVariantProperty : public QtProperty @@ -136,6 +134,4 @@ private: QT_END_NAMESPACE -Q_DECLARE_METATYPE(QIcon) -Q_DECLARE_METATYPE(QtIconMap) #endif |