Application too slow
I'm testing my application and is too slow. I've put some breakpoints on my code and I've seen that "QApplication app(argc, argv);" line spends too much time.
Is there any way to reduce this time?
How much is: too slow?
what is your platform? embedded is not clearly defined, which processor etc...
Do you use parameters?
A bit more information could help.
- Windows XP SP3
- Visual Studio 2008 Professional
- Qt 4.7.1 for WinCE
- Add-in plugin
- Intel(R) Core(TM)2 Duo CPU E6550 @2.33GHz, 3,23 GB of RAM
- Windows Mobile 6.5 Professional
- Casio IT-800 --> Marvell® PXA320 624MHz
I compile, build and deploy with Visual Studio and I didn't add any parameter.... When I'm debugging the line “QApplication app(argc, argv);” takes about 15 seconds. I think it is too time.
I've found this link "http://bugreports.qt.nokia.com/browse/QTBUG-11309?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab#issue-tabs":http://bugreports.qt.nokia.com/browse/QTBUG-11309?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab#issue-tabs. It seems that the problem is fixed on Qt 4.7 but I get it on Qt 4.7.1 for WinCE.
I don't know what is the cause... neither add a comment in link above...
did you check, whether the code is changed in 4.7.1 that is stated in the bug report?
I'm not familiar with the bug report. I've searched "slow start application" filtering with my Qt version, and a lot of issues have been listed, but I don't see any similiar to mine....
I meant, did you search the Qt source code for the fixes, meantioned in the bug fix?
I found this:
Programs starting is vary slow.
Debugging result is that very long delay happens in file qapplication_win.cpp
line 4023: iInkTablets->get_Count(&count);@
But, how is it useful for me?