Slow load from CD or DVD
-
Do you load Qt dynamically? I would suspect it takes the OS a lot of time to load QtCore and - especially - QtGui. 2 things that might help here are:
- make sure to deploy Qt release dlls (they are much, much smaller in size)
- try to make them reside close to the application, so that CD/DVD head does not need to jump around too much
Alternatively, you can compile statically just to be sure.
-
Well, The DVD/CD is much much much slower in operation then a HDD! It always is. So when having a complete program on a CD is will be hard to load into memory before execution. As sierdzio says is very much so. Make the program as small as possible by using the dynamic linked methode and copy the used dll's into the program dir on the CD. That might do the trick.
Greetz -
something is not right here. An 81 KiB file on CD should be loaded into memory nearly instantly. Even the ~12 MiB of the Qt so's should be in memory in no time.
Is it a modern CD drive (52x or something like that?), does other data of that magnitude copy fast to your HDD?