Create Qt Interface Framework projects | Qt Creator Documentation

- Qt Creator Documentation
- Create Qt Interface Framework projects
- Qt Creator 18.0.2

Create Nimble projects ◦ Create Qt Quick Applications

# Create Qt Interface Framework projects

Use the Qt Interface Framework tools and core APIs to implement middleware APIs, backends, and services. With the Qt Interface Framework Generator, you can use the QFace interface definition language (IDL) to define new APIs and generate Qt C++ classes and QML types.

Qt Interface Framework consists of:

- The core module, which has base classes and common code for all APIs that you create.
- A front-end API for a feature.
- A backend interface for the feature, and one or more backends that implement it to connect to either the underlying service or to a simulation of it.

To make it possible to reuse code from previous projects, while incorporating code developed by many teams, Qt Interface Framework feature APIs are split into two layers: a frontend and a backend. You can connect one frontend to many backends, as the core module makes it easy to find the corresponding backend.

To create a Qt Interface Framework project for a feature with a frontend and a backend:

1. Go to File > New Project > Other Project, and select Qt Interface Framework Project.
2. Specify the name and location of the application.
3. Select Next.
4. In Project name, type the name of the project.

5. In Interface name, type the name of the interface that describes the data to exchange between the frontend and backend of the feature.
6. Select Add sample code to the project to generate boilerplate code for the project.
7. Select Generate a zoned interface to create a single API for many points, such as operating the windows, mirrors, and air-conditioning of a car.
8. In Backend setup, select options for generating the backend.
9. Select Next to select a kit for building and running the project.
10. Select Next to create the project.

Change the boilerplate code in the project to implement a feature.

See also How To: Create Projects.

Create Nimble projects ◦ Create Qt Quick Applications