From ec0f8082b2a284f86ab44e016bc5991c38667a6a Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 18 Oct 2016 13:53:31 +0200 Subject: [PATCH] support more Qt options --- src/App/Application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 3a86a8c69dab..3b57e3413fae 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1600,6 +1600,10 @@ pair customSyntax(const string& s) return make_pair(string("display"), string("null")); else if (s.find("-style") == 0) return make_pair(string("style"), string("null")); + else if (s.find("-graphicssystem") == 0) + return make_pair(string("graphicssystem"), string("null")); + else if (s.find("-widgetcount") == 0) + return make_pair(string("widgetcount"), string("")); else if (s.find("-geometry") == 0) return make_pair(string("geometry"), string("null")); else if (s.find("-font") == 0) @@ -1690,6 +1694,8 @@ void Application::ParseOptions(int ac, char ** av) ("stylesheet", boost::program_options::value< string >(), "set the application stylesheet") ("session", boost::program_options::value< string >(), "restore the application from an earlier session") ("reverse", "set the application's layout direction from right to left") + ("widgetcount", "print debug messages about widgets") + ("graphicssystem", boost::program_options::value< string >(), "backend to be used for on-screen widgets and pixmaps") ("display", boost::program_options::value< string >(), "set the X-Server") ("geometry ", boost::program_options::value< string >(), "set the X-Window geometry") ("font", boost::program_options::value< string >(), "set the X-Window font")