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

Broken example code in QDeclarativeContext docs

XMLWordPrintable

    • 59d36ea601aef6182cba0e0f5fc56cc102e29c59

      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());
      

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes