Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, January 2008
Qt 4.4 wincewm50pocket-msvc2005 error


Message 1 in thread

I'm getting following error while building Qt for WinCE.

Have tried with Qt 4.2.3 tpl also. It also throws same error.

Please help.

Thanks
Manjeet
-------------------
C:\Qt\4.4>setcepaths wincewm50pocket-msvc2005
Could not find Qt directory... Compiling might not work
Could not find any installed SDK, aborting!
'tmp_created_script_setup.bat' is not recognized as an internal or external 
comm
and,
operable program or batch file.
Could Not Find C:\Qt\4.4\tmp_created_script_setup.bat
     Windows Mobile 5.01 for Pocket PC selected, environment is set up
C:\Qt\4.4>nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd src\winmain\ && "C:\Program Files\Microsoft Visual Studio 
8\VC\BIN\nm
ake.exe" -f Makefile

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f 
Makefil
e.Debug all

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -nologo -Zm200 -Zc:wchar_t- -DDEBUG -D_DEBUG -Zi -MDd -W3 -w34100
-w34189 -DQT_THREAD_SUPPORT -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE 
 -
D_WIN32_WCE=0x501 -DARMV4I -D_ARMV4I_ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM  
-D_W
IN32 -D__arm__ -DQ_OS_WINCE_WM -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_EDITION=
QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QS
QLQUERY_FINISH -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -I"..\..\include" -I"tmp" 
 -I"
..\..\include\QtCore" -I"c:\Qt\4.4\include\qtmain" -I"tmp" -I"..\..\include\Acti
veQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\mkspecs\wincewm50pocket-msvc2005"
-Fotmp\obj\debug_shared\ @C:\DOCUME~1\madahiya\LOCALS~1\Temp\nmA03.tmp
qtmain_win.cpp
.\qtmain_win.cpp(73) : error C2731: 'WinMain' : function cannot be 
overloaded
        .\qtmain_win.cpp(68) : see declaration of 'WinMain'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\Qt\4.4>


--
 [ signature omitted ]