简体   繁体   English

Qt Necessitas Windows IDE-Lanunching问题

[英]Qt Necessitas windows IDE- lanunching issue

I have installed Qt Necessitas SDK on windows 7, 我已经在Windows 7上安装了Qt Necessitas SDK,
I have been trying to compile and load the program to android device/emulator 我一直在尝试编译程序并将其加载到android设备/模拟器
I am not able to get this thing working, 我无法使这个东西正常工作,

Program compiles successfully and after deployment while launching I am getting the following error message 程序成功编译,并且在启动后进行部署后,我收到以下错误消息

"Starting remote process...Cannot find org.kde.necessitas.example.untitled process" “正在启动远程进程...无法找到org.kde.necessitas.example.untitled进程”

I am getting the same error for both device and emulator 我在设备和模拟器上都遇到相同的错误

Any suggestions? 有什么建议么?

Yikes! kes! If I read this right this is a post from 2012. The new QtCreator (5.1) works out of the box with Android for Windows--and I assume Linux (I have not tested on Ubuntu). 如果我没看错的话,这是2012年的一篇文章。新的QtCreator(5.1)可以在Windows的Android操作系统中使用,并且可以使用Linux(我尚未在Ubuntu上进行测试)。

http://qt-project.org/wiki/Category:Developing_Qt::Ports::Android http://qt-project.org/wiki/类别:Developing_Qt ::端口:: Android

This is basically part of the IDE now. 现在,这基本上是IDE的一部分。

There's a lot of possibilities for why you get that message. 为什么收到该消息的可能性很多。 Did you compile for ARM5/6/7? 您是否为ARM5 / 6/7进行编译? What are you emulating? 你在模仿什么? Does it have the right CPU set up? 它是否设置了正确的CPU? I'd take a clean install of Creator bundled so you eliminate the possibility of your local setup and run the example Android applications. 我将捆绑安装一个全新的Creator,以便您消除本地设置的可能性并运行示例Android应用程序。 This, again, works well for me on Windows which was well behind the curve on this latest release. 同样,这在Windows上对我来说效果很好,该Windows落后于最新版本。

And yes, the documentation is really lacking right now on this front. 是的,目前在这方面确实缺少文档。 It took me the better part of 3 hours to get it working with the emulator. 我花了3个小时的大部分时间来使它与仿真器一起工作。 One of the steps was to launch the emulator form the SDK then try connecting from my debugger. 步骤之一是从SDK启动仿真器,然后尝试从调试器进行连接。

For Android development, I'd recommend using Qt 5.2. 对于Android开发,我建议使用Qt 5.2。

Necessitas is an unofficial Android port for Qt 4. Qt 5.1 contains an official (but incomplete) technical preview. Necessitas是Qt 4的非官方Android端口。Qt 5.1包含官方(但不完整)的技术预览。 Full official Android support will come with Qt 5.2, which will be released in December 2013. 全面的官方Android支持将随Qt 5.2一起提供,该版本将于2013年12月发布。

If you want to try it out right now, the Qt 5.2 beta is available for download at http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/ . 如果您想立即尝试,可以从http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/下载Qt 5.2 beta。 The updated documentation is at http://doc-snapshot.qt-project.org/qt5-stable/android-support.html -- it is quite comprehensive now. 更新的文档位于http://doc-snapshot.qt-project.org/qt5-stable/android-support.html -现在非常全面。

Here is a blog post by Digia detailing the streamlined Android deployment process: http://blog.qt.digia.com/blog/2013/10/09/android-deployment-in-qt-5-2/ 这是Digia的博客文章,详细介绍了简化的Android部署过程: http : //blog.qt.digia.com/blog/2013/10/09/android-deployment-in-qt-5-2/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM