Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44388

QXcbConnection::updateScreens accesses QGuiApplicationPrivate::platform_integration before it is constructed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.5.0 Beta
    • 5.5.0
    • QPA: X11/XCB
    • None
    • df39295f23c7d9ead8481a95b9c78caaff1e8bc8

    Description

      QXcbConnection::updateScreens accesses QGuiApplicationPrivate::platform_integration before it is constructed:

      QGuiApplication::init_platform (qguiapplication.cpp:1008):
      QGuiApplicationPrivate::platform_integration = QPlatformIntegrationFactory::create(name, arguments, argc, argv, platformPluginPath);

      QXcbIntegrationPlugin::create (qxcbmain.cpp:50):
      return new QXcbIntegration(parameters, argc, argv);

      QXcbIntegration::QXcbIntegration (qxcbintegration.cpp:166):
      m_connections << new QXcbConnection(m_nativeInterface.data(), m_canGrab, displayName);

      QXcbConnection::QXcbConnection (qxcbconnection.cpp:333):
      updateScreens();

      QXcbConnection::updateScreens (qxcbconnection.cpp:243):
      QXcbIntegration *integration = static_cast<QXcbIntegration *>(QGuiApplicationPrivate::platformIntegration());

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              smani Sandro Mani
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes