From a8118caad6bec23699fbfd007fa1c0ba45d79277 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 6 Nov 2023 12:41:15 +0100 Subject: [PATCH] Remove forward declared QHash Fixes the complication issue since the typedef was used as class member. Replace the typedef with using statement. Fixes: QTBUG-118627 Pick-to: 6.6 6.5 Change-Id: Ie3d341fb8f18a7341d018f51947127ace941a620 Reviewed-by: James McDonnell Reviewed-by: Ivan Solovev --- src/plugins/platforms/qnx/qqnxintegration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h index 590b9450c2..f126300aed 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.h +++ b/src/plugins/platforms/qnx/qqnxintegration.h @@ -6,6 +6,7 @@ #include #include +#include #include #include @@ -39,8 +40,7 @@ class QQnxButtonEventNotifier; class QQnxClipboard; #endif -template class QHash; -typedef QHash QQnxWindowMapper; +using QQnxWindowMapper = QHash; class QQnxIntegration : public QPlatformIntegration {