博客
关于我
Qt Debug版本改Release
阅读量:234 次
发布时间:2019-03-01

本文共 251 字,大约阅读时间需要 1 分钟。

Debug版本包含了众多的调试信息,用于工程调试使用。产品交付时,多为release版本,此版本能够影藏调试信息,且程序较小。


  • 界面修改

        工程设置界面Build Step里的qmake build configuration中选择Release。

  • Shell修改

       qmake时添加参数"-CONFIG+=Release"。

  • 工具链修改

       假设已有Debug版本名为test的APP,使用指令arm-linux-gnueabihf-strip test即可,会抽掉所有的调试信息,与Release版本无异。

转载地址:http://lwrt.baihongyu.com/

你可能感兴趣的文章
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>