Ticket #46496: 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
1256 1256 argc = j; 1257 1257 } 1258 1258 1259 if (qgetenv("QT_LOAD_TESTABILITY").toInt() > 0) 1260 loadTestability = true; 1261 1259 1262 #if defined(QT_DEBUG) && defined(Q_OS_LINUX) 1260 1263 if (!doGrabUnderDebugger && !QGuiApplicationPrivate::noGrab && runningUnderDebugger()) { 1261 1264 QGuiApplicationPrivate::noGrab = true;