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

Change in the Scene Graph broke QmlDesigner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.2.1
    • Quick: SceneGraph
    • None
    • b9f74e7467f31b63bd0ff2ae9d66bcd61a8b8b6f

    Description

      Change e13547c595913c58e6bd6a5ed80fdc729fae7d47 change the raw pointer to a scope pointer.

      But this part is always asserting because s_renderLoopInstance is always true.

      void QSGRenderLoop::setInstance(QSGRenderLoop *instance)
      {
          Q_ASSERT(!s_renderLoopInstance);
          s_renderLoopInstance->reset(instance);
      }
      

      Change it to:

      void QSGRenderLoop::setInstance(QSGRenderLoop *instance)
      {
          Q_ASSERT(s_renderLoopInstance->isNull());
          s_renderLoopInstance->reset(instance);
      }
      

      fixing the problem.

      Attachments

        For Gerrit Dashboard: QTBUG-36932
        # Subject Branch Project Status CR V

        Activity

          People

            sletta Gunnar Sletta
            bubke Marco Bubke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes