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

Error QColor::fromRgbF: Alpha parameter out of range when running on Android 12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.3.2
    • Extras: Android, GUI: Other
    • None
    • Android build with kit Android arm64-v8a, macos host and Qt 6.3.2
    • Android

    Description

      Hello,

      we are having issues during our upgrade from Qt5 to Qt6 (6.3.2).

       

      One of them is this:
      When building our app for Android 12, I can see hundreds of lines of these errors:
      QColor::fromRgbF: Alpha parameter out of range

      The app is all black and unusable. I have not found a place where this comes from (nothing in our code calls QColor::fromRgbF API). Have you seen it previously?

      If I build for lower Android version (Android 9), these errors are not there.

       

      Do you have any clue why that can happen?

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            tomasmizera Tomas Mizera
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes