From: Manuel Nickschas Date: Tue, 25 Mar 2014 22:13:21 +0000 (+0100) Subject: Use the raster rendering engine by default on OSX X-Git-Tag: 0.11.0~55 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=22c5ee283d275d03e86250ed214ac91868b8de26 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! --- 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