Nominate our 2022 Qt Champions!

Qt on Android notch / cutout support

  • I'm using the following to get rid of the notch / cutout on Qt 5.14.2:

    <?xml version="1.0" encoding="utf-8"?>
        <style name="theme" parent="@android:style/Theme.DeviceDefault.NoActionBar">
            <item name="android:statusBarColor">#323232</item>
            <!-- NOTE: The following is required to avoid the notch in full screen. -->
            <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

    It's working fine when I'm in full screen and I get edge to edge display. Unfortunately when I'm not in full screen I get an ugly white bar on the left like so:


    Is there a way to paint on that surface, or at least have it black ?

Log in to reply