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

It would be nice to be able to add root context property into QML TestCase

    XMLWordPrintable

    Details

    • Commits:
      c260d3062de83d7f051e531007771455915285e5

      Description

      If there is a QML TestCase, which imports a module, and this module contains C++ objects as context properties. Now, as the test cases are launched by calling QUICK_TEST_MAIN() there are no convenient way to set the needed context properties to the main() function.

        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:
                qtcomsupport Qt Support
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes