Rex Dieter wrote:
Can applications will known hard-coded dependencies on X11 force the
use
of xcb at runtime (without command-line switches or environment
variables)?
Change:
new QGuiApplication(argc, argv);
to something like:
int argcx = argc + 2;
char **argvx = new char*[argcx];
std::memcpy(argvx, argv, argc * sizeof(char *));
argvx[argc] = const_cast<char *>("-platform");
argvx[argc + 1] = const_cast<char *>("xcb");
new QGuiApplication(argcx, argvx);
Kevin Kofler