diff --git a/kaccess/main.cpp b/kaccess/main.cpp --- a/kaccess/main.cpp +++ b/kaccess/main.cpp @@ -41,6 +41,10 @@ KCmdLineArgs::init(argc, argv, &about); + //this application is currently only relevant on X, force to run under X + //note if someone does port this we still need to run kaccess under X for xwayland apps + setenv("QT_QPA_PLATFORM", "xcb", true); + if (!KAccessApp::start()) return 0;