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

Broken example code in QDeclarativeContext docs

    XMLWordPrintable

Details

    • 59d36ea601aef6182cba0e0f5fc56cc102e29c59

    Description

      Example code was not updated when the API changed. They use

      QDeclarativeComponent component(&engine, "ListView { model=myModel }");
      

      instead of

          QDeclarativeComponent component(&engine);
          component.setData("import Qt 4.7\nListView { model: myModel }", QUrl());
      

      Attachments

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

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes