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

Screen change signal cannot be detected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.15
    • QPA: EGLFS
    • None

    Description

      the below code will not be triggered.

          QObject::connect(&app, &QGuiApplication::screenAdded, [](QScreen *screen){
              qDebug()<< "screenAdded";
          });
          QObject::connect(&app, &QGuiApplication::screenRemoved, [](QScreen *screen){
              qDebug()<< "screenRemoved";
          });
      

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes