Qt for Symbian VS。用于 MeeGo 的 Qt
Qt for Symbian 和 Qt for MeeGo 有什么区别?我知道Qt是一个交叉编译平台。这是否意味着如果我使用 Qt 中的库,完全相同的库可以在所有支持 Qt 的设备(例如 Symbian、MeeGo)上运行?
例如:
QtDesktopServices 可以启动网络浏览器。尽管“桌面”这个名称对于移动设备来说很令人困惑,但我可以在每台支持 Qt 的设备上启动 Web 浏览器吗?如果我看看 MeeGo,MeeGo 用于不同类型的设备,例如车载、电视、媒体电话。
是否保证每个设备上都有网络浏览器?我不这么认为,这就是我问的原因。如果保证有浏览器,是哪种浏览器?它有哪些特点呢?我知道有WRT,但是这里有用户说WRT已经停止了。那么现在怎么办?
我必须在 Qt 4.7 和 Qt Mobility 1.0 之间进行选择吗?
What is the difference between Qt for Symbian and Qt for MeeGo? I know Qt is a cross-compiling platform. Does this mean that if I use a library from Qt the exact same library works on all devices which support Qt (e.g. Symbian, MeeGo)?
For example:
QtDesktopServices can launch a web browser. Despite the name 'Desktop' is confusing for mobile devices can I launch a web browser on every device which supports Qt? If I look at MeeGo, MeeGo is used for different kind of devices e.g. In-Vehicle, TV, media phone
Is it guaranteed that every device has a web browser on it? I don't think so and that's why I'm asking. If a browser is guaranteed, which browser is it? Which features does it have? I know there is WRT, but a user here stated that WRT has discontinued. So what now?
Do I have to choose between Qt 4.7 and Qt Mobility 1.0?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
leinir 所说的 - Qt Mobility 是一个为移动设备实现常见功能的模块。 Qt 的 API 在所有平台上都是相同的,尽管有一些特定于平台的函数(主要处理低级内容)。
虽然API(接口)相同,但实现当然可能不同。我建议查看 Qt 在线文档 - “特定于平台的开发”
根据 “平台说明 - Symbian”,Symbian 移植并不完整,并且缺少一些功能(例如“计划在未来版本中”支持 OpenGL,而打印可能永远不会被支持)。我非常确定 MeeGo/Maemo 版本支持 OpenGL ES,因为我见过基于 Qt 的应用程序使用它(诺基亚 N900 上的 Stellarium)。
What leinir said - Qt Mobility is a module that implements common features for mobile devices. Qt's API is the same on all platforms, though there are some platform-specific functions (mainly dealing with low-level stuff).
While the API (the interface) is the same, the implementation of course may be different. I suggest looking at the Qt online documentation - the pages linked under "Platform-specific Development"
According to "Platform notes - Symbian", the Symbian port is not complete and lacks some features (e.g. OpenGL support is "planned for a future release", while printing probably never will be supported). I'm pretty sure that the MeeGo/Maemo version supports OpenGL ES, as I've seen a Qt-based application using it (Stellarium on a Nokia N900).
QtMobility 是 Qt 的一个额外模块,它提供了一系列额外的功能,这些功能比其他 13 个左右的 Qt 模块更加深奥,但是当您按照您建议的方式构建应用程序时,这些功能非常有用。
所以不,您不能在 Qt 4.7 和 QtMobility 1.0 之间进行选择,因为您必须使用 Qt 才能使用额外的模块 QtMobility :)
浏览器将始终是系统上设置为默认浏览器的任何浏览器。因此,不,没有任何保证 - 例如,对于 Windows,您可能会有人使用 Firefox、Chrome、Internet Explorer 6 等。恐怕这就是平台集成的本质:)
QtMobility is an extra module for Qt, which provides a bunch of extra functionality which is more esoteric than the other 13 or so Qt modules, but functionality which is really useful when you are building applications the way you suggest.
So no, you don't choose between Qt 4.7 and QtMobility 1.0, because you have to use Qt to be able to use the extra module QtMobility :)
The browser will always be whatever is set up as the default browser on the system. So, no, there is no guarantees - for Windows, for example, you might have people using Firefox, Chrome, Internet Explorer 6 and many others. This is the nature of platform integration, i'm afraid :)