Build Qt in “Release with Debug Info” mode?

后端 未结 7 1774
甜味超标
甜味超标 2020-12-30 21:32

Is there a way to build Qt in \"Release with Debug info\" mode ? My application crashes only in \"release\" mode (works fine in Debug mode) and seems the issue comes from Qt

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-30 21:42

    Looks like you need to adjust QMAKE_CFLAGS_RELEASE variable. In case of gcc you just need to add -g option to add debug info.

提交回复
热议问题