summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_private_includes/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_private_includes/main.cpp')
-rw-r--r--tests/auto/cmake/test_private_includes/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_private_includes/main.cpp b/tests/auto/cmake/test_private_includes/main.cpp
index 4f4457bfa1..3319688058 100644
--- a/tests/auto/cmake/test_private_includes/main.cpp
+++ b/tests/auto/cmake/test_private_includes/main.cpp
@@ -42,6 +42,7 @@
#include <QGuiApplication>
#include <QScreen>
#include <qpa/qplatformscreen.h>
+#include <QtGui/qpa/qplatformpixmap.h>
int main(int argc, char **argv)
{
@@ -50,5 +51,9 @@ int main(int argc, char **argv)
QPlatformScreen *screenHandle = app.screens().first()->handle();
screenHandle->geometry();
+ QPixmap pixmap;
+ QPlatformPixmap *pixmapHandle = pixmap.handle();
+ pixmapHandle->width();
+
return 0;
}