[Qt-wince-interest] Loading a dll on Windows Mobile fails - Not enough storage
Johan Lantz
johan.lantz at genaker.net
Fri Jan 8 15:49:04 CET 2010
Hi
I have a pure C dll that I must use in my new QT project. However when I
try to load it it fails and I tracked the actual error down to
load_sys() inside QLibraryPrivate. There I can see that QT is building
an errorString like this:
Cannot load library "name" : Not enough storage space available to
complete this operation.
I tried this on a phone as well as the emulator with the same result.
The dll is about 1mb in Release mode and less then 2mb in Debug mode.
This is the only dll I am trying to add. My project concist of
GUI - Very basic, some QT buttons
Middle Layer - QT Core
C dll - Loaded by the middle Layer. This is the one that is failing.
In my folder I have the following files:
My GUI 53kb
My Middle Layer 71kb
My C dll 1.86Mb
msvcr90d 96kb
QtCored4 3.30mb
QtGuid4 11.8mb
Is the problem that Qt is so big. Does it make sense that with the basic
Qt config I cannot load a dll of my own or am I just doing something wrong?
Best Regards
Johan
More information about the Qt-wince-interest
mailing list