Qt:如何为 Symbian 设备构建 QML 应用程序?

发布于 2024-09-27 16:35:22 字数 373 浏览 5 评论 0原文

我对 Qt 还很陌生,刚刚开始研究 QML。适用于 Symbian 的诺基亚 Qt SDK 中包含一些示例应用程序,我已成功将它们加载到 Qt Creator 中并使用桌面上的 QML Viewer 应用程序运行它们。

我想在设备上尝试一些示例,但我完全不知道如何让 qml 文件在设备上运行。它们是首先打包成 sis 文件并安装,还是只是复制该文件夹?如果是这样,应用程序如何在设备上启动?

经过一些谷歌搜索后,我似乎能找到的唯一信息是,目前可用于 Symbian 设备的 Qt 库只有 4.6.3,而 QML 应用程序需要 4.7.0 版本?这是否意味着我目前无法在设备上运行 QML 应用程序? (设备是 S60 第 5 版)

任何有关更多信息的正确方向的帮助或指示将不胜感激。

I am pretty new to Qt and I have just started looking at QML. There are some sample applications included with the Nokia Qt SDK for Symbian and I have managed to load them into Qt Creator and run them using the QML Viewer application on the desktop.

I would like to try some of the samples out on a device, but I am totally clueless as to how I would go about getting the qml files to run on a device. Are they first packaged into a sis file and installed or is the folder simply copied over? If so how is the app started on the device?

Having done some googling the only information I seem to be able to find says that the Qt libraries available for Symbian devices at the moment is only 4.6.3 whereas version 4.7.0 is required for QML apps? Does this mean that I won't be able to run QML apps on a device at the moment? (Device is S60 5th Edition)

Any help or pointers in the right direction for more information would be much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

や莫失莫忘 2024-10-04 16:35:22

在下一个 Qt Creator 版本中,将有包含 Symbian 和 Maemo/MeeGo 样板代码的向导。如果您等不及,您基本上可以将 QML 文件与通过 QDeclarativeView 加载它们的可执行文件并排放置 - 或者将它们作为资源编译到可执行文件中(使用 qrc)。如果您想立即尝试,您可能想尝试签出并构建 Qt Creator 2.1 或 master 分支:)

There will be wizards with boilerplate code for Symbian and Maemo/MeeGo in the next Qt Creator release. If you can't wait, you would basically have the QML files side-by-side with the executable that loads them via a QDeclarativeView - or alternatively compile them into the executable as resources (using qrc). You might want to try to checkout and build Qt Creator 2.1 or master branch for this if you want to try right now :)

护你周全 2024-10-04 16:35:22

我写了一些关于如何开始在 Symbian 上开发 QtQuick 的提示和说明: http://juhaturunen.com/blog /?p=11

I wrote some tips and instructions on how to start developing QtQuick on Symbian: http://juhaturunen.com/blog/?p=11

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文