Qt Quick和Qt Widgets怎么选型
迪丽瓦拉
2024-05-10 00:23:10
0

当我们在开发一个应用时,经常发愁Qt Quick和Qt Widgets该如何选,Qt Quick界面比较优美,而Qt Widgets设计的界面更加原始,实现好看的UI会麻烦一些。

那我们看看官方给出的决策方案:

If your applications:

如果你的程序

If your applications:

如果你的程序

  • Are prototyped using short cycles.短周期进行原型制作

  • Run on mobile or embedded devices or MCUs.在移动或嵌入式设备或 MCU 上运行

  • Work on touch screens.在触摸屏上工作。

  • Contain animation and graphical effects.包含动画和图形效果。

  • Are large standard industry type applications.是大型标准行业类型的应用程序。

  • Run on the desktop only.只能在桌面上运行。

  • Look like native Linux, macOS, and Windows applications.起来像本地 Linux、 macOS 和 Windows 应用程序

  • Integrate well into the underlying platform.很好地集成到底层平台中。

We recommend using Qt Quick.我们建议使用Qt Quick

We recommend using Qt Widgets.我们建议使用Qt Widgets

相关内容