Commit 1d7a7500 authored by Volker Krause's avatar Volker Krause

QtWebEngine supports Wayland starting with Qt 5.9

parent e217db81
......@@ -60,7 +60,7 @@ int KAddressBookApplication::activate(const QStringList &arguments, const QStrin
int main(int argc, char **argv)
{
//Fix QtWebEngine + wayland
#ifdef Q_OS_UNIX
#if defined(Q_OS_UNIX) && QT_VERSION < QT_VERSION_CHECK(5, 9, 0)
qputenv("QT_QPA_PLATFORM", "xcb");
#endif
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment