QQmlImportNamespace Class

Header: #include <QQmlImportNamespace>

Detailed Description

\internal

A QQmlImportNamespace is a way of seperating imports into a local namespace.

Within a QML document, there is at least one namespace (the "unqualified set") where imports without a qualifier are placed, i.e:

import QtQuick 2.6

will have a single namespace (the unqualified set) containing a single import for QtQuick 2.6. However, there may be others if an import statement gives a qualifier, i.e the following will result in an additional new QQmlImportNamespace in the qualified set:

import MyFoo 1.0 as Foo