summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-01-14 07:03:22 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-01-14 07:03:22 (GMT)
commitcf8c14da45187081c50b3b7f2e6e4df4068e8728 (patch)
tree40144f4231cf6f8eb488863aff59843343963c8c /tools
parent9189640d5f2fada6051735e8ba699beb9435382b (diff)
downloadQt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.zip
Qt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.tar.gz
Qt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.tar.bz2
Only force graphicssystem raster on X11
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlviewer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp
index d1ee733..8a5efa3 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -126,6 +126,7 @@ int main(int argc, char ** argv)
qInstallMsgHandler(myMessageOutput);
#endif
+#if defined (Q_WS_X11)
//### default to using raster graphics backend for now
bool gsSpecified = false;
for (int i = 0; i < argc; ++i) {
@@ -136,7 +137,6 @@ int main(int argc, char ** argv)
}
}
-#if !defined (Q_OS_SYMBIAN)
if (!gsSpecified)
QApplication::setGraphicsSystem("raster");
#endif