Summary
小结
In this chapter we've scratched the surface of Qt for MCUs and Qt Quick Ultralite. These technologies brings Qt to much smaller platforms and make it truly embeddable. Through-out this chapter, we've used the virtual desktop target, which allows for quick prototyping. Targetting a specific board is just as easy, but requires access to hardware and the associated tools.
在本章中,我们已经为Qt for MCUs和Qt Quick Ultralite揭开了面纱。这些技术将Qt引入更小的平台,使其真正可嵌入。在本章中,我们使用了虚拟桌面目标,它允许快速原型化。瞄准特定的电路板同样容易,但需要访问硬件和相关工具。
Key take-aways from using Qt Quick Ultralite is that there are fewer built in elements, and that some APIs are slightly more restricted. But given the intended target systems, this is usually not a hinderance. Qt Quick Ultralite also turns QML into a compiled language, which actually is nice. It allows you to catch more errors during compile time, instead of having to test more during run time.
使用Qt Quick Ultralite的关键好处是内置元素较少,而且一些API受到的限制也稍大一些。但考虑到预定的目标系统,这通常不是障碍。Qt Quick Ultralite还将QML转换为编译语言,这实际上很好。它允许您在编译时捕获更多错误,而不必在运行时测试更多错误。