2 promotergmy promotergmy 于 2015.06.26 18:13 提问

Qt for android,在手机上运行出错。 5C

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 = app

SOURCES += main.cpp\
widget.cpp

HEADERS += 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/ -lLibAisParse

INCLUDEPATH += $$PWD/
DEPENDPATH += $$PWD/

LIBS += \
libLibAisParse.so

OTHER_FILES +=

问题何在?????

3个回答

qq_21079387
qq_21079387   2015.06.26 19:26

不知道啊!可口可乐了可口可乐了粑粑

zhaoyongCNSX
zhaoyongCNSX   2015.06.28 13:11

安卓应用最好还是不要在qt上开发。

u010590568
u010590568   2015.12.28 17:19

select debug, not release.

Csdn user default icon
上传中...
上传图片
插入图片