Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Revision as of 01:45, 12 July 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

如何使用命令行在harmattan上编译一个Qt应用程序

From Wiki
Jump to: navigation, search
Article Metadata
Article
Created: liuting (07 Jun 2012)
Last edited: hamishwillee (12 Jul 2012)

介绍

本文将介绍如何使用命令行在harmattan上编译一个Qt应用程序

操作步骤

  1. 可以通过 Start 菜单-> Programs -> Nokia Qt SDK -> MADDE Terminal 进入 MAEED环境 (注意不要进入到windows环境下)
  2. 进入到项目所在文件夹下, 如c/project/bookreference
  3. 生成 makefile 运行命令mad qmake
  4. 编译工程, 运行命令mad make
  5. 手动将 debian_harmattan 下的文件拷贝到 debian 文件下(如无debian 文件夹,需手动new一个),这一步不可缺少,否则生成deb将会报错。
  6. 创建deb 包 运行命令 /mad dpkg-buildpackage -nc -uc -us
This page was last modified on 12 July 2012, at 01:45.
80 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×