Important: Please read the Qt Code of Conduct -

Qt Creator doesn't found QtQml.Models 2.1

  • Greetings!
    I'm using Qt 5.2.1 and Qt 5.3,1 distributions with QtCreator under windows 8.

    Now I'm trying to import QtQml.Models 2.1 to use ObjectModel, but have encountered a problem: QtCreator doesn't found QtQml.Models 2.1. Moreover, when I'm typing 'import Qt' and pressing 'ctrl+space', it suggest all possible modules to import EXCEPT QtQml at all!

    I have noticed that QtQml/Models.2 folder does not contain 'plugins.qmltypes' file. I guess, it can be a reason. But how should I get that file? I've tried qml1plugindump utility, but failed with "QDeclarativeComponent: Component is not ready".

    There is same issue:
    Unfortunately, I cannot use VisualStudio.
    I hope, it should work in QtCreator, but how?

Log in to reply