[Qt-wince-interest] Advice on reduction of Qt dll size in Windows
Johan Lantz
johan.lantz at genaker.net
Wed Jan 20 16:19:40 CET 2010
Hi Thomas
Again thanks alot for the fast reply. Qt loads even in debug mode like
you say. However I have a dll that I need in my project and in Debug
mode this dll is 1,8Mb and this does not load on Windows Mobile with Qt
due to not enough storage.
So what I am trying right now is to use the qconfig tool and remove some
stuff and I am about to cry. As soon as I involve the -qconfig option Qt
fails to compile. I even tried -config medium to use one of the preset
configurations and I still get compilation errors.
I used this configure option:
configure -debug-and-release -qconfig medium -no-phonon -no-qt3support
-platform win32-msvc2008 -xplatform wincewm50pocket-msvc2008
It does not complain and setcepaths work but during compilation I get
various errors, the latest try gave this:
qsystemtrayicon_win.cpp
util\qsystemtrayicon_win.cpp(297) : error C2039: 'contextMenu' : is not
a member
of 'QSystemTrayIcon'
c:\qt\4.6.0_pocket_pc5_medium\src\gui\util\qsystemtrayicon.h(65) : see d
eclaration of 'QSystemTrayIcon'
util\qsystemtrayicon_win.cpp(298) : error C2039: 'contextMenu' : is not
a member
of 'QSystemTrayIcon'
If possible I would really appreciate some more detailed instruction on
a way to shrink the Qt dlls in a way that you know work for Windows CE.
Thanks again
/Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20100120/2aec2730/attachment.html
More information about the Qt-wince-interest
mailing list