Hello. I'm trying to generate smaller dll's for my program on Windows Mobile 5 (qt-everywhere-opensource-src-4.6.2). I tried with minimal, small, medium flags but nothing work, except dist. Finally I copied qconfig-dist.h to qconfig-mydist.h and I removed COLORDIALOG option (only one flag - by qconfig.exe), but this also failed. Does anyone successful create smaller dll's for WM?

configure -qconfig mydist -platform win32-msvc2008 -xplatform
During compilation of "mydist" I get this error:

Qt Code:
  1. formscriptrunner.cpp
  2. Generating Code...
  3. cl -c -FIlib_pch.h -Yulib_pch.h -Fptmp\obj\debug_shared\QtDesignerd_pch.pch -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -E
  4. Hs-c- -W3 -w34100 -w34189 -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -D_WIN32_WCE=0x501
  5. -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D__arm__ -DQ_OS_WINCE_WM -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_NO_COLORDIALOG
  6. -DQDESIGNER_SDK_LIBRARY -DQDESIGNER_EXTENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY -DQDESIGNER_SHARED_LIBRARY -DQT_DESIGNER -DQT_DLL -DQT_SCRI
  7. PT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NO_DYNAMIC_CAST -I"..\..\..\..\include\QtCore" -I"..\..\..\..\includ
  8. e\QtGui" -I"..\..\..\..\include\QtXml" -I"..\..\..\..\include\QtScript" -I"..\..\..\..\include" -I"extension" -I"sdk" -I"uilib" -I"shared" -
  9. I"..\..\..\shared\qtpropertybrowser" -I"..\..\..\shared\deviceskin" -I"..\..\..\..\src\tools\rcc" -I"..\..\..\shared\findwidget" -I"..\..\..
  10. \shared\qtgradienteditor" -I"..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\..\..\mkspecs\wincewm50pocket-msvc2008" -
  11. Fotmp\obj\debug_shared\ @C:\DOCUME~1\Asdf\LOCALS~1\Temp\nm1471.tmp
  12. qtpropertybrowser.cpp
  13. qtpropertymanager.cpp
  14. ..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(3343) : warning C4305: 'argument' : truncation from 'int' to 'qreal'
  15. ..\..\..\shared\qtpropertybrowser\qtpropertymanager.cpp(3343) : warning C4305: 'argument' : truncation from 'int' to 'qreal'
  16. qteditorfactory.cpp
  17. ..\..\..\shared\qtpropertybrowser\qteditorfactory.cpp(2208) : error C2653: 'QColorDialog' : is not a class or namespace name
  18. ..\..\..\shared\qtpropertybrowser\qteditorfactory.cpp(2208) : error C2653: 'QColorDialog' : is not a class or namespace name
  19. ..\..\..\shared\qtpropertybrowser\qteditorfactory.cpp(2208) : error C2065: 'ShowAlphaChannel' : undeclared identifier
  20. ..\..\..\shared\qtpropertybrowser\qteditorfactory.cpp(2208) : error C3861: 'getColor': identifier not found
  21. qtvariantproperty.cpp
  22. qttreepropertybrowser.cpp
  23. qtbuttonpropertybrowser.cpp
  24. qtgroupboxpropertybrowser.cpp
  25. qtpropertybrowserutils.cpp
  26. Generating Code...
  27. NMAKE : fatal error U1077: '"e:\Programy\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
  28. Stop.
  29. NMAKE : fatal error U1077: '"e:\Programy\Microsoft Visual Studio 9.0\VC\bin\nmake.exe"' : return code '0x2'
  30. Stop.
  31. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  32. Stop.
  33. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  34. Stop.
  35. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  36. Stop.
  37. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  38. Stop.
To copy to clipboard, switch view to plain text mode