gpt4 book ai didi

c++ - 在 Qt Creator 中缓慢构建 Symbian Qt 项目。耗时20多分钟

转载 作者:行者123 更新时间:2023-11-30 02:10:28 25 4
gpt4 key购买 nike

我正在尝试使用最新发布的诺基亚 Qt SDK(Qt 4.6.3 和 Qt Mobility 1.0.2)构建一个中等大小的 Symbian Qt 项目(大约 100 个文件)。

模拟器的构建在 3 分钟内完成,但是当我为设备构建时,构建花费了 20 多分钟!我可以忘记尝试在设备上进行调试。真令人沮丧!

我的机器规范如下: window 7 32 位3.24GB 内存英特尔酷睿 2 双核 1.86GHz

编译器卡在这里10多分钟:

Running build steps for project AppName...
Starting: "c:/nokiaqtsdk/symbian/sdk/bin/qmake.exe" C:/QtProjects/AppName/AppName.pro -r -spec symbian-abld -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc CONFIG+=release
The process "c:/nokiaqtsdk/symbian/sdk/bin/qmake.exe" exited normally.
Starting: "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" release-gcce -w
C:\NokiaQtSDK\Symbian\SDK\epoc32\tools\make.exe: Entering directory `C:/QtProjects/AppName'

bldmake bldfiles

ABLD.BAT build gcce urel

make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\QtProjects\AppName\EXPORT.make" EXPORT VERBOSE=-s

make[1]: Entering directory `C:/QtProjects/AppName'

Nothing to do

make[1]: Leaving directory `C:/QtProjects/AppName'

make -r -f "\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\QtProjects\AppName\GCCE.make" MAKEFILE VERBOSE=-s

make[1]: Entering directory `C:/QtProjects/AppName'

make -s -C \QtProjects\AppName-f "MAKEFILE_0Xe001827C.MK" TO_ROOT=..\.. EPOCBLD=\NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\MAKEFILE_0Xe001827C\GCCE TO_BLDINF=..\..\QtProjects\AppNamePLATFORM=GCCE MAKMAKE

perl -S makmake.pl -D \QtProjects\AppName\APPNAME_0Xe001827C GCCE

WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(65) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(66) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\sys\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(69) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\oem\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(72) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(73) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(74) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(76) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\osextensions\loc\sc\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(77) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\domain\middleware\loc\sc\" not found



WARNING: \QtProjects\AppName\APPNAME_0Xe001827C .MMP(82) : SYSTEMINCLUDE path "\NokiaQtSDK\Symbian\SDK\epoc32\include\osextensions\stdapis\stlport\" not found





MMPFILE "\QtProjects\AppName\APPNAME_0Xe001827C .MMP"

最佳答案

我解决了这个线程指出的慢编译问题 http://discussion.forum.nokia.com/forum/showthread.php?196650-Selective-compiling&p=720040&viewfull=1#post720040

我加了

SYMBIANBUILD_DEPENDENCYOFF = 1

添加到项目环境变量中(也可以添加到Windows环境变量中),项目编译又回到了速度。

关于c++ - 在 Qt Creator 中缓慢构建 Symbian Qt 项目。耗时20多分钟,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4538672/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com