Import modules | Qt Creator Documentation

- Qt Creator Documentation
- Import modules
- Qt Creator 19.0.0

Create shapes ◦ Insert UI controls

# Import modules

When you create projects, the wizard imports the Qt modules typically needed in such projects. For example, a Qt Quick application project contains basic components and UI controls.

To view the list of available modules, select . Most commonly used modules are placed at the top of the list in alphabetical order. You can search for components and modules by entering search criteria in the Search field.

Select the module to add it to Components.

This adds an import statement to the component code that you can see in the Code view or Edit mode. For example, if you add the QtQuick.Controls module, the following import statement is added to the code: `import QtQuick.Controls`.

Because the added components and modules are packaged with your UI into the final application package, it is recommended that you select Remove Module to remove the ones you don't use in the project.

See also How to: Use UI components, Qt Quick UI design, and Designing Qt Quick UIs.

Create shapes ◦ Insert UI controls