簡體   English   中英

qtcreator未檢測到qt

[英]qt isn't detected by qtcreator

我試圖得到一個可以在symbian(Nokia N97)上運行的簡單應用程序,我在PC上安裝了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,因為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

N97是Symbian ^ 1(第5版)設備,而不是Symbian ^ 3設備,但是您提到您嘗試安裝qt.sisx的Symbian ^ 3版本。

在您的PC上查找qt.sisx文件的Symbian ^ 1版本,然后嘗試將其安裝在N97上。

您應該能夠在Qt SDK的“開始菜單”文件夾中找到該sisx文件(名為“在設備上為Symbian ^ 1安裝Qt 4.7.3”)。 如果不存在,則可能需要運行SDK維護工具來更新SDK。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM