Build Qt in “Release with Debug Info” mode?

后端 未结 7 1796
甜味超标
甜味超标 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:58

    Building Qt with this mode is not supported, see this bug. You can only do it manually by changing vcproj-files or Makefiles like in the answer of Macke.

    May I add that in Qt 4.8, this bug seems to have been fixed. I copied those two lines into my .pro file, and it worked like a charm.

提交回复
热议问题