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.
我使用Qt Creator的2.8.1基於Qt 5.1.1(GCC 4.6.1,64位)。 Qt庫,應用程序和所有依賴是使用GCC 4.8構建的。
在這種情況下,我可以對主應用程序使用調試器,但所有庫都無法進行調試,這是最奇怪的事情。
您是如何將庫類型更改爲靜態的? – Ela782
CONFIG + = staticlib – ZeAL0T