diff --git a/src/gui/kernel/qplatformscreen_qpa.cpp b/src/gui/kernel/qplatformscreen_qpa.cpp index ae1c6dcf06..8fb42595b8 100644 --- a/src/gui/kernel/qplatformscreen_qpa.cpp +++ b/src/gui/kernel/qplatformscreen_qpa.cpp @@ -46,8 +46,9 @@ #include #include -struct QPlatformScreenPrivate +class QPlatformScreenPrivate { +public: QScreen *screen; };