Qt for Android 的部署问题
Qt 5.2.0 beta 版本提供了3种部署方案1.Use Ministro service to install Qt
2.Deploy local Qt libraries to tmeporary directory
3.Bundle Qt libraries in APK
3生成的APK较大而且部署时间慢,
2适合开发调试
所以打算使用2来部署Android程序,但是报错
--------------------编程问答-------------------- 我在linux下面也是这样 还有就是调试器未设置。 --------------------编程问答--------------------
Warning: Dependency not found: D:/Qt/Qt5.2.0/5.2.0-beta1/android_armv7/plugins/audio
Copying file to device failed!
12:49:07: 进程"D:\Qt\Qt5.2.0\5.2.0-beta1\android_armv7\bin\androiddeployqt.exe"退出,退出代码 5 。
Error while building/deploying project stocqt (kit: Android for armeabi-v7a (GCC 4.6, Qt 5.2.0))
当执行步骤 'Deploy to Android device'时
Android Debug Bridge (ADB) driver on the Windows platform to enable USB debugging. The default USB driver on Windows does not allow debugging. You can download the ADB driver from the device manufacturer's support website. For example, the ADB driver for Google Nexus 7 can be downloaded from http://support.asus.com.
After installing the driver, try running a few basic adb commands and check whether your device responds to it.
调试器需要自己配置了 --------------------编程问答-------------------- JDK的变量没有配置好。我也出现这种问题,我搞定了。
可以参考我的文章:http://blog.csdn.net/fjqlldg/article/details/17193033 --------------------编程问答--------------------
怎么没有页面呢,提示404。
补充:移动开发 , Qt