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
    
     
    12731273        argc = j;
    12741274    }
    12751275
     1276    if (qgetenv("QT_LOAD_TESTABILITY").toInt() > 0)
     1277        loadTestability = true;
     1278
    12761279#if defined(QT_DEBUG) && defined(Q_OS_LINUX)
    12771280    if (!doGrabUnderDebugger && !QGuiApplicationPrivate::noGrab && runningUnderDebugger()) {
    12781281        QGuiApplicationPrivate::noGrab = true;