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.10.0~4 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=70759a2dfba46559690f37c82c40ea8c92b0eb4f;p=quassel.git 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 b026d47a..417ecff5 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -60,6 +60,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