Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20369

Qt Quick Designer's dummydata doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.6.0
    • Quick Designer
    • None

      I'm trying to follow http://doc.qt.io/qtcreator/creator-using-qt-quick-designer.html#loading-placeholder-data by providing a dummydata directory in the root of my project. My project's QML files are in a .qrc file, and I've tried having someModel.qml both in and out of the .qrc file to no effect.

      I also tried declaring the model at the same point that I assign it

              model: SomeModel {
                  someProperty: foo
              }
      

      and then creating SomeModel.qml, but that also didn't work.

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

            thohartm Thomas Hartmann
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes