ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Qt6 QML Book/Qt Creator IDE/项目管理

2021-12-07 20:32:59  阅读:202  来源: 互联网

标签:Qt6 Qt Creator c++ Widgets 应用程序 Quick QML


Managing Projects

项目管理

Qt Creator manages your source code in projects. You can create a new project by using File ‣ New File or Project. When you create a project you have many choices of application templates. Qt Creator is capable of creating desktop, embedded, mobile applications and even python projects using Qt for Python. There are templates for applications which uses Widgets or Qt Quick or even bare-bone projects just using a console. For a beginner, it is difficult to choose, so we pick three project types for you.

Qt Creator管理项目中的源码。可以通过文件(File)>“新建文件或项目(New File or Project)”创建新项目。创建项目时,可以使用多种应用程序模板。Qt Creator可以创建桌面、嵌入式、移动应用程序,甚至python项目(Qt for python)。有些应用程序模板使用widget或Qt Quick,甚至是控制台项目。对初学者来说,选择有点困难,所以我们挑选了几种项目类型介绍下。

  • Other Project / QtQuick UI Prototype: Great for playing around with QML as there is no C++ build step involved. Mostly suitable for prototyping only.

  • 其他项目/ QtQuick UI原型:非常适合仅用QML,因为不涉及c++构建。主要用于原型制作。

  • Applications (Qt Quick) / Qt Quick Application (Empty): Creates a bare C++ project with cmake support and a QML main document to render an empty window. This is the typical default starting point for all native QML application.

  • 应用程序(Qt Quick)/ Qt Quick应用程序(空):创建一个c++与cmake支持的项目,载入QML主文件渲染一个空窗口。这是所有本地QML应用程序的经典起始程序。

  • Libraries / Qt Quick 2.0 Extension Plug-in: Use this wizard to create a stub for a plug-in for your Qt Quick UI. A plug-in is used to extend Qt Quick with native elements. This is ideally to create a re-usable Qt Quick library.

  • 库/ Qt Quick 2.0扩展插件:使用此向导创建Qt Quick UI插件。这个插件用于使用本地元素扩展Qt Quick。可以创建可重用Qt Quick库。

  • Applications (Qt) / Qt Widgets Application: Creates a starting point for a desktop application using Qt Widgets. This would be your starting point if you plan to create a traditional C++ widgets based application.

  • 应用程序(Qt) / Qt Widgets应用程序:创建一个Qt Widgets桌面应用程序。可用于开发基于c++经典窗体的应用程序。

  • Applications (Qt) / Qt Console Application: Creates a starting point for a desktop application without any user interface. This would be your starting point if you plan to create a traditional C++ command line tool using Qt C++.

  • 应用程序(Qt) / Qt Widgets应用程序:创建一个Qt Widgets桌面应用程序。可用于开发基于c++经典窗体的应用程序。

TIP

During the first parts of the book, we will mainly use the QtQuick UI Prototype type or the Qt Quick Application, depending on whether we also use some C++ code with Qt Quick. Later to describe some c++ aspects we will use the Qt Console Application type. For extending Qt Quick with our own native plug-ins we will use the Qt Quick 2.0 Extension Plug-in wizard type.

在本书的第一部分,我们将使用QtQuick UI原型类型或QtQuick应用程序,根据是否使用c++代码。然后使用Qt控制台应用程序类型,介绍一些c++方面知识。为了使用本地扩展插件,我们将使用Qt Quick 2.0扩展插件向导类型。

标签:Qt6,Qt,Creator,c++,Widgets,应用程序,Quick,QML
来源: https://blog.csdn.net/aggs1990/article/details/121777059

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有