diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-14 07:03:22 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-14 07:03:22 (GMT) |
commit | cf8c14da45187081c50b3b7f2e6e4df4068e8728 (patch) | |
tree | 40144f4231cf6f8eb488863aff59843343963c8c /tools/qmlviewer/main.cpp | |
parent | 9189640d5f2fada6051735e8ba699beb9435382b (diff) | |
download | Qt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.zip Qt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.tar.gz Qt-cf8c14da45187081c50b3b7f2e6e4df4068e8728.tar.bz2 |
Only force graphicssystem raster on X11
Diffstat (limited to 'tools/qmlviewer/main.cpp')
-rw-r--r-- | tools/qmlviewer/main.cpp | 2 |
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 |