如何在 Windows 上开始 Qt 开发,但针对 Maemo 5?
我最近听说了 Qt,并了解到使用它进行开发是多么有趣。顺便说一句,我也买了一台诺基亚 N900,听说它的操作系统 Maemo 5 对 Qt 的支持相当好,所以我想尝试一下。
我是一名 .NET 开发人员,因此我更喜欢在 Windows 上进行开发,如果可能的话,使用 Visual Studio。 我下载了最新的Qt SDK。我启动了 Qt Creator 并创建了一个简单的“Qt4 Gui 应用程序”。它工作正常,但是,我在任何地方都找不到任何为 Maemo 5 编译的选项。
然后,我下载了Visual Studio插件并尝试用它创建一个“Qt应用程序”,但是,无论我选择哪种Qt项目类型,单击“确定”按钮后,对话框都会再次弹出,所以它无法创造任何东西。
我还阅读了有关 Maemo 5 SDK 的信息,但是,它似乎只能在 Linux 上运行。 (Windows 的每个演练都是从使用 Linux 设置虚拟机开始的。)但是,我根本没有使用 Linux 的经验,所以我更愿意留在 Windows 上。
所以我的问题是:在 Windows 上开发时是否可以创建在 Maemo 5 上运行的 Qt 应用程序,或者这是不可能的?
预先感谢您的任何答复。
编辑(解决方案):
自从我开始这个问题以来,一个非常好的开发工具,Nokia Qt SDK很好地解决了这个问题。它是跨平台的,可用于开发 Symbian 和 Maemo 等应用程序。对于 Maemo 工具链,它使用 MADDE,这正是答案推荐的工具。 (请注意,它不再是技术预览版。)
I've recently heard about Qt and read about how fun it is to develop with. By the way, I'm also buying a Nokia N900 and I heard that its operating system, Maemo 5, supports Qt quite nicely, so I thought I'll give it a shot.
I'm a .NET developer, so I'd prefer to develop on Windows, and if it is possible, using Visual Studio.
I downloaded the latest Qt SDK. I started up the Qt Creator and created a simple "Qt4 Gui Application". It was working fine, however, I couldn't find any options to compile for Maemo 5 anywhere.
Then, I downloaded the Visual Studio plugin and tried to create a "Qt Application" with that, however, no matter which Qt project type I chose, after clicking the OK button, the dialog just kept popping up again, so it couldn't create anything.
I also read about the Maemo 5 SDK, however, it only seems to work on Linux. (Every walkthrough for Windows started with setting up a virtual machine with Linux.) However, I'm not experienced with Linux at all, so I'd prefer to stay on Windows.
So my question is: is it possible to create Qt applications that will run on Maemo 5 while developing on Windows, or this is impossible?
Thank you in advance for any answers.
EDIT (Solution):
Since the time I started this question, a very nice development tool, the Nokia Qt SDK solves this problem very well. It is cross-platform and can be used to develop Symbian and Maemo apps alike. For the Maemo toolchain, it uses MADDE, which is exactly the tool recommended by the answer. (Note that it is no longer a technical preview anymore.)
Here is a very nice introduction video about the Nokia Qt SDK.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议习惯Linux;毕竟,Maemo(或现在的 MeeGo)实际上是 Linux 底层,而官方 SDK 是基于 Linux 的 scrapbox。
话虽如此,存在一个非官方社区项目 MADDE:
I would suggest getting used to Linux; after all, Maemo (or MeeGo, now) is really Linux underneath, and the official SDK is the Linux-based scratchbox.
That being said, there exists an unofficial community project MADDE: