Qt 裸机是什么? [英] What is Qt Bare Metal?

查看:56
本文介绍了Qt 裸机是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

QtCreator 有一个名为Bare Metal"的插件.裸机是指没有操作系统的计算机.我对 Qt Bare Metal 开发的了解不多.这是为裸机系统开发 Qt 的一种方式吗?Qt 可以在没有操作系统的系统上运行吗?如果是,这种方法对嵌入式系统开发有什么好处?

QtCreator has a plugin named "Bare Metal". Bare Metal means a computer without an operating system. I have not seen much about Qt Bare Metal development. Is it a way to develop Qt for a bare metal system? Does Qt run on a system with no OS? If yes, what are the advantages of this approach for embedded system development?

推荐答案

这是为裸机系统开发 Qt 的一种方式吗?

Is it a way to develop Qt for a bare metal system?

没有.

Qt 是否可以在没有操作系统的系统上运行?

Does Qt run on a system with no OS?

没有.

Bare Metal 意味着您通常拥有几 KB 的 RAM 和 ROM.

Bare Metal means you usually have a few KB of RAM and ROM.

我认为您将 Qt(框架)与 QtCreator(IDE)混淆了.Tim Sander 在 2013 年的 Qt 开发者日这里清楚地解释了这一点.

I think you are confusing Qt (framework) with QtCreator (IDE). Tim Sander explains it clearly here at the Qt Developer Days in 2013.

此插件用于为此类平台开发小型软件,但不使用 Qt 框架本身.

This plugin is used for developing small software for such platforms, but without using the Qt framework itself.

换句话说,您仍然可以利用集成开发环境的通用功能.

In other words, you can still utilize the generic functionality of the Integrated Development Environment.

因此,它不是运行时辅助工具,而是开发和构建时间辅助工具.您仍然可以使用 qmake 为这种非常小的嵌入式环境构建二进制文件.

So, it is not a runtime aid, but development and build time helper. You can still use qmake for building binaries for such very small embedded environments.

这里你可以在官方文档中找到更多信息.

Here you can find more information in the official documentation.

这篇关于Qt 裸机是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆