Ticket #46536: load_testability_from_env_var.patch
File load_testability_from_env_var.patch, 593 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/src/gui/kernel/qguiapplication.cpp
Description: load testability from environment variable Author: Thomi Richards <thomi.richards@canonical.com> Forwarded: https://bugreports.qt-project.org/browse/QTBUG-32974
1273 1273 argc = j; 1274 1274 } 1275 1275 1276 if (qgetenv("QT_LOAD_TESTABILITY").toInt() > 0) 1277 loadTestability = true; 1278 1276 1279 #if defined(QT_DEBUG) && defined(Q_OS_LINUX) 1277 1280 if (!doGrabUnderDebugger && !QGuiApplicationPrivate::noGrab && runningUnderDebugger()) { 1278 1281 QGuiApplicationPrivate::noGrab = true;