原来用minGW编译了一个在c盘qt-win-opensource-src-4.3.3(下称版本A) 后来因为在win平台下面 还是vs.net用习惯了
就按网上的办法 复制一个源代码到d,重新用nmake编译了一份(版本B);
结果版本B运行正常(用Qt Visual Studio Integration集成的)
可是用原来的版本A出现以下问题
运行cmd
输入 qmake -project
qmake -tmp.pro
make
编译无错 ,连接出现下面错误
G:/tmp/main.cpp:10: undefined reference to `qInitResources_application()'
collect2: ld returned 1 exit status
make[1]: *** [debug\tmp.exe] Error 1
make[1]: Leaving directory `G:/tmp'
make: *** [debug] Error 2
原来这个代码在版本B前就写好的,最初也是用版本A生成的,不知道现在为什么不行了
请教下 如何让版本A和版本B和谐相处?
先谢谢了
[ 此贴被傻猫在2008-04-05 01:15重新编辑 ]