From 379b7d32d1f388fcd987afacd44446d4b89d3107 Mon Sep 17 00:00:00 2001 From: dismine Date: Fri, 7 Feb 2014 18:12:18 +0200 Subject: [PATCH] Q_INIT_RESOURCE macro. --HG-- branch : develop --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 6bc343bc2..96780ac90 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -60,6 +60,11 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QS int main(int argc, char *argv[]) { + Q_INIT_RESOURCE(cursor); + Q_INIT_RESOURCE(icon); + Q_INIT_RESOURCE(schema); + Q_INIT_RESOURCE(theme); + qInstallMessageHandler(myMessageOutput); VApplication app(argc, argv);