如何在 Windows 上开始 Qt 开发,但针对 Maemo 5?

发布于 2024-08-23 07:12:59 字数 1079 浏览 5 评论 0原文

我最近听说了 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,这正是答案推荐的工具。 (请注意,它不再是技术预览版。)

这是一个非常好的介绍视频关于诺基亚 Qt SDK。

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 技术交流群。

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

发布评论

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

评论(1

我们的影子 2024-08-30 07:12:59

我建议习惯Linux;毕竟,Maemo(或现在的 MeeGo)实际上是 Linux 底层,而官方 SDK 是基于 Linux 的 scrapbox。

话虽如此,存在一个非官方社区项目 MADDE

这是 Maemo 新开发工具的技术预览。 MADDE 代表 Maemo 应用程序开发和调试环境,并提供以下功能:

  • 命令行交叉编译
  • 多平台支持(Linux(32 位/64 位)、Windows、Mac OS X)
  • 可针对不同目标进行配置工具链
  • 设备客户端以简化开发流程
  • 简单

欢迎您在开发过程中测试该工具。但请记住,这是一个技术预览。我们非常感谢您在谈话、开发者列表中,特别是在 bugzilla(开发者平台 -> 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:

This is a TECHNICAL PREVIEW of a new development tool for Maemo. MADDE stands for Maemo Application Development and Debugging Environment and offers the following features:

  • Command-line cross-compiling
  • Multi-platform support (Linux (32-bit/64-bit), Windows, Mac OS X)
  • Configurable for different targets & toolchains
  • Client for the device to simplify the development process
  • Simplicity

You are welcome to test the tool in your development process. But keep in mind that this is a technical preview. We highly appreciate your feedback in talk, the developer list and especially in bugzilla (Developer Platform -> MADDE).

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