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)

from Ubuntu

  • 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
    
     
    12561256        argc = j;
    12571257    }
    12581258
     1259    if (qgetenv("QT_LOAD_TESTABILITY").toInt() > 0)
     1260        loadTestability = true;
     1261
    12591262#if defined(QT_DEBUG) && defined(Q_OS_LINUX)
    12601263    if (!doGrabUnderDebugger && !QGuiApplicationPrivate::noGrab && runningUnderDebugger()) {
    12611264        QGuiApplicationPrivate::noGrab = true;