0

http://doc.qt.io/qt-5/qtqml-qmlmodule.html

QtQml and QtQuick seem to be different things that's why there are two separate import statements.

import QtQml 2.2
import QtQuick 2.3

What are the differences between QtQml and QtQuick, and in which real life cases should each of them be used?

Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411

1 Answers1

10

From Qt Documentation

Note that while the Qt QML module provides the language and infrastructure for QML applications, the Qt Quick module provides many visual components, model-view support, an animation framework, and much more for building user interfaces.

So QtQML provides basic infrastructure, while QtQuick provides UI Components.

Also found this from docs.

Most clients will never need to use the QtQml import, as all of the types are also provided by the QtQuick namespace which may be imported as follows:

Kunal
  • 3,475
  • 21
  • 14