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.5
Change-Id: Ie3d341fb8f18a7341d018f51947127ace941a620
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit a8118caad6bec23699fbfd007fa1c0ba45d79277)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-11-06 12:41:15 +01:00 committed by Qt Cherry-pick Bot
parent 457e6f8b19
commit 8e437b7bcb

View File

@ -6,6 +6,7 @@
#include <qpa/qplatformintegration.h>
#include <private/qtguiglobal_p.h>
#include <QtCore/qhash.h>
#include <QtCore/qmutex.h>
#include <screen/screen.h>
@ -39,8 +40,7 @@ class QQnxButtonEventNotifier;
class QQnxClipboard;
#endif
template<class K, class V> class QHash;
typedef QHash<screen_window_t, QWindow *> QQnxWindowMapper;
using QQnxWindowMapper = QHash<screen_window_t, QWindow *>;
class QQnxIntegration : public QPlatformIntegration
{