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

macOS: Cannot create window when screen is in sleep state (no screens)

    XMLWordPrintable

Details

    Description

      If laptop monitor is in sleep state and application starts it crashes with following message:

      "Cannot create window: no screens available"

      Attached example can be used to see the crash on terminal if started like this:

      sleep 10 && ./screentest

      Attachments

        1. qtbug79840.zip
          3 kB
          Irfan Omair
        2. qtdiag.rtf
          8 kB
          Irfan Omair

        Activity

          People

            vestbo Tor Arne Vestbø
            irfan.omair@digia.com Irfan Omair
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: