Details

    • 2a998f2b0 (dev), 0f23346d2 (dev), 19557d27f (6.6), b5416f193 (tqtc/lts-6.5), e365efbde (tqtc/lts-6.2), dcf2b44ff (tqtc/lts-6.2)

    Description

      Code

      import QtQuick
      
      Window {
          width: 640
          height: 480
          visible: true
          title: currentDate.getFullYear()
      
          readonly property date currentDate: new Date()
      }
      

       

      Compiler output

      Warning: main.qml:7:24: Could not compile binding for title: Cannot generate efficient code for call to untyped JavaScript function [compiler]
          title: currentDate.getFullYear()
                             ^^^^^^^^^^^
      Warning: main.qml:9:45: Could not compile binding for currentDate: Cannot generate efficient code for Construct [compiler]
          readonly property date currentDate: new Date()
                                                  ^^^^
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-111624
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes