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

Crash with any QML app on external display with iPadOS 16.1 on M1 iPad

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • dd49793bc (dev), 0d26ee8ea (tqtc/lts-6.2), 11ed1f643 (6.5), 418dcb367 (6.4), ffdfafc4b (dev), df3a93cd8 (tqtc/lts-6.2), ca30c9356 (6.5)

    Description

      Any Qt app using QQmlApplicationEngine (tested with Qt 5.15.10 or Qt 6.3) that is built for iPadOS 16.1 using Xcode 14.0 crashes when launched on the external display.

      How to reproduce
      1. Build qtbug106701-ExtDisplay-iPadOS16.zip on a Mac with Xcode 14 installed, and deploy it to an iPad Pro M1 or iPad Air M1 with iPadOS 16.1 beta or later.
      2. Connect an external display to the M1 iPad.
      3. Connect a Bluetooth mouse to the iPad, so that you can navigate on both screens.
      4. Go to Settings, Display & Brightness, Arrangement, and disable "Mirror Display" so that you get an extended desktop on the external display.
      5. Using the mouse, launch the app on the external display. To do this, click the Launcher (list of all apps) icon in the dock on the external display, then click the app's icon.

      Result: Crash due to qassert in qglobal.cpp:3383 (message: "Screen connected before QIOSIntegration creation").

      Workaround: Launch the app on the iPad's screen, then tap the top center "..." button and tap "Move to Display".

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              nagrohn Nahomi Gröhn (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: