Skip to content
Snippets Groups Projects

qt: terminate the application on scene graph error in CompositorDirectComposition

  1. Nov 23, 2024
    • Fatih Uzunoğlu's avatar
      qt: terminate the application on scene graph error in CompositorDirectComposition · b01a8797
      Fatih Uzunoğlu authored and Steve Lhomme's avatar Steve Lhomme committed
      When scene graph encounters an error, we are already past the latest stage where
      recovery is possible. The interface remains nonfunctional in this case, thus the
      application must be terminated. This is already done by Qt itself when the signal
      is not connected, but in this case we connect to the signal to let the waiting
      video thread continue and to print the error.
      
      Note that "If a signal is connected to several slots, the slots are activated in
      the same order in which the connections were made". So, in this case exit is going
      to be called after the error is printed, which is the intended behavior.
      b01a8797
Loading