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

Qt3D color handling out of date

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.5
    • 5.12.3
    • Qt3D
    • None

    Description

      The following example demonstrates. Both hslLightness and Qt.hsva() cease to function correctly once the Qt3D import is included.

      import QtQuick 2.0
      //import Qt3D.Core 2.0 // uncomment to see errors
      
      Item {
          property color myColor: "red"
      
          Component.onCompleted: {
              console.log(myColor.hslLightness)
              myColor = Qt.hsva(1,0,1,1)
          }
      }
      

      The Qt3D color handling code should be updated to match the latest QtQuick code, so behavior is identical.

      Attachments

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

        Activity

          People

            mbrasser Michael Brasser
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes