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

QmlCompiler generates bogus warning about internal conversion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2, 6.5, 6.6, 6.7.0 FF
    • 6.2.10, 6.5.3, 6.6.0
    • QML: Compiler
    • None
    • cebb3a732 (dev), 048c8f226 (dev), d0484963f (dev), 590a47bc0 (6.6), 047cd2fce (tqtc/lts-6.5), af4c37e66 (tqtc/lts-6.2)

    Description

      Since we can write to shadowable properties we apparently get interesting results in some cases. See attached project:

      ScaleConstraint.qml:10: (strict mode) Could not compile function markInputs: Cannot generate efficient code for internal conversion with incompatible or ambiguous types
      

      Either of the assignments alone works. Only in combination they cause problems.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes