/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
# ifdef WITH_OXYGEN
Q_INIT_RESOURCE(oxygen);
# endif
+# ifdef WITH_BREEZE
+ Q_INIT_RESOURCE(breeze);
+# endif
+# ifdef WITH_BREEZE_DARK
+ Q_INIT_RESOURCE(breezedark);
+# endif
# endif
#endif
}
#endif
-# if defined BUILD_CORE
+#if defined BUILD_CORE
CoreApplication app(argc, argv);
-# elif defined BUILD_QTUI
+#elif defined BUILD_QTUI
+# if QT_VERSION >= 0x050600
+ QtUiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+# endif
QtUiApplication app(argc, argv);
-# elif defined BUILD_MONO
+#elif defined BUILD_MONO
+# if QT_VERSION >= 0x050600
+ MonolithicApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+# endif
MonolithicApplication app(argc, argv);
-# endif
+#endif
#ifndef HAVE_KDE4
// the non-KDE version parses after app has been instantiated