• 5368阅读
  • 3回复

linux下运行正常,windows下运行缓慢。。 [复制链接]

上一主题 下一主题
离线ziteng
 
只看楼主 倒序阅读 楼主  发表于: 2008-05-18
— 本帖被 XChinux 执行加亮操作(2008-05-18) —
我的程序是在linux下面开发的,能够正常运行,但是,我把程序搬到windows上后用qt+vc6.0编译后生成exe文件,运行却十分的缓慢,甚至程序启动都需要很久。

不知道这个又是什么原因,请问大家有遇到类似情况的么?怎么解决啊。。
离线ziteng
只看该作者 1楼 发表于: 2008-05-22
这个问题没人遇到过啊。。。。我怎么这么倒霉呢。。。。我可怜的毕设啊。。
离线steinlee

只看该作者 2楼 发表于: 2008-06-14
Check if you compiled your code with option Debug. If you compile your code with release option, it will be much faster(about twice faster). Normally the C++ code compiled on Windows is faster than the one made on Linux because optimizer on Windows is better.
Looking for remote C/C++ and Qt 兼职
离线ziteng
只看该作者 3楼 发表于: 2008-10-06
ok, thanks, i will try..
快速回复
限100 字节
 
上一个 下一个