From 17272643257f5a1f8577b0d92018422c38c77d76 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Mon, 9 Nov 2015 13:39:10 +0100 Subject: [PATCH] Removed obsolete setGraphicsSystem call (may break functionality; if so, use QPA framework) --- src/core/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/main.cpp b/src/core/main.cpp index a1634b7f..3cd783f8 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -95,11 +95,15 @@ int main(int argc, char *argv[]) qInstallMessageHandler(ub_message_output); + + /* + * setGraphicsSystem is obsolete in Qt5, made redundant by the QPA framework. + * TODO: check if this works ok, if not, explore how to use QPA framework #if defined(Q_OS_LINUX) qDebug() << "Setting GraphicsSystem to raster"; QApplication::setGraphicsSystem("raster"); #endif - + */ UBApplication app("OpenBoard", argc, argv); QStringList args = app.arguments();