问题描述
- Qt for android,在手机上运行出错。
-
Qt5.3.项目在桌面版能正常运行和调试。在android上可以把应用装在手机上,但是运行提示停止运行,也不能调试。调试弹出提示信息:
This does not seem to be a "Debug" build.
Setting breakpoints by file name and line number may fail.Section .debug_info: Not found.
Section .debug_abbrev: Not found.
Section .debug_line: Not found.
Section .debug_str: Not found.
Section .debug_loc: Not found.
Section .debug_range: Not found.
Section .gdb_index: Not found.
Section .note.gnu.build-id: Not found.
Section .gnu.hash: Not found.
Section .gnu_debuglink: Not found.在应用程序输出窗口提示:启动远端进程。E/Trace (10338): error opening trace file: No such file or directory (2)
本项目使用了.so文件,在pro文件下配置为:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = aisMessTest
TEMPLATE = appSOURCES += main.cpp
widget.cppHEADERS += widget.h
FORMS += widget.ui
QT+=network#win32:CONFIG(release, debug|release): LIBS += -L$$PWD/release/ -lLibAisParse
#else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/debug/ -lLibAisParse
#else:unix: LIBS += -L$$PWD/ -lLibAisParseINCLUDEPATH += $$PWD/
DEPENDPATH += $$PWD/LIBS +=
libLibAisParse.soOTHER_FILES +=
问题何在?????
解决方案
不知道啊!可口可乐了可口可乐了粑粑
解决方案二:
安卓应用最好还是不要在qt上开发。
解决方案三:
select debug, not release.