0

我试图让一个简单的应用程序在 symbian(诺基亚 N97)上工作 我在我的电脑上安装了 qt 4.7.4 和 qtcreator 2.3.1 我在 N97 上安装了 qt 4.7.4 和 CODA 4.0.23

当我从 qtcreator 运行应用程序时,出现错误:

Executable file: 9124 2011-10-23T16:37:36 C:\QtSDK\Symbian\SDKs\Symbian1Qt473\\epoc32\release\gcce\udeb\untitled.exe
Connecting to 'COM4'...
Connected.
Launching: untitled.exe
Launch failed: Command answer [command error], 1 values(s) to request: 'C|38|Processes|start|""|"untitled.exe"|[""]|[]|true' 
#0 {"Code":-1,Format="Failed to create the process (verify that the executable and all required DLLs have been transferred) (item not found)"}
Error: 'Failed to create the process (verify that the executable and all required DLLs have been transferred) (item not found)' Code: -1
Finished. 

当我在 qtcreator 中检查设备信息时:项目 > symbian devide > 运行 > 设备(信息)

Qt version: Not installed on device
ROM version:v 30.0.004 16-06-11 RM-555 (c) Nokia
CODA version: 4.0.23
Qt Mobility version: 1.2.0
Qt Quick components version: Not installed
QML Viewer version: Not installed
Screen size:640x360

未安装 qt 版本我确实在我的 qt sdk 文件夹中安装了 qt.sis:

"C:\QtSDK\Symbian\sis\Symbian^3\Qt\4.7.4\qt.sisx"

我究竟做错了什么?

--------------编辑------------- 我尝试为 symbian^1 安装 qt:

"C:\QtSDK\Symbian\sis\Symbian^1\Qt\4.7.3\qt.sis"
"C:\QtSDK\Symbian\sis\Symbian^1\Qt\4.7.3\qmlviewer.sis"
"C:\QtSDK\Symbian\sis\Symbian^1\Qt\4.7.3\qtwebkit.sis"
"C:\QtSDK\Symbian\sis\Symbian^1\QtMobility\1.1.3\qtmobility.sis"

最后2个给出错误:

update failed (no device)

something went wrong
An error occurred on installation of the file- Foutcode: 2153775107- (in ovi suite)

我可能需要使用 CODA,因为 trk 在 qt creator 2.3 中不受支持,所以我安装:

"C:\QtSDK\Symbian\sis\Symbian^3\CODA\public_coda_installer_1-0-5_build2_signed.sis"

然后我尝试从 qt creator 运行应用程序:错误:

Launch failed: Command answer [command error], 1 values(s) to request: 'C|8|Processes|start|""|"test1.exe"|[""]|[]|true' 
#0 {"Code":-1,Format="Failed to create the process (verify that the executable and all required DLLs have been transferred) (item not found)"}
Error: 'Failed to create the process (verify that the executable and all required DLLs have been transferred) (item not found)' Code: -1

在 qt 创建者中:设备信息:

Qt version: **Not installed on device**
ROM version:v 30.0.004 16-06-11 RM-555 (c) Nokia
CODA version: 4.0.23
Qt Mobility version: 1.2.0
Qt Quick components version: Not installed
QML Viewer version: 1.0.0
Screen size:640x360
4

1 回答 1

0

N97 是 Symbian^1(第 5 版)设备,不是 Symbian^3 设备,但您提到您尝试安装 qt.sisx 的 Symbian^3 版本。

在您的 PC 上查找 qt.sisx 文件的 Symbian^1 版本,然后尝试在 N97 上安装它。

您应该能够在 Qt SDK 开始菜单文件夹中找到该 sisx 文件(名为 Install Qt 4.7.3 for Symbian^1 on device')。如果不存在,您可能需要运行 SDK 维护工具来更新您的 SDK。

于 2011-10-28T15:55:26.263 回答