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 <jmcdonnell@blackberry.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Alexey Edelev 2023-11-06 12:41:15 +01:00
parent be55fbede9
commit a8118caad6

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
{