为 Windows Mobile 5 编译 Qt 应用程序

发布于 2024-08-12 02:23:45 字数 232 浏览 4 评论 0原文

我正在尝试为 windows Mobile 5 编译一个小型 Qt 应用程序。
所以我有几个问题:

  • 目前我正在使用 ubuntu 9.10,我听说过一些关于交叉编译的事情,但我没有找到必须这样做的真实例子。可以从linux下编译吗?
  • 如何在任何地方编译移动应用程序(windows(VS、mingw等)、linux(cmake、qmake等))

tnx,

I'm trying to compile a small Qt application for windows Mobile 5.
so I've few questions:

  • currently i'm using ubuntu 9.10, I've hear some thing about cross-compilation but I din't found a real example of have to do it. Will it be possible to compile from linux?
  • How to compile an application for mobile anywhere(windows(VS, mingw,etc), linux(cmake,qmake, etc))

tnx,

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

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

发布评论

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

评论(2

溺孤伤于心 2024-08-19 02:23:45

为了编译适用于 Windows Mobile 5 的应用程序,您需要:

  • 至少 Visual Studio 2005 Standard 或 Visual Studio 2008 Professional(Microsoft 已将 Windows Mobile 支持转移到专业版中)。

    注意:您不能使用 Visual Studio Express 版本来创建适用于 Windows Mobile 平台的应用程序。

  • CeGCC 可以从 Linux 交叉编译。

关于 Windows Mobile 上的 Qt,您应该阅读 Dobb 博士的文章:Qt 和 Windows CE

In order to compile applications for Windows Mobile 5 you will need either:

  • at least Visual Studio 2005 Standard or Visual Studio 2008 Professional (Microsoft has moved Windows Mobile support in the Professional Version).

    Note: You cannot use the Express versions of Visual Studio to create applications for Windows Mobile platform.

  • CeGCC which can be crosscompiled from Linux.

Regarding Qt on Windows Mobile, you should read this Dr. Dobb's Article: Qt and Windows CE

哭了丶谁疼 2024-08-19 02:23:45

我没有明确的答案,但我不确定是否存在可以执行您想要执行的操作的交叉编译器。

检查有关 windows/linux 交叉编译器的问题和答案:构建 GCC 交叉编译器编译器(从“Linux”到“Windows”)

我知道您提到了 Qt,但您可能还想查看以下有关使用 Mono 项目从 Linux 构建 Windows Mobile 的文章。

Mono Faq:Technical(搜索紧凑框架)
论坛发帖:Windows Mobile 5 开发(其中我找到了上面的链接)

I don't have a definative answer but I am not sure a cross compiler exists that does what you want to do.

Check this questions and answer regarding cross compiler for windows/linux: Building GCC cross compiler (from “Linux” to “Windows”)

I know you mention Qt but you also may want to check out the following posts regarding building for Windows Mobile from Linux using the Mono project.

Mono Faq:Technical (Search for compact framework)
Forum posting: dev for Windows Mobile 5 (Where I found the link above)

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