summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-05-03 22:39:03 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-05-03 22:39:03 (GMT)
commitb4624855cf9cb5ea3f3d8bb2cb510cfa4e0e9076 (patch)
treeeecbb66007a23109f39a565b93771d349c3e48ee /src/plugins/gfxdrivers
parent893b73211c822da5e4cb1dcb5946ec58fc0c8dc6 (diff)
downloadQt-b4624855cf9cb5ea3f3d8bb2cb510cfa4e0e9076.zip
Qt-b4624855cf9cb5ea3f3d8bb2cb510cfa4e0e9076.tar.gz
Qt-b4624855cf9cb5ea3f3d8bb2cb510cfa4e0e9076.tar.bz2
PowerVR screen driver using undefined symbols
The PowerVR screen driver was using QTransformedScreen::tranformation() which is in a class that is Q_AUTOTEST_EXPORT. That means that it would only work with a developer build. This contributed patch changes it to QScreen::transformOrientation() instead which is Q_GUI_EXPORT. Task-number: QTBUG-10193 Reviewed-by: Lorn Potter
Diffstat (limited to 'src/plugins/gfxdrivers')
-rw-r--r--src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
index 964fa53..9de2a34 100644
--- a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
+++ b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp
@@ -259,7 +259,7 @@ int PvrEglScreen::transformation() const
if (parent->classId() != QScreen::TransformedClass)
return 0;
return 90 * static_cast<const QTransformedScreen *>(parent)
- ->transformation();
+ ->transformOrientation();
}
#else