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

Make QtScript use strict type checking when invoking a slot

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • 4.3.4
    • Qt Script
    • None

    Description

      QtScript will allow a function to be called even if the type passed in doesn't match the one the function has a parameter. For example, a function can have an int parameter but it will also accept a string to be passed in.

      Due to the dynamic typing of QtScript, passing a string to a slot that takes an int is allowed. However, in a future release we may introduce a mode that tells QtScript to perform strict type checking.

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes