[Qt-wince-interest] Startup speed on WinCe Devices: why is so slow?

Fabio Bondioli fbondioli at autentiweb.com
Fri Jan 22 07:31:53 CET 2010


Hi all,
I'm still stuck with this problem and I've not found a solution still now.

I've tried more than 20 recompilations with different configurations but 
still the "hello world" application takes soo long to startup
this is my actual configuration:
c:\Qt\4.6.0\configure.exe -debug-and-release  -nomake examples -nomake 
demos -no-exceptions -no-openssl -no-opengl -no-style-motif 
-no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite 
-opensource -qt-style-windowsce -qt-style-windowsmobile 
-no-native-gestures -no-cetest -platform win32-msvc2008 -xplatform 
wincewm60professional-msvc2008

I've also tried to create a qconfig-mywince.h using qconfig tool and 
removing some features and widgets

I've also tried to build it static with this configuration:
c:\Qt\4.6.0\configure.exe -release  -nomake examples -nomake demos -fast 
-no-openssl -no-opengl -no-style-motif -no-style-cde 
-no-style-cleanlooks -no-style-plastique -no-sql-sqlite -opensource 
-qt-style-windowsce -qt-style-windowsmobile -no-cetest -arch windowsce 
-static -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008

The static compiled helloworld.exe is about 4mb, compressed with upx 
become 1.3 mb but still it takes 8-10 seconds to startup  both 
compressed and uncompressed

I've tried to build qt for wm5 (pocketPc) with this configuration:
c:\Qt\4.6.0\configure.exe -debug-and-release  -nomake examples -nomake 
demos -no-exceptions -no-openssl -no-opengl -no-style-motif 
-no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite 
-opensource -qt-style-windowsce -qt-style-windowsmobile 
-no-native-gestures -no-cetest -platform win32-msvc2008 -xplatform 
wincewm50pocket-msvc2008

I obtain the dlls that are exactly the same size of the wm6 version and 
still the hello world compiled against these take the same time to start.

I'm using shadow build, mi actual tree is like this:
c:\Qt
    \4.6.0\ Qt sdk
    \wm6 one of my build
    \wm6_static static compiled version
    \wm5 compiled for wm5

I'm sure i'm making some very stupid error but actually I cannot 
understand what I'm doing wrong.
Any hint?

Best regards
Fabio

      



Fabio Bondioli ha scritto:
> Hì, I'm new to Qt and I'm trying to port a j2me app to be a native Qt 
> WM6 one.
> I've tested it a bit and I found that on old devices (HTC P3300 with 
> WM6.1pro) a simple Hello World Applications that just show a MainWindow 
> with a Label takes nearly 20 seconds to startup and the same application 
> takes 6-8 seconds on a brand new Samsung Omnia 2
>
> Is this normal? Do I need to recompile qt 4.6.0 with special flags? 
> (actually I've configured it with no ssl support, no qt3 support, no 
> rtti , no exceptions, no webkit)
> My application should be skinnable so I need the stylesheets.
>
> I'm using "realease" version dll
>
> Any suggestion?
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> ------------------------------------------------------------------------
>
>
> Nessun virus nel messaggio in arrivo.
> Controllato da AVG - www.avg.com 
> Versione: 8.5.432 / Database dei virus: 270.14.148/2629 -  Data di rilascio: 01/17/10 19:35:00
>
>   



More information about the Qt-wince-interest mailing list