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

QScreen::name() returns an empty string on BlackBerry 10 / QNX for all screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.3.0 RC1
    • 5.2.0 Beta1
    • None
    • Mac OS X 10.8, BlackBerry 10 NDK 10.2 Gold, Qt 5.2.0 build from stable
    • QNX
    • b1ced801d976b0dc95fbd28bff830a65e10e7870

    Description

      The following app does print screen names on BB10, whereas the same code even prints the names mapped to the attached monitor.

      int main(int argc, char **argv)
      {
          typedef QList<WindowPtr> WindowList;
      
          QGuiApplication app(argc, argv);
      
          QList<QScreen*> screenList = app.screens();
          qDebug() << screenList.size() << "screens";
      
          for (int i= 0; i < screenList.size(); ++i) {
              QScreen *screen =  screenList.at(i);
              qDebug() << "Attached screen name: " << screen->name();
          }
      }
      

      Attachments

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

        Activity

          People

            bomb3rman Fabian Bumberger
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes