求助QT大佬有关qt on android上的问题

真机运行程序成功一边以后再一次尝试运行另外一个程序后不成功,失败截图如下图,求大佬解答疑难图片说明
所用QT开发环境配置如下:图片说明图片说明图片说明图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
有关Qt和Qt designer
有哪位大虾是做过这方面的开发的,希望能够交流一下!小弟有很多的问题.rnrn联系方式:hulimin@vip.sina.comrn qq:153231369
qt文件读写的有关问题
怎样使用QT修改文件中的特定数据 比如说特定行的数据
有关qt 的问题
1.是不是用在界面开发的? rn2.在Linux 下能用qt做流媒体的东西吗?rn3.qt的类库中有关于流媒体接收(远程网络传来的视频、音频数据)和播放的类吗?rn
有关Qt的指针的问题
最近在学习Qt,发现有的程序使用某一些类来动态分配内存,例如QWidget *widget=new QWidget;QSlider *slider=new QSlider;然后程序中就是运用这些指针来调用相应的函数,但是在程序中却没有delete语句,我想知道这在Qt中是否安全?是不是没有必要delete掉?如果是这样的话,这和C++的习惯 有点矛盾啊!求解释。
有关qt 鼠标事件的问题
我在mainwindow里加了鼠标事件的函数,如果有左键点击的话就会保存左键的相对坐标,但是这个mainwindow里面加了一些widget,比如一个lineedit,一个button和一个label,鼠标如果点在这个上面是不会触发那个函数的,但是这三个widget几乎占了整个窗口的面积。能不能在lineedit,button和label上点击鼠标也能触发那个函数
有关qt和matlab的问题
有人说,想在qt里调用matlab,得将matlab程序做成dll,再用QLibrary调用。rnrn对于这句话我不是太理解,想请教诸位,怎么把matlab程序做成dll,怎么用QLibrary调用?
有关qt的问题
1.是不是用在界面开发的? rn2.在Linux 下能用qt做流媒体的东西吗?rn3.qt的类库中有关于流媒体接收(远程网络传来的视频、音频数据)和播放的类吗?
有关QT下拉列表的问题
我要用到的下拉列表,需要显示的下拉项目很多,我想设置一定的显示数目,剩余的可以通过滚动条下拉显示出来,不知道怎么实现,我用了一个设置最大显示项目数的函数Combobox->SetMaxVisiBleItems(5);却不起作用;请高手给指点指点吧!好着急!!!先谢谢了!
高分求助,有关QT/C++的问题
我刚刚装完了LINUX REDHAT 7.3的中文版,想学习一下LINUX下的开发rn我原来是搞C++的,听说QT/C++比较好用,请问诸位:rnQT/C++是LINUX自带的开发环境吗?在LINUX里我只找到了KDEVELOPrn如果不是自带的,请问在哪里可以找到QT开发环境rn感谢!!!
求助,qt for android无法调试
s为 ABI 'arm-linux-android-elf-32bit'启动调试器'QmlCppEngine'...rndStart parameters: 'com.ds.elofm' mode: 6rndABI: arm-linux-android-elf-32bitrndLanguages: c++ qmlrndExecutable: D:\QtWorkSpace\build-eloFM-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug\app_process rndDebugger: D:\Android\android-ndk-r10d\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-gdb.exerndProject: D:\QtWorkSpace\eloFM (built: D:\QtWorkSpace\build-eloFM-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug)rndQML server: 127.0.0.1:3768rndRemote: :5039rndSysroot: rndDebug Source Location: rndDebugger settings: rnrn```````中间略...`````````rns正在设置 inferior...rn<204-interpreter-exec console "set auto-solib-add on"rn<205-interpreter-exec console "python sys.path.insert(1, 'C:/Qt/Qt5.4.1/Tools/QtCreator/share/qtcreator/debugger/')"rn<206-interpreter-exec console "python sys.path.append('D:/Android/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/data-directory/python')"rn<207-interpreter-exec console "python from gdbbridge import *"rn W/ActivityThread( 7621): Application com.ds.elofm can be debugged on port 8100...rn W/System.err( 7621): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawablern W/System.err( 7621): at java.lang.Class.classForName(Native Method)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:251)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:216)rn```````中间略...`````````rn W/System.err( 7621): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)rn W/System.err( 7621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)rn W/System.err( 7621): at dalvik.system.NativeStart.main(Native Method)rn W/System.err( 7621): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawablern W/System.err( 7621): ... 25 morern W/System.err( 7621): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.RippleDrawable" on path: DexPathList[[zip file "/data/app/com.ds.elofm-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.ds.elofm-2, /vendor/lib, /system/lib]]rn W/System.err( 7621): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)rn W/System.err( 7621): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)rn W/System.err( 7621): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)rn W/System.err( 7621): ... 25 morern W/System.err( 7621): java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawablern W/System.err( 7621): at java.lang.Class.classForName(Native Method)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:251)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:216)rn```````中间略...`````````rn W/System.err( 7621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)rn W/System.err( 7621): at dalvik.system.NativeStart.main(Native Method)rn W/System.err( 7621): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/AnimatedStateListDrawablern W/System.err( 7621): ... 25 morern W/System.err( 7621): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.AnimatedStateListDrawable" on path: DexPathList[[zip file "/data/app/com.ds.elofm-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.ds.elofm-2, /vendor/lib, /system/lib]]rn W/System.err( 7621): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)rn W/System.err( 7621): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)rn W/System.err( 7621): ... 25 morern W/System.err( 7621): java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawablern W/System.err( 7621): at java.lang.Class.classForName(Native Method)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:251)rn W/System.err( 7621): at java.lang.Class.forName(Class.java:216)rn```````中间略...`````````rn W/System.err( 7621): at dalvik.system.NativeStart.main(Native Method)rn W/System.err( 7621): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/VectorDrawablern W/System.err( 7621): ... 25 morern W/System.err( 7621): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.graphics.drawable.VectorDrawable" on path: DexPathList[[zip file "/data/app/com.ds.elofm-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.ds.elofm-2, /vendor/lib, /system/lib]]rn W/System.err( 7621): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)rn W/System.err( 7621): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)rn W/System.err( 7621): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)rn W/System.err( 7621): ... 25 morern W/ResourceType( 7621): Skipping entry 0x1080524 in package table 0 because it is not complex!rnrn>=thread-group-added,id="i1"rn>~"GNU gdb (GDB) 7.6\n"rn>~"This GDB was configured as \"--host=i586-pc-mingw32msvc --target=arm-linux-android\".\nFor bug reporting instructions, please see:\n"rn>~".\n"rnrn>&"show version\n"rn>~"GNU gdb (GDB) 7.6\n"rn>~"Copyright (C) 2013 Free Software Foundation, Inc.\n"rn>~"This GDB was configured as \"--host=i586-pc-mingw32msvc --target=arm-linux-android\".\nFor bug reporting instructions, please see:\n"rn>~".\n"rn>195^donerndPARSING VERSION: 195^donernrn>&"show debug-file-directory\n"rn>~"The directory where separate debug symbols are searched for is \"c:\\tmp\\ndk-andrewhsieh\\build\\toolchain\\prefix\\lib\\debug\".\n"rn>196^donernrn```````中间略...`````````rnrn>211^donern<212target extended-remote tcp::5039rnrnrn>&"target extended-remote tcp::5039\n"rn>~"Remote debugging using tcp::5039\n"rnrn>~"Ignoring packet error, continuing...\n"rn>&"warning: unrecognized item \"timeout\" in \"qSupported\" response\n"rn unrecognized item "timeout" in "qSupported" responsernrn>~"Ignoring packet error, continuing...\n"rnrn W/System.err( 7621): java.lang.Exception: rn W/System.err( 7621): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:261)rn W/System.err( 7621): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:660)rn W/System.err( 7621): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:900)rn W/System.err( 7621): at android.app.Activity.performCreate(Activity.java:5303)rn W/System.err( 7621): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1091)rn W/System.err( 7621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2165)rn W/System.err( 7621): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)rn W/System.err( 7621): at android.app.ActivityThread.access$800(ActivityThread.java:142)rn W/System.err( 7621): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)rn W/System.err( 7621): at android.os.Handler.dispatchMessage(Handler.java:102)rn W/System.err( 7621): at android.os.Looper.loop(Looper.java:136)rn W/System.err( 7621): at android.app.ActivityThread.main(ActivityThread.java:5217)rn W/System.err( 7621): at java.lang.reflect.Method.invokeNative(Native Method)rn W/System.err( 7621): at java.lang.reflect.Method.invoke(Method.java:515)rn W/System.err( 7621): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)rn W/System.err( 7621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)rn W/System.err( 7621): at dalvik.system.NativeStart.main(Native Method)rnrn>~"Ignoring packet error, continuing...\n"rnrn>~"Ignoring packet error, continuing...\n"rnrn>&"Remote connection closed\n"rndNOTE: INFERIOR EXITEDrndState changed from InferiorSetupRequested(4) to InferiorExitOk(16)rndQUIT DEBUGGER REQUESTED IN STATE 6rndNOTE: INFERIOR ILLrndState changed from InferiorSetupOk(6) to InferiorShutdownRequested(17)rndQUEUE: SHUTDOWN INFERIORrndState changed from InferiorExitOk(16) to InferiorShutdownOk(19)rndNOTE: INFERIOR EXITEDrndState changed from InferiorSetupRequested(4) to InferiorExitOk(16) [master]rndState changed from InferiorExitOk(16) to InferiorShutdownOk(19) [master]rndState changed from InferiorShutdownOk(19) to EngineShutdownRequested(20) [master]rndQUEUE: SHUTDOWN ENGINErn>212^error,msg="Remote connection closed"rnsFailed to start application: 连接远程服务器失败:rnsRemote connection closedrndINFERIOR START FAILEDrndNOTE: INFERIOR SETUP FAILEDrns设置失败。rndState changed from InferiorShutdownOk(19) to InferiorSetupFailed(5)rndQUIT DEBUGGER REQUESTED IN STATE 17rndNOTE: INFERIOR ILLrndState changed from InferiorShutdownRequested(17) to InferiorShutdownRequested(17)rndQUEUE: SHUTDOWN INFERIORrndNOTE: INFERIOR SETUP FAILEDrns设置失败。rndState changed from EngineShutdownRequested(20) to InferiorSetupFailed(5) [master]rndState changed from InferiorSetupFailed(5) to EngineShutdownRequested(20) [master]rndQUEUE: SHUTDOWN ENGINErnrndCALL: SHUTDOWN INFERIORrndINFERIOR SUCCESSFULLY SHUT DOWNrndState changed from InferiorShutdownRequested(17) to InferiorShutdownOk(19)rndCALL: SHUTDOWN ENGINErndState changed from InferiorSetupFailed(5) to EngineShutdownRequested(20)rndINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 2rn<213-gdb-exitrndCALL: SHUTDOWN INFERIORrndINFERIOR SUCCESSFULLY SHUT DOWNrndState changed from InferiorShutdownOk(19) to InferiorShutdownOk(19)rndCALL: SHUTDOWN ENGINErndState changed from EngineShutdownRequested(20) to EngineShutdownRequested(20)rndINITIATE GDBENGINE SHUTDOWN IN STATE 0, PROC: 2rn<214-gdb-exitrn>213^exitrndGDB CLAIMS EXIT; WAITINGrndUNEXPECTED GDB STDERR: Could not AssignProcessToObjectrndGDB PROCESS FINISHED, status 0, code 0rndNOTE: ENGINE SHUTDOWN OKrndState changed from EngineShutdownRequested(20) to EngineShutdownOk(22)rndNOTE: ENGINE SHUTDOWN OKrndState changed from EngineShutdownRequested(20) to EngineShutdownOk(22) [master]rndState changed from EngineShutdownOk(22) to DebuggerFinished(23) [master]rndQUEUE: FINISH DEBUGGERrndState changed from EngineShutdownOk(22) to DebuggerFinished(23)rndNOTE: FINISH DEBUGGERrndHANDLE RUNCONTROL FINISHEDrns调试器已结束。rn~~~~~~rnrn折腾一个星期了,实在搞不定求高手帮忙 。
求助QT多窗口问题
我创建了多个子窗口,每个窗口位置,大小都一样,子窗口都用exec()执行的,现在问题是虽然程序运行起来之后,新打开的窗口能覆盖住以前的窗口,但是我鼠标拖动新窗口,下面的窗口依旧能显出来,我能不能让最上层的窗口禁止鼠标拖动呢,帮忙给一个好的办法吧。谢谢了!
求助,QT生成二维码的问题
各位,麻烦能帮我看下这是什么问题吗,我在网上找一位大佬下载了QT二维码的工程没出现了这样的问题,[img=https://img-bbs.csdn.net/upload/201901/20/1547998284_125733.png][/img],但这个是libqrencode已经写好的内容,应该怎么处理呢,我的QT版本是QT5.6.1
QT的显示问题【求助】
我再QT中定义了个BUTTON,点击后读取文件中的内容,然后再显示出来,文件代码如下:rn#include rn#include "Menu_sharp.h"rn#include rn#define LENGTH 100rnrnrnrnMenu_sharp::Menu_sharp(QWidget*parent) : QWidget(parent)rnrnsetupUi(this);rnconnect(Config1pushButton, SIGNAL(clicked()), this, SLOT(check_load_config1()));rnrnrnrnint Menu_sharp::check_load_config1() rnrn rnrnFILE *fd;rnchar str[LENGTH];rnrnfd = fopen("hello.txt", "w+"); /* 创建并打开文件 */rnif (fd)rnrnfputs("Hello, you are welcome", fd); rnfclose(fd);rnrnrnfd = fopen("hello.txt", "r");rnfgets(str, LENGTH, fd); /* 读取文件内容 */rnprintf("%s\n", str);rnfclose(fd);rn rn this->hide();rnrnrn这样的话打印出来的信息会出现再终端里,但我希望信息能显示在QT界面中,那样的话程序应该怎么改呢?
qt移植问题求助
我用的是虚拟机下fedora 14(完全安装版),交叉编译器版本arm-linux-4.3.2,rnqt源码是qt-everywhere-opensource-src-4.7.1,tslib-1.4,我的过程都是按教程上做的,http://wenku.baidu.com/view/c917436d1eb91a37f1115c53.html主要参考这个,但是在交叉编译tslib时 rn运行./autogen.sh rn输出信息只有rnlibtoolize: putting auxiliary files in `.'. rnlibtoolize: copying file `./config.guess' rnlibtoolize: copying file `./config.sub' rnlibtoolize: copying file `./install-sh' rnlibtoolize: copying file `./ltmain.sh' rnlibtoolize: putting macros in `m4/internal'. rnlibtoolize: copying file `m4/internal btool.m4' rnlibtoolize: copying file `m4/internal/ltoptions.m4' rnlibtoolize: copying file `m4/internal/ltsugar.m4' rnlibtoolize: copying file `m4/internal/ltversion.m4' rnlibtoolize: copying file `m4/internal/lt~obsolete.m4' rnlibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and rnlibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. rnconfigure.ac:7: installing `./missing' rn并未输出 rnDone . rnAclocal . . . Done . rnAutoheader . . . Done . rnAutomake . . . configure . ac : 21 : installing ` . / config . guess ' rnconfigure.ac:21: installing `./config.sub' rnconfigure . ac : 7 : installing ` . / install - sh ' rnconfigure.ac:7: installing `./missing' rnplugins / Makefile . am : installing ` . / depcomp rnDone. rnAutoconf...Done. rnNow you can do ./configure, make, make install. rn然后,我一开始没管这个问题,接着往下装,到要编译 QT for Embedded ARM时,rn我用的是./configure -embedded arm -xplatform qws/linux-arm-g++ -qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib rn结果就出错了 The tslib functionality test failed! rn You might need to modify the include and library search paths by editing rn QMAKE_INCDIR and QMAKE_LIBDIR in rn /home/liuqiqi/source/qt/qt-everywhere-opensource-src-4.7.2/mkspecs/qws/linux-arm-g++. rnrn我试了网上能查得大部分办法,比如添加路径,修改qws/linux-arm-g++/qmake.conf文件,都不能成功,rn后来我觉得应该还是交叉编译tslib时出了问题, 于是就反过来去编译tslib,rn但是无论怎么弄都只能输出上面我复制的那些信息,输出的并不完整rn希望有高手能帮帮我,看看到底哪里出问题了,该怎么办,如果是交叉编译的问题,那么改怎么才能顺利编译tslib rn我卡这里好久了。。。谢谢了 rnrn
qt新手问题求助
请问 如何在qt中执行.exe文件和打开word文件?rnrn自己想作一个练习,两个按钮 一个按钮按下,执行一个游戏.exe文件,另一个按钮按下执行打开个人简历的word文档rnrn请高手指点 谢谢 最好详细点呀~~~~~~~~~~~~~~~
qt问题求助大神
我在release运行程序为什么显示rnrn无法定位程序输入点?viewportSizeHint@QScrollArea@@MBE?AVQSize@@XZ于动态链接库QtWidgets.dll上,rn我想问下大神们这是什么意思啊?改怎么修改
Qt界面问题求助
[img=http://img.my.csdn.net/uploads/201208/02/1343889210_4982.png][/img]rn帮助文档不知道怎么的就成这种颜色了,非常影响看文档,很多时候感觉就是在抓瞎,然后找不到那里可以改回来,试着修改系统主题了还是没什么用。rn注:我用的是archlinux + awesome
QT问题求助
在一个QMainwindow下有多个QWidget,当中其中一个时,在该QWidget的边沿出现一个红色边框,应该怎么弄啊 [size=12px][/size]
QT 求助
1.点击最小化按钮的事件是什么?rn我想重写最小化的事件,实现点击最小化按钮后显示为系统托盘,我先用event->ignore()处理好像不行。rnrn2.QTextEdit里如何高亮光标所在的一整行?
qt求助
求大神指点,如何利用qt调用google地图实现定位???
Qt求助!!!!!!!!!
我自定义了一个按钮类,[img=https://img-bbs.csdn.net/upload/201703/08/1488983983_800170.png][/img]rn然后重写了这两个函数,鼠标移上去会使按钮变红,移开后会恢复白色,rn但我点击按钮把窗口最小化后,重新恢复窗口时,按钮还是红色,怎么办!!!!
Qt简介及Qt on Android简介
本课程起始于基础的开发环境搭建和Qt Creator介绍,帮助初学者入门;着力于Qt的内在机制,由浅入深介绍信号与槽、Qt模板库、事件、文件处理、XML、网络、多线程、各种GUI控件、布局管理器等各种Qt基础主题(这些主题可同时在Qt桌面编程和Android平台上使用),同时辅以简洁有效有针对性的实例程序(每个示例程序都可以在 Android 平台上运行)。
Qt基础与Qt on Android入门
本课程起始于基础的开发环境搭建和Qt Creator介绍,帮助初学者入门;着力于Qt的内在机制,由浅入深介绍信号与槽、Qt模板库、事件、文件处理、XML、网络、多线程、各种GUI控件、布局管理器等各种Qt基础主题(这些主题可同时在Qt桌面编程和Android平台上使用),同时辅以简洁有效有针对性的实例程序(每个示例程序都可以在 Android 平台上运行)。
qt on android 部署问题
根据“ Qt on Android:图文详解Hello World全过程”(http://blog.csdn.net/foruok/article/details/23528293)这篇博客,我搭建了开发环境。但是,在运行设置里,我的部署和他不一样:rn[img=https://img-bbs.csdn.net/upload/201505/10/1431224113_599598.png][/img]rn因此创建密钥文件和证书那些步骤我也没做。rn不过,我的第一个程序“hello world”也出来了。可是,我现在想用一个第三方的库,看见了“Qt for Android 部署流程分析”(http://blog.csdn.net/foruok/article/details/17796017)的方法,但现在的问题是,我部署里没有Additional LIbraries。rn本来想在@foruok 老师的帖子评论提问的,但是评论没有图片。所以开了个帖子,希望能得到解答,谢谢。
Qt for Android的类库问题
环境搭建好后,正常编译qt程序,模拟器启动完毕,但是执行程序的时候。rnrn模拟器上出现需要下载 Ministo 的Qt库,但是点击yes后,显示 Can't find Ministro service,the application can't start.rnrn控制台上出现下列信息。rnrnI/Qt JAVA ( 1368): surfaceChanged: 480,762rnW/System.err( 1368): android.content.ActivityNotFoundException: No Activity found to handle Intent act=android.intent.action.VIEW dat=market://search?q=pname:eu.licentia.necessitas.ministro rnW/System.err( 1368): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)rnW/System.err( 1368): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)rnW/System.err( 1368): at android.app.Activity.startActivityForResult(Activity.java:2817)rnW/System.err( 1368): at eu.licentia.necessitas.industrius.QtActivity$4.onClick(QtActivity.java:239)rnW/System.err( 1368): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:158)rnW/System.err( 1368): at android.os.Handler.dispatchMessage(Handler.java:99)rnW/System.err( 1368): at android.os.Looper.loop(Looper.java:123)rnW/System.err( 1368): at android.app.ActivityThread.main(ActivityThread.java:4627)rnW/System.err( 1368): at java.lang.reflect.Method.invokeNative(Native Method)rnW/System.err( 1368): at java.lang.reflect.Method.invoke(Method.java:521)rnW/System.err( 1368): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)rnW/System.err( 1368): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)rnW/System.err( 1368): at dalvik.system.NativeStart.main(Native Method)rnI/Qt JAVA ( 1368): onDestroyrnI/AndroidRuntime( 1368): AndroidRuntime onExit calling exit(0)rnrn'eu.licentia.necessitas.industrius.example.androidTest' diedrnrn求问题的分析及解答。。。rn谢谢
Qt for android部署问题
Building the android package failed!rn -- For more information, run this command with --verbose.rnrnandroid模拟器已经能跑起来了,rnandroid sdk tools23.02,rnandroid sdk platform_tools20,rnandroid build tools 20rnandroid 4.3(api 18)rnextras下面的东西也都安装了rnrn哪位解答下需要怎么办?rn
Qt for android问题
您好 我学习了网上的一些Qt for android教程 但是一直有个错误无法解决 想请各位指导一下rn我编译可以通过 但是运行的时候提示:rnPackaging Error: Command 'D:\Qt\Necessitas/apache-ant-1.8.2/bin/ant.bat clean debug' failed.Exit code: 1rnError while building project TestAndroid (target: Android)rnWhen executing build step 'Packaging for Android'rn烦请指点
Qt for Android 的部署问题
Qt 5.2.0 beta 版本提供了3种部署方案rnrn1.Use Ministro service to install Qtrnrn2.Deploy local Qt libraries to tmeporary directoryrnrn3.Bundle Qt libraries in APKrnrn3生成的APK较大而且部署时间慢,rn2适合开发调试rnrn所以打算使用2来部署Android程序,但是报错rnrn[code=c]rnWarning: Dependency not found: D:/Qt/Qt5.2.0/5.2.0-beta1/android_armv7/plugins/audiornCopying file to device failed!rn12:49:07: 进程"D:\Qt\Qt5.2.0\5.2.0-beta1\android_armv7\bin\androiddeployqt.exe"退出,退出代码 5 。rnError while building/deploying project stocqt (kit: Android for armeabi-v7a (GCC 4.6, Qt 5.2.0))rn当执行步骤 'Deploy to Android device'时rn[/code]
Qt for android编译问题
在windows 32bit编译qt android的hello world程序.rn运行时虚拟机已经弹出来了.结果提示错误信息:rnrnIn file included from ..\..\..\..\..\android\android-ndk-r9d\sources\cxx-stl\gnu-libstdc++\4.8\include/algorithm:60:0,rn from ..\..\..\..\..\Qt\Qt5.2.1\5.2.1\android_armv7\include/QtCore/qglobal.h:82,rn from ..\..\..\..\..\Qt\Qt5.2.1\5.2.1\android_armv7\include/QtGui/qwindowdefs.h:45,rn from ..\..\..\..\..\Qt\Qt5.2.1\5.2.1\android_armv7\include\QtWidgets/qwidget.h:45,rn from ..\..\..\..\..\Qt\Qt5.2.1\5.2.1\android_armv7\include\QtWidgets/QWidget:1,rn from ..\untitled\widget.h:4,rn from ..\untitled\main.cpp:1:rn..\..\..\..\..\android\android-ndk-r9d\sources\cxx-stl\gnu-libstdc++\4.8\include/utility:68:28: fatal error: bits/c++config.h: No such file or directoryrn #include rnrn在网上找了很久都没有解决..求打救阿!
Qt Android编译问题
创建了Qt android工程,没有添加任何代码,编译出现一下问题rnBUILD FAILEDrnC:\Android\sdk\tools\ant\build.xml:649: The following error occurred while executing this line:rnC:\Android\sdk\tools\ant\build.xml:655: Execute failed: java.io.IOException: Cannot run program "C:\Qt\Qt5.4.2\Tools\QtCreator\bin\project\build-android_1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_4_2-Debug\android-build\$aidl": CreateProcess error=2, ?????????rn at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)rn at java.lang.Runtime.exec(Runtime.java:617)rn at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)rn at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)rn at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)rn at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)rn at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)rn at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)rn at com.android.ant.AidlExecTask$AidlProcessor.process(AidlExecTask.java:102)rn at com.android.ant.MultiFilesTask.processFiles(MultiFilesTask.java:131)rn at com.android.ant.AidlExecTask.execute(AidlExecTask.java:203)rn at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)rn at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)rn at org.apache.tools.ant.Task.perform(Task.java:348)rn at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)rn at com.android.ant.IfElseTask.execute(IfElseTask.java:120)rn at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)rn at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)rn at org.apache.tools.ant.Task.perform(Task.java:348)rn at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)rn at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)rn at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)rn at org.apache.tools.ant.Task.perform(Task.java:348)rn at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)rn at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)rn at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)rn at org.apache.tools.ant.Task.perform(Task.java:348)rn at org.apache.tools.ant.Target.execute(Target.java:435)rn at org.apache.tools.ant.Target.performTasks(Target.java:456)rn at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)rn at org.apache.tools.ant.Project.executeTarget(Project.java:1376)rn at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)rn at org.apache.tools.ant.Project.executeTargets(Project.java:1260)rn at org.apache.tools.ant.Main.runBuild(Main.java:853)rn at org.apache.tools.ant.Main.startAnt(Main.java:235)rn at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)rn at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)rnCaused by: java.io.IOException: CreateProcess error=2, ?????????rn at java.lang.ProcessImpl.create(Native Method)rn at java.lang.ProcessImpl.(ProcessImpl.java:385)rn at java.lang.ProcessImpl.start(ProcessImpl.java:136)rn at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)rn ... 48 morernrnTotal time: 4 secondsrnBuilding the android package failed!rn -- For more information, run this command with --verbose.rn20:29:18: 进程"C:\Qt\Qt5.4.2\5.4\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。rnError while building/deploying project android_1 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.4.2))rnWhen executing step "Build Android APK"rnrn
qt for android问题
运行时总是出现rn[img=https://img-bbs.csdn.net/upload/201406/14/1402676076_346258.jpg][/img]rn其他配置正确,求大神帮忙rn
qt for android 第三方登陆问题
不知道有没有大神试过用qt for android 添加第三方登陆功能,我测试了一下微信登陆,很奇怪的情况,大部分情况下,微信授权页面都无法被吊起,偶尔能出现一两次,log中完全没有区别。rnV/MicroMsg.SDK.WXApiImplV10.ActivityLifecycleCb(12350): ************ onActivityPausedrnI/MID (12350): read mid from sharedPreferencesrnV/MicroMsg.SDK.WXApiImplV10.ActivityLifecycleCb(12350): ************* onActivityResumedrnV/MicroMsg.SDK.WXApiImplV10.ActivityLifecycleCb(12350): WXStat trigger onForegroundrnrn好奇是什么原因。求解啊!
Qt on android 的问题
[img=https://img-bbs.csdn.net/upload/201611/18/1479463588_975434.png][/img][img=https://img-bbs.csdn.net/upload/201611/18/1479463605_208561.png][/img] 第一图那个问题是什么意思啊?怎么解决啊,还有我就是想跑个hello Android程序就一直运行在第二张图那里,为什么啊[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/5.gif][/img]
Qt for android 编译问题
编译时出现如下错误:rnFAILURE: Build failed with an exception.rnrn* What went wrong:rnA problem occurred configuring root project 'android-build'.rn> Could not resolve all dependencies for configuration ':classpath'.rn > Could not resolve com.android.tools.build:gradle:2.2.3.rn Required by:rn project :rn > Could not resolve com.android.tools.build:gradle:2.2.3.rn > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom'.rn > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom'.rn > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/108.168.243.150] failed: Connection timed out: connectrnrn* Try:rnRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.rnrn但我从浏览器中输入:'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pomrn是可以下载的,请知道的大神指教!
QT Android
QT开发的程序怎么样在Android的中跑起来,我按照网上说的配环境配了几天也没有搞好。。。一查网上有说现在Qt已经发布了一个版本可以开发Android 的了,有没有那个大哥发个下载地址,如果没有可以教我怎么在Windows下配置Qt开发Android的开发环境,开发语言是c++、C 而不是Java,谢谢。。。。
Qt 与 Android
有人在移植Qt到Android平台,已经完成不少模块。看来Qt不久就可以在Android上运行了,有兴趣的朋友可载来玩玩!rn[url=http://code.google.com/p/android-lighthouse][/url]
qt for android
主要是qt for android的源码,可编译
QT for android
在QT编译安卓的时候,配置好环境,建立第一个项目,构建时出现如下错误,求助各位大神怎么解决?rnInstall to device: NornFailed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.rnjava.lang.IllegalArgumentException: android.buildToolsVersion is missing!rn at com.android.build.gradle.internal.SdkHandler.initTarget(SdkHandler.java:84)rn at com.android.build.gradle.BasePlugin.ensureTargetSetup(BasePlugin.groovy:467)rn at com.android.build.gradle.BasePlugin.access$0(BasePlugin.groovy)rn at com.android.build.gradle.BasePlugin$_createTasks_closure9.doCall(BasePlugin.groovy:372)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:483)rn at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)rn at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)rn at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:278)rn at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)rn at groovy.lang.Closure.call(Closure.java:423)rn at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)rn at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)rn at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)rn at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)rn at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)rn at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)rn at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:79)rn at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:65)rn at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)rn at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)rn at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)rn at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)rn at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)rn at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)rn at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)rn at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)rn at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)rn at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)rn at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)rn at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)rn at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)rn at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)rn at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)rn at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)rn at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)rn at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)rn at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)rn at org.gradle.launcher.Main.doAction(Main.java:33)rn at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:483)rn at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)rn at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)rn at org.gradle.launcher.GradleMain.main(GradleMain.java:23)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:483)rn at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)rn at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)rn at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)rnrnFAILURE: Build failed with an exception.rnrn* Where:rnBuild file 'F:\QT\build-1-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_1-Debug\android-build\build.gradle' line: 39rnrn* What went wrong:rnA problem occurred evaluating root project 'android-build'.rn> Invalid revision: android-4.4.2rnrn* Try:rnRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.rnrnBUILD FAILEDrnrnTotal time: 3.497 secsrnBuilding the android package failed!rn -- For more information, run this command with --verbose.rn11:23:23: 进程"D:\QT5.6\5.6\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。rnError while building/deploying project 1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.6.1))rnWhen executing step "Build Android APK"rn11:23:23: Elapsed time: 00:26.
有关qt webkit的鼠标事件问题
我现在用qt写了一个简单的浏览器程序,整个mianwindow窗口大部分面积被webview占据。现在我写了一个mousePressEvent函数,通过点击鼠标左键可以将鼠标的相对坐标记录在记事本内。但是只有我鼠标点在窗口组件之间的缝隙里才能触发这个函数,也就是说鼠标点在webview上根本没反应,求问怎么才能让鼠标在webview上点击也能触发函数呢
有关Qt 图形视图框架的问题?
最近学习使用Qt 图形视图框架,有几点比较迷惑:rn1.它的坐标系统搞不清楚。图元,场景,视图坐标系 之间的关系,他们是如何相互转换的。rn2.删除图元。如何选择和删除图元?多个图元在同一位置时如何删除某一个?rn哪位大牛根据自己的理解讲一下,万分感谢。
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview