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

Make QtScript use strict type checking when invoking a slot

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes