Comment 7 for bug 1486341

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Annoyingly, in order to reliably set QML_NO_TOUCH_COMPRESSION, you have to do it in the parent process before unity8 or the Qt client is launched. Because it's only checked once on static initialization:

static bool qquickwindow_no_touch_compression = qEnvironmentVariableIsSet("QML_NO_TOUCH_COMPRESSION");

So whatever is launching unity8 (upstart job?) has to set QML_NO_TOUCH_COMPRESSION. And the same goes for Qt apps.