qtcreator未检测到qt

时间:2011-10-23 15:00:45

标签: qt symbian qt-creator coda

我正在尝试使用简单的应用程序来处理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中的设备信息时:projects> 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"

我做错了什么?

-------------- EDIT -------------- 我尝试为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,因为qt creator 2.3不支持trk 所以我安装:

"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 creator中:设备信息:

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

1 个答案:

答案 0 :(得分:0)

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

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

您应该能够在Qt SDK Start Menu文件夹中找到该sisx文件(在设备上名为Install Qt 4.7.3 for Symbian ^ 1')。如果不存在,您可能需要运行SDK维护工具来更新SDK。