summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/transformed
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-19 13:55:38 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 17:00:10 +0100
commit6eb1faad9511dde6ab31b9a4f75fce0bdfbdc12c (patch)
treebdfea038c1d37340946c3986eb405f9ce48eae44 /src/plugins/gfxdrivers/transformed
parente55810dc838e95c60a275f1ea3be3bb6bb93fb83 (diff)
Fixed MENU and QWS_PROXYSCREEN
Reviewed-by: tom
Diffstat (limited to 'src/plugins/gfxdrivers/transformed')
-rw-r--r--src/plugins/gfxdrivers/transformed/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/transformed/main.cpp b/src/plugins/gfxdrivers/transformed/main.cpp
index 982882ea5b..859fd4999e 100644
--- a/src/plugins/gfxdrivers/transformed/main.cpp
+++ b/src/plugins/gfxdrivers/transformed/main.cpp
@@ -68,9 +68,12 @@ QStringList GfxTransformedDriver::keys() const
QScreen* GfxTransformedDriver::create(const QString& driver, int displayId)
{
+#ifndef QT_NO_QWS_TRANSFORMED
if (driver.toLower() == "transformed")
return new QTransformedScreen(displayId);
-
+#else //QT_NO_QWS_TRANSFORMED
+ printf("QT buildt with QT_NO_QWS_TRANSFORMED. No screen driver returned\n");
+#endif //QT_NO_QWS_TRANSFORMED
return 0;
}