QtCreator 新项目 Qt Quick Controls vs. Qt Quick

QtCreator new project Qt Quick Controls vs. Qt Quick

我想在 Qt Creator 中创建新的 Qt Quick 项目,我在向导中按了 New project、selected 应用程序名称和位置,但我在向导的下一步中感到困惑 ( Qt Quick 组件选择),如屏幕截图所示:

我应该 select、Qt Quick Controls 1.3Qt Quick 2.4 哪个集合?它们有什么区别?

Qt 文档中有说明:

In the Qt Quick component set field, select the component set to use for the project. The Qt Quick imports enable you to use the basic QML types to create user interfaces, whereas the Qt Quick Controls provide a set of ready-made controls that you can customize by using Qt Quick Controls Styles

所以这只是指定了模块的主要导入。您可以稍后在代码中添加其他导入,例如 Qt Quick Dialogs 或 Qt Quick Layouts。