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

Locale enum requires QtQuick import

    XMLWordPrintable

    Details

    • Commits:
      8850e2eafaba8a6493d3ad5ab584b751eb9a8742

      Description

      Qt.locale() doesn't require QtQuick, so this enum shouldn't either:

      import QtQml 2.1
      
      QtObject {
          property var blah: Locale.LongFormat
      }
      

      ReferenceError: Locale is not defined

      This may affect other enums requiring QtQuick that have counterparts in QtQml.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes