Qt for Symbian 入门之环境搭建

Qt for Symbian开发 关于如何使用qt技术在nokia手机上开发,支持的手机n8等symbian3手机 立即下载

Qt for the Symbian platform Requirements

Qt for the Symbian platform requires the following software installed on your development PC:

  • Carbide.c++ v2.0.0 or higher
    • Note: It may be necessary to update the Carbide compiler. See here for instructions how to check your compiler version and how to patch it, if needed.
  • ActivePerl v5.6.1 build 638
    • Note: According to Symbian, version 5.6.1 build 638 is mandatory. Using later versions may result in unexplained errors.
  • S60 Platform SDK 3rd Edition FP1 or higher
    • Note: Users of S60 Platform SDK 3rd Edition FP1 also need special update. The update can be found here .
  • Open C/C++ v1.6.0 or higher . Install this to all Symbian SDKs you plan to use Qt with.
  • Building Qt tools from scratch requires MinGW 3.4.5 or higher , or another windows compiler.
    • Note: This is not required if you are using pre-built binary package.
  • Building Qt libraries requires RVCT 2.2 [build 686] or later, which is not available free of charge.

Running Qt on real device requires the Open C to be installed on the device. The Open C installation packages are embedded into qt_installer.sis , which is included in Qt for Symbian binary package. If you are building Qt from scratch, you can find the required packages in the Symbian SDK where you installed Open C/C++:

  • nokia_plugin/openc/s60opencsis/pips_s60_<version>.sis
  • nokia_plugin/openc/s60opencsis/openc_ssl_s60_<version>.sis
  • nokia_plugin/opencpp/s60opencppsis/stdcpp_s60_<version>.sis

If you wish to do hardware debugging with Carbide or run applications in real devices using "make run" command, TRK must be installed to the device. Note: TRK is not required if you just want to install and run applications manually on the device.

       Application TRK . Choose the correct installation package based on the S60 version of your device (S60_<S60-version>_app_trk_<TRK-version>.sisx).

网址:http://doc.trolltech.com/4.6-snapshot/requirements-symbian.html

 

Frequently Asked Questions (FAQ) for Qt for Symbian

Q: Do you support Carbide.c++ v1.2?

A: No. Recommended Carbide version to use is 2.0.2 and up.

Q: Which SDKs are supported?

A: Qt has been tested with the S60 3.1, 3.2, 5.0 and N97 SDK.

Q: What tools do I need to develop an application with Qt for Symbian?

A: See http://doc.trolltech.com/4.6-snapshot/requirements-symbian.html

Q: What platforms does Qt for Symbian support?

A: See README.symbian file.

Q: Which Qt modules are currently working on Symbian?

A: See README.symbian file.

Q: Which new Qt modules are coming in the next release?

A: TBA

Q: When is the next release?

A: TBA

Q: Which parts are currently left out of QtCore?

A: QtConcurrent not ported, QProcess doesn’t support streams, and QSettings not using Symbian specific storages i.e. Central Repository

Q: Which parts are currently left out of QtGui

A: Printing and accessibility.

Q: Which parts are currently left out of QtNetwork?

A: No support for IPv6 and no support for multicast.

Q: What input methods are supported in the current release?

A: Multitap and predictive text in any language, as well as virtual keyboard on touch based devices.

Q: Which devices has Colossus release been tested on?

A: N78, N79, N95, N96, N97, 5800 XpressMusic and 6290

Q: I'm getting an error when trying to run example.exe, can you help me ?

A: Before sending email to feedback list please check that you have set your enviroment variables correctly and that you have patched your environment according to installation notes.

Make sure you have patched your x86 compiler by typing in command prompt:
mwccsym2.exe -version
Expected output is:
Version 3.2.5 build 482 (Build 482)

The build number should be 482 or later.

Q: I give up. I need help from the mailing list. What should I include?

A: When sending email to feedback list please include the following information in your post:

  1. Executable that you are trying to run.
  2. Environment that you are working with e.g. S60 5.0 v.1.0
  3. Call stack of the error occuring, see section the question about how to obtain call stack from carbide.

Q: How do I get call stack from Carbide 2.0?

A: First you need to import your project to carbide in order to debug it. Select file->import->Symbian OS->Symbian OS bld.inf file If you can’t find bld.inf under your project directory you first need to run bldmake bldfiles from command prompt. In order to catch all errors occuring you need to check all but c++ exceptions under x86 exceptions tab in debug configurations. When running debug Carbide will stop at the point of error occuring. From Debug View select the call stack under thread saying suspended and copy (ctrl+c) it and paste it to the email you are about to send.

Q: How do I load my plugin? I tried loading it from /sys/bin but it fails.

A: In Qt for Symbian we had to implement plugin stubs to get around the need for AllFiles capability to access /sys/bin and some other issues. Plugin stubs are files with the same base name as the actual plugin dll but with a “.qtplugin” suffix. They need to be in some accessible location. For private plugins this is typically the application’s private dir, but for public plugins it can be anywhere; e.g. Qt extension plugins have default public base dir “/resource/qt/plugins” (which can be queried with QLibraryInfo::location(QLibraryInfo::PluginsPath, if needed at compile time, or via the $$QT_PLUGINS_BASE_DIR variable defined in the data_caging_paths.prf feature file, if needed in the .pro file). If either the stub or the actual plugin.dll are missing, the plugin loading will fail. The stub contents are mostly irrelevant. Only the file name and timestamp matter (the stub timestamp is checked in plugin caching). If the DEPLOYMENT variable is used properly, the stub gets generated and deployed automatically and you don’t need to worry about it. See http://doc.trolltech.com/4.6-snapshot/qmake-variable-reference.html#deployment for details.

When loading plugins with QPluginLoader, do not give the plugin dll itself as a target, use the stub file instead, although for convenience you can use either “.dll” or “.qtplugin” as the suffix. E.g. if you have the plugin stub named as “c:/foo/bar.qtplugin”, and the actual plugin as is located at “c:/sys/bin/bar.dll”, you can use either QPluginLoader(“c:/foo/bar.dll”) or QPluginLoader(“c:/foo/bar.qtplugin”) to load the plugin. So basically you can treat the stub as you would the actual plugin on other platforms.

Q: Qt applications get an additional white window with a black cursor. How can I fix this?

A: This is a result of having the ‘stdioserver’ package installed. This application is a server process that redirects STDIN and STDOUT to a console window by default. This behavior can be be changed by modifying the configure file located at “C:/system/data/config.ini”. The relevant change involves editing the [STDIO] section and changing STDIN and STDOUT to be:

     STDIN = MEDIA1
STDOUT = MEDIA4

MEDIA1 and MEDIA4 should be of the type ‘file’ and should have a path pointing to “in.txt” or “out.txt” respectively and located in the same directory as “config.ini”. You must also ensure that the “in.txt” file actually exists when making the above change. The above change will work both in the emulator as well as in hardware where the path inside the SDK is $EPOCROOT/winscw/c/system/data.

Q: Installing Qt on N78 with firmware PR 1.0 fails. How can I work around it?

A: Please upgrade device’s firmware to a newer release.

Q: When installing “qt_installer.sis” or “qt_demos.sis” it fails with error “-16”. How can I work around it?

A: Try installing it again. If that fails, try installing the Open C packages + “qt.sis” + “qtwebkit.sis” one by one.

网址:http://qt.gitorious.org/qt/pages/SymbianFAQ

 

以上资料在我没有安装Qt之前没有找到,复制出来,给用得着的人,也给以后自己备份。

手机上的需求

如果需要Nokia S60系列手机上运行Qt程序,那么需要先有Qt的运行库,因为商店卖给你手机的时候并没有安装Qt库(也许以后的版本会装上,但是谁知道以后有多后 呢),所以需要你自己去安装。当然Qt库还会依赖于其它几个C和C++的库,分别是pips/openc_ssl/stdcpp。如果是4.5.2,基础 库下载地址可以是 pips_s60_1_5_5b.sis openc_ssl_s60_1_5_5b.sis stdcpp_s60_1_5_5b.sis 。Qt库和演示程序的下载则在 http://pepper.troll.no/s60prereleases/demos/ 目录下。安装完后就可以在你的手机上体验Qt应用了。
如果想测试你自己编写的Qt-4.6.0-beta程序,则需要Qt-4.6.0以上的库文件,我在安装自己应用的时候提示要Qt 4.0.6以上版本,不会是bug吧,呵呵。上上下下翻了几遍http://pepper.troll.no/s60prereleases里的文章,也 没找到下载Qt-4.6.0-beta库的地方。只好自己动手丰衣足食。如果你已经安装了Qt for Symbian 4.6.0-beta的SDK后,那么在安装目录下C:Qt4.6.0-beta可以看到两个.sis文件fluidlauncher.sis和 qt.sis,你需要安装它们。同样Qt的依赖库也可以在安装目录下找到,地址分别为
<EPOCROOT>nokia_plugin/openc/s60opencsis/pips_s60_<version>.sis
<EPOCROOT>nokia_plugin/openc/s60opencsis/openc_ssl_s60_<version>.sis
<EPOCROOT>nokia_plugin/opencpp/s60opencppsis/stdcpp_s60_<version>.sis


 

注意事项总结:

1 如果发现没有那几个在手机上安装的包,或者编译不能通过,比如我是在S60 3th 的时候就没有,就是要安装Open c++。最新下载

2 Carbide需要安装更高的版本。最新下载

3 将qt的bin路径(c:/qts60/bin)加到系统的PATH里。

4 在Carbide中添加Qt路径:Window->Preference->Qt

 

参考:

在S60上安装Qt

Qt for S60使用入门

 


 

 

 

 

隐藏技巧!用ArcGIS Pro像素编辑器实现PS级影像编辑(附地貌伪装案例) 本文深入探讨ArcGIS Pro像素编辑器的创意应用,从基础操作到高级影像处理实战,展示了其在城市规划、环境分析等领域的独特价值。通过详细的功能解析和地貌伪装等案例,帮助用户实现媲美专业图像处理软件的精细操作,提升GIS工作效率。 阅读详情

相关推荐

从内参矩阵到归一化平面:揭秘相机成像的标准化核心

本文深入解析了相机成像中的核心概念——归一化平面。通过拆解内参矩阵(包含焦距、主点等参数)的作用,详细阐述了如何将像素坐标转换为与具体相机硬件无关的归一化坐标。这一标准化过程是计算机视觉算法(如多相机系统对齐、视觉SLAM)实现跨设备通用性的关键,能有效提升算法的鲁棒性和泛化能力。

opencv7vision的博客 454

QT for Symbian SDK安装

<br />注意,symbian在V3 FP2之后才正式支持QT的,也就是说V5也是支持的。<br />1. Symbian SDK的安装(用Carbide C++ 2.0做IDE)<br />Active Perl Installation<br />- Download Active Perl from http://www.activestate.com/activeperl/<br />- install it to C:/Perl or any directory that doesn't con

zhengdan66的专栏 929

Win10环境借助DockerDesktop部署Open web UI集成DeepSeek

Win10环境借助DockerDesktop部署Open web UI集成DeepSeek,并借助DuckDuckGo实现联网查询

虎鲸不是鱼 1716

Qt5.3.2_对编译器的识别_qcompilerdetection.h

ZC:qt-opensource-linux-x86-5.3.2.run 中qcompilerdetection.h 的内容。 1、 /**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/...

Lucius0504的博客 1480

LMX2594时钟配置实战:TICS PRO从入门到寄存器导出

本文详细介绍了LMX2594时钟芯片的配置实战,重点讲解了如何使用TICS PRO调试软件简化复杂的寄存器设置过程。通过实例演示从基础频率配置到高级参数调优的全流程,并分享SPI写入的嵌入式系统移植技巧,帮助工程师快速掌握高性能时钟芯片的配置方法。

weixin_29189003的博客 569

Chroma向量数据库实战:用Python快速搭建本地知识库(附中文诗词检索案例)

本文详细介绍了如何使用Chroma向量数据库和Python快速搭建本地知识库,并附有中文诗词检索的实战案例。通过解析核心概念、数据准备、向量化及智能检索实现,展示了Chroma在处理中文语义搜索时的轻量级与易用性,为开发者构建AI应用原型提供了实用指南。

weixin_29221753的博客 484

Java 线程锁

ReentrantLock是一种悲观锁,同时具备可重入锁特性,支持公平锁和非公平锁两种模式。

1376

Copula函数

Copula是处理统计中随机变量相关性问题的一种方法。本文是对Copula函数的各种定义,Copula函数的思想,Copula函数的性质,Copula函数的类型等理论资料总结

Explore 5万+

将Qt应用运行在Symbian手机上

<br />本文介绍如何将已经可以在Symbian模拟器中可以运行的Qt应用移植到Symbian手机设备上运行 <br />在开始为Symbian手机设备开发Qt应用之前,请先在模拟器上开发和调试,请参考 Qt Symbian 开发环境安装Contents[hide ]1Symbian手机对Qt的支持2为Symbian手机提供Qt支持2.1安装方法3编译能在Symbian手机上运行的Qt应用4将Qt应用签名和打包4.1在Carbide.C++环境中4.2在命令行环境中4.2.1利用如下命令产生能够用于自

随缘的驿站 972

【用unity实现100个游戏之1】制作类元气骑士、挺进地牢——俯视角射击游戏多种射击效果(二)(附源码)

这篇文章我们将继续实现曲线射击与两种不需要实体子弹的射击方式 源码在文章末尾。

向宇的博客,专注php/web全栈 unity游戏开发,欢迎大家评论纠错 5072

YOLOv11改进 | 主干/Backbone篇 | 轻量化目标检测网络MobileViTv1改进yolov11有效涨点

本文给大家带来的改进机制是MobileViT系列的V1版本,其作为MobileNet网络的挑战者,其效果自然不用多说,MobileViT模型是为移动设备设计的轻量级、通用目的视觉变换器。它融合了卷积神经网络(CNN)和视觉变换器(ViT)的优势,旨在在保持高效性能的同时减少模型参数和降低延迟。通过其创新的MobileViT Block和多尺度训练方法,MobileViT在多个视觉任务上取得了优异的结果,欢迎大家订阅本专栏,本专栏每周更新3-5篇最新机制,更有包含我所有改进的文件和交流群提供给大家。

Snu77的博客 2342

Qt对编译器的识别

/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Copyright (C) 2012 Intel Corporation ** Contact: ht

一个人,在路上 7295

回归预测 | MATLAB实现TCN时间卷积神经网络多输入单输出回归预测

回归预测 | MATLAB实现TCN时间卷积神经网络多输入单输出回归预测

机器学习之心的博客,关注并私信文章链接,获取对应文章源码和数据。 2497

Qt for Symbian 开发系列文章

Qt for symbian 开发环境安装 Qt for Symbian 开发入门 Qt for Symbian应用开发流程 Qt for Symbian应用的开发

zhenyongyuan123的专栏 861

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

Symbian QT+Carbide 环境配置

首先需要安装Symbian 环境 1. JRE JRE是Symbian SDK开发的集成开发环境运行的基础,下载地址: JRE下载  2. ActivePerl ActivePerl用于管理编译流程。最低版本为5.6.1,可以更高。下载地址: ActivePerl-5.6.1  3. Symbian SDK Symbian  SDK包含了开发symb

书生杂记 1768

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

Qt for Symbian平台搭建

1.先搭建起Symbian的Carbide开发平台,这里略过。我使用的是Carbide 2.3版本。确保可以正常运行Hello world后再进行以下安装。SDK最好是FP1,FP2,S60_5rd。 2.Qt for Symbian的安装: 打开http://qt.nokia.com/downloads/downloads#lgpl,下载安装qt-symbian-opensource-4.6...

fiona1985的博客 298

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

Qt Symbian 开发环境安装

Qt for Symbian 的开发环境主要由三部分组成:基本工具;Symbian SDK;Qt for Symbian SDK。请依序安装

boat_man的专栏 1102

Qt for Symbian系列 集合地

这里是我的Qt for Symbian系列的集合地。主要内容是Qt for Symbian编程的方方面面,当然也会包含一些Symbian的内容。首先登场的是翻译的《Qt for Symbian》一书的内容,因为向版权局申请版权晚了,所以中文版权已经拿不到了。现在我就把自己前期翻译的成果与大家分享,也请大家多提宝贵意见,使得这本好书能够有更多的人看到。中文译名:《Qt Symbian 编程精粹》(请大家多提宝贵意见)第一篇:扉页(尚欠缺封面的译文,稍等)

qter_wd007的专栏 1709

Qt Symbian 手机环境搭建

Qt Symbian 开发环境安装一、概述Qt for Symbian 的开发环境主要由三部分组成:基本工具、Symbian SDK、Qt for Symbian SDK。基本工具包括Active Perl和Jre.1、 安装顺序安装顺序依次为Jre-->Perl-->SDK-->Carbide C++。Symbian SDK和Qt SDK都需要安装在系统同一个盘符中(比如说 D:盘),并且路径  名无空格。所创建的应用也应该和SDK的安装盘是同一个。基本工具包括JRE(Java Runtime Envir

蜗牛的远航 1371

QT for symbian 开发环境安装

QT for symbian 开发环境安装

lmyuanhang的专栏 828

Qt for symbian环境搭建(Windows)

NOKIA收购Qt和Symbian之后,都以开源形式发布,Qt作为跨平台的SDK,目前已在Linux、Windows、Symbian、Windows CE、Embedded Linux、Mac OSX等平台得到应用,前景可谓一片光明。 而作为智能手机系统的老大,Symbian拥有庞大的用户群,选择它等于抓住了大量的用户。切入正题,其实Qt for symbian在Windows下的环境搭建很简

2251

QT for Symbian 开发入门

Getting started with Qt for Symbian ID Creation date29 December 2008PlatformS60 3rd Edition, S60 5th EditionTested on devicesEmulatorCategoryQt for SymbianS

运用之妙,存乎一心 1595

如何配置基于symbian的 QT环境?

<br /> <br />说来话长了。。。。(咳嗽)<br /> <br />一句话说,你可以到http://qt.nokia.com/products/platform/symbian/找到相关文档,可以看看这个PDF whitepaper-qt-for-the-symbian-platform。<br />如果想快速开始,可以看QT QUICK START。<br /><br />如果你不想看文档,那我就简单说几句吧。<br />=====================================

World of iOs 625

Qt for Symbian 开发环境配置

让Symbian 支持qt开发环境的配置 你必须按照以下步骤安装: (安装顺序: [color=red]1 -> 2 -> 3 -> 4 -> 5 -> 6[/color]) Installation steps: 1. [url=http://www.symbian-training.com.cn/download/ActivePerl-5.6.1.638-MSWin32...

abn103的专栏 245

Qt for symbian环境搭建(Linux)

Programming your application or library based on Qt has always had the promise that you can deploy your application on many different platforms. Development of those applications can, likewise, happen

964

Qt Symbian 开发环境安装From Forum Nokia Wiki

Qt Symbian 开发环境安装From Forum Nokia Wiki<br /><br />Qt for Symbian 的开发环境主要由三部分组成:基本工具;Symbian SDK;Qt for Symbian SDK。请依序安装。<br />注意1: 如果在Nokia 论坛上下载开发工具,你需要你注册一个论坛帐号<br />注意2: Symbian SDK和Qt SDK都需要安装在系统同一个盘符中(比如说 C:盘),并且路径名无空格。所创建的应用也应该和SDK的安装盘是同一个。<br /> Co

那些年踩过的坑 2009
上一篇: 文件相关知识整理
下一篇: Memo
我是一个小胖子
博客等级 码龄17年 152粉丝 182原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值