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

No signal "screenAdded"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15.2
    • QPA: X11/XCB
    • None
    • Ubuntu 18.04, Ubuntu 20.04
    • Linux/X11

      Hello.

      When I run the app with no display connected and then connect it. Or I launch the app with the display connected and then disconnect and reconnect it. For all of these cases, there is no "screenAdded" signal.

      This is a serious problem. For example, I want to defer the creation of a QML engine object until the display is connected. But I cannot do this because the "screenAdded" signal is not generated. When trying to create a QML engine object without a connected display, the application terminates, which is not acceptable for an embedded system. In addition, the processing of such completion will no longer be cross-platform.

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

            liaqi Liang Qi
            vladimir_sazonov Vladimir Sazonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes