lansh

首页 新随笔 联系 订阅 管理
  94 Posts :: 1 Stories :: 92 Comments :: 2 Trackbacks

02 2010 档案

摘要: How can I build multiple modes without switching ? To build multiple modes (e.g. Debug and Release) in one shot without constantly running cmake -DCMAKE_BUILD_TYPE=Debug and cmake -DCMAKE_BUILD_TYPE=...阅读全文
posted @ 2010-02-08 14:59 lansh 阅读(113) | 评论 (0) 编辑

摘要: 静态编译QT涉及到两个方面: 1.静态编译QT,使程序可以将静态库的形式使用QT,这个好办,在configure.exe 程序的参数下,给上-static参数即可。 2.QT使用了VC的链接库也要静态链接。这个就有点难办了,因为QT默认的使用方式是动态的,不过,有了前人的研究就好办了,打开<qt- install-dir>\mkspecs\win32-msvc2008\qmake.co...阅读全文
posted @ 2010-02-03 21:39 lansh 阅读(730) | 评论 (0) 编辑