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

[Reg 6.4 -> 6.5] Qml Compiler doesn't use the correct type when calling an overloaded c++ function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.2, 6.5
    • 6.5.0
    • QML: Compiler
    • None
    • 70f2ef378 (6.5)

    Description

      something changed with the qml compiler from 6.4.3 to 6.5.0 that is causing the the qml compiler to use incorrect types when calling into overloaded c++ functions.

      It can be worked around by forcing the compiler to not compile that block of code, such as using a typeof variable statement.

      Attachments

        1. CMakeLists.txt
          0.9 kB
        2. main.cpp
          0.3 kB
        3. main.qml
          0.4 kB
        4. OverLoadQml.cpp
          0.3 kB
        5. OverLoadQml.h
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            norman.dubert Norman Dubert
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes