标题:android for necessitas qt creater hello world报错,求解
作者:zhutousame
日期:2012-02-27 10:06
内容:
http://blog.csdn.net/xuxinshao/article/details/7016880
参考上面网址, 我安装的是:necessitas-0.3-online-sdk-installer-windows.exe
android和工程配置:
主要代码:
QLabel label;label.setText("hello world");label.show();
#1 [zhutousame 02-27 10:09]
Running build steps for project test_helloworld...
Starting: "f:\qt\necessitas\android\qt\480\armeabi-v7a\bin\qmake.exe" F:\qt_practice\qt_android\test4_helloworld\test_helloworld\test_helloworld.pro -r -spec android-g++ -win32
-win32 is deprecated.
The process "f:\qt\necessitas\android\qt\480\armeabi-v7a\bin\qmake.exe" exited normally.
Starting: "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" -w
ma-make: Entering directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
ma-make: Nothing to be done for `first'.
ma-make: Leaving directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" exited normally.
Starting: "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" INSTALL_ROOT="F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android" install -w
ma-make: Entering directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
copy /y "libtest_helloworld.so" "F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\libs\armeabi-v7a\libtest_helloworld.so"
已复制 1 个文件。
F:/Qt/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-strip "F:\qt_practice\qt_android\test4_helloworld\test_helloworld\android\libs\armeabi-v7a\libtest_helloworld.so"
ma-make: Leaving directory `F:/qt_practice/qt_android/test4_helloworld/test_helloworld-build--Necessitas_Qt_4_8_0_for_Android_armv7a_Release'
The process "F:\Qt\necessitas\QtCreator\bin\ma-make.exe" exited normally.
Copy Qt app & libs to Android package ...
Creating package file ...
Package deploy: Running command 'F:\Qt\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug'.
Buildfile: F:\qt ..
#2 [zhutousame 02-27 10:12]
application output:Starting remote process ...Can't find org.kde.necessitas.example.test_helloworld process
没有见到helloworld...
已经安装 apache-ant 和 jdk, 环境变量也添加并测试成功.....
但是..还是木有...求解...
#3 [zhutousame 02-28 10:12]
竟然没有人理我.....坑爹的...还好哥自己解决了....方法: 插上android手机...直接下载安装成功运行....
#4 Re:android for necessitas qt creater hello world, [zhutousame 02-28 10:12]
- -
#5 [yxkaibaoma 02-21 17:40]
我也遇到了,怎么解决的啊