From 22c5ee283d275d03e86250ed214ac91868b8de26 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 25 Mar 2014 23:13:21 +0100 Subject: [PATCH] Use the raster rendering engine by default on OSX Seems like using the raster engine fixes performance issues on OSX, and there seem to be no noticeable side-effects compared to native rendering. So let's use this by default. If you notice issues, please let us know. Also, you can always enforce native rendering via command line: open Quassel\ Client.app -W --args -graphicssystem native Thanks to rikai for figuring this out! --- src/common/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/main.cpp b/src/common/main.cpp index 149167cf..d3813816 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -57,6 +57,11 @@ int main(int argc, char **argv) QCoreApplication::setOrganizationName(Quassel::buildInfo().organizationName); QCoreApplication::setOrganizationDomain(Quassel::buildInfo().organizationDomain); + // on OSX with Qt4, raster seems to fix performance issues +#if QT_VERSION < 0x050000 && defined Q_OS_MAC && !defined BUILD_CORE + QApplication::setGraphicsSystem("raster"); +#endif + AbstractCliParser *cliParser; #ifdef HAVE_KDE -- 2.20.1