qtcreator 未检测到 qt

发布于 2024-12-11 14:21:39 字数 2645 浏览 3 评论 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 中的设备信息时:projects > symbian 设备 >运行>设备(信息)

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

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

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

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

I'm triing to get a simple application to work on symbian (Nokia N97)
I installed qt 4.7.4 and qtcreator 2.3.1 on my pc
I installed qt 4.7.4 and CODA 4.0.23 on N97

when i run the application from qtcreator i get the error:

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. 

when i check the device info in qtcreator: projects > symbian devide > run > Device (info)

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

the qt version isn't installed
i did install the qt.sis in my qt sdk folder:

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

What am I doing wrong?

--------------EDIT--------------
i tried installing qt for symbian^1:

"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"

the last 2 give the error:

update failed (no device)

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

I probably need to use CODA, cause trk isn't supported in qt creator 2.3
so i install:

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

then i try to run the application from qt creator:
error:

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

In qt creator: device info:

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

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

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

发布评论

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

评论(1

阳光下慵懒的猫 2024-12-18 14:21:39

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

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

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

The N97 is a Symbian^1 (5th Edition) device, not a Symbian^3 device, but you mentioned that you tried to install the Symbian^3 version of the qt.sisx.

Look for the Symbian^1 version of the qt.sisx file on your PC and try installing that on the N97 instead.

You should be able to find that sisx file in the Qt SDK Start Menu folder (named Install Qt 4.7.3 for Symbian^1 on device'). If it is not there you may need to run the SDK maintenance tool to update your SDK.

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