[Qtce-preview-feedback] Problem building Qt 4.4.0 using qconfig

Laurence E. Bernstein lbernstein at chisystems.com
Mon Mar 24 20:14:45 CET 2008


I also tried to make a custom build for CE to reduce the overall size 
but was never able to do so.
Even using the provided custom header files I received compilation 
errors every time.
I eventually gave up on it. :(

Lars


George H. Locktish wrote:
>
> I am attempting to compile Qt 4.4.0 for Windows Mobile 5.0 Pocket PC. 
> I have used qconfig.exe to create a custom configuration. When I try 
> to build Qt, I get the following error:
>
> cl -c -FIqt_gui_pch.h -Yuqt_gui_pch.h -Fptmp\obj\debug_static\QtGuid_pch
>
> .pch -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -W3 -w34100 
> -w34189 -
>
> EHsc -DQT_THREAD_SUPPORT -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE 
> -DUNICODE -D_W
>
> IN32_WCE=0x501 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM 
> -DARM -D_WIN3
>
> 2 -D__arm__ -DQ_OS_WINCE_WM -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG 
> -DQT_EDITION=QT_
>
> EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE 
> -DQT_NO_CAST_TO_ASCII
>
> -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT_MOC_COMPAT 
> -D_USE_MA
>
> TH_DEFINES -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE 
> -DQT_RASTER_PAINTENGI
>
> NE -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_MMX -DQT_HAVE_IWMMXT 
> -DQT_NO_FREETYPE -DQT
>
> _NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_CDE 
> -DQT_NO_STYLE_WINDOWSVISTA -DQT
>
> _NO_STYLE_WINDOWSXP -DQT_NO_STYLE_PLASTIQUE -DQT_NO_STYLE_CLEANLOOKS 
> -DQT_NO_STY
>
> LE_MOTIF -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -I"..\..\include\QtCore" 
> -I"..\..\i
>
> nclude\QtCore" -I"..\..\include" -I"..\..\include\QtGui" -I"tmp" 
> -I"..\..\..\4.4
>
> .0-tp2\src\3rdparty\wintab" -I"..\..\..\4.4.0-tp2\src\3rdparty\libpng" 
> -I"..\..\
>
> ..\4.4.0-tp2\src\3rdparty\zlib" 
> -I"..\..\..\4.4.0-tp2\src\3rdparty\harfbuzz\src"
>
> -I"..\..\..\4.4.0-tp2\src\gui\dialogs" -I"..\..\include\ActiveQt" 
> -I"tmp\moc\de
>
> bug_static" -I"..\..\..\4.4.0-tp2\src\gui" -I"." 
> -I"..\..\mkspecs\wincewm50pocke
>
> t-msvc2005" -Fotmp\obj\debug_static\ 
> @C:\DOCUME~1\GHLOCK~1\LOCALS~1\Temp\nmF708.
>
> tmp
>
> qformlayout.cpp
>
> ..\..\..\4.4.0-tp2\src\gui\kernel\qformlayout.cpp(1267) : error C2039: 
> 'setBuddy
>
> ' : is not a member of 'QLabel'
>
> c:\qt\4.4.0-tp2-mobile-7-config-static\include\qtgui\../../../4.4.0-tp2/
>
> src/gui/widgets/qlabel.h(35) : see declaration of 'QLabel'
>
> Here is the command I issue to configure and build Qt:
>
> - C:\Qt\4.4.0-tp2\configure.exe –platform win32-msvc2005 –xplatform 
> wincewm50pocket-msvc2005 –stl –static –qconfig myconfig
>
> - setcepaths wincewm50pocket-msvc2005
>
> - nmake
>
> I have attached the header file that qconfig generates.
>
> - George
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qtce-preview-feedback mailing list
> Qtce-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback
>   


-- 

================================
Laurence E. Bernstein
Software Team Manager
CHI Systems, Inc.
San Diego Office
(858) 391-2830 x226




More information about the Qt-wince-interest mailing list