Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, February 2008
webkit + legacy Windows XP -- compile mishap


Message 1 in thread

I'm using a cl from WindowsSDK (see version info below).
"toupper()" is unknown at this place:

       cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -DQT_SHARED 
-DQT_TH
READ_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1 
-DUSE_SY
STEM_MALLOC -DNDEBUG -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS
 -DQT_44_API_QSQLQUERY_FINISH -DQT_MOC_COMPAT -D_USE_MATH_DEFINES 
-DBUILD_WEBKIT
 -DENABLE_ICONDATABASE=0 -DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 
-DBUILD
ING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_DLL -DQT_GUI_LIB 
-DQT_NETWORK_
LIB -DQT_CORE_LIB -I"..\..\..\..\include\QtCore" 
-I"..\..\..\..\include\QtCore"
-I"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include\QtNetwork" 
-I"..\..\..\
..\include\QtGui" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" 
-I"..\We
bKit\qt\Api" -I"..\JavaScriptCore" -I"..\JavaScriptCore\kjs" 
-I"..\JavaScriptCor
e\bindings" -I"..\JavaScriptCore\bindings\c" -I"..\JavaScriptCore\wtf" 
-I"..\Jav
aScriptCore\ForwardingHeaders" -I"." -I"ForwardingHeaders" -I"platform" 
-I"platf
orm\network" -I"platform\graphics" -I"loader" -I"page" -I"css" -I"dom" 
-I"bridge
" -I"editing" -I"rendering" -I"history" -I"xml" -I"html" 
-I"..\..\..\..\include\
QtWebKit" -I"tmp" -I"generated" -I"tmp" -I"..\JavaScriptCore" 
-I"..\JavaScriptCo
re\kjs" -I"..\JavaScriptCore\bindings" -I"..\JavaScriptCore\bindings\c" 
-I"..\Ja
vaScriptCore\wtf" -I"..\JavaScriptCore\bindings\qt" 
-I"..\JavaScriptCore\os-win3
2" -I"..\JavaScriptCore\pcre" 
-I"c:\Qt\qt-4.4.0-tp1\src\3rdparty\webkit\WebKitBu
ild\Debug\JavaScriptCore\kjs\tmp" -I"platform\qt" 
-I"platform\network\qt" -I"pla
tform\graphics\qt" -I"platform\graphics\svg\qt" -I"loader\qt" 
-I"page\qt" -I"..\
WebKit\qt\WebCoreSupport" -I"..\WebKit\qt\Api" -I"." 
-I"ForwardingHeaders" -I"..
\..\webkit" -I"..\JavaScriptCore\kjs" -I"..\JavaScriptCore\bindings" 
-I"platform
" -I"platform\network" -I"platform\graphics" -I"platform\graphics\svg" 
-I"platfo
rm\graphics\svg\filters" -I"loader" -I"loader\icon" -I"css" -I"dom" 
-I"page" -I"
bridge" -I"editing" -I"rendering" -I"history" -I"xml" -I"html" 
-I"bindings\js" -
I"ksvg2" -I"ksvg2\css" -I"ksvg2\svg" -I"ksvg2\misc" -I"ksvg2\events" 
-I"platform
\image-decoders" -I"c:\Qt\qt-4.4.0-tp1\include\ActiveQt" 
-I"tmp\moc\debug_shared
" -I"." -I"..\..\..\..\mkspecs\win32-msvc2005" 
-Fotmp\obj\debug_shared\PlatformK
eyboardEventQt.obj platform\qt\PlatformKeyboardEventQt.cpp
PlatformKeyboardEventQt.cpp
platform\qt\PlatformKeyboardEventQt.cpp(133) : error C3861: 'toupper': 
identifie
r not found
NMAKE : fatal error U1077: '"C:\Programme\Microsoft 
SDKs\Windows\v6.0\VC\Bin\cl.
EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft 
SDKs\Windows\v6.0\VC\Bin\nma
ke.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\Qt\qt-4.4.0-tp1>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 
for 80x86

Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

Frank Mertens wrote:
>platform\qt\PlatformKeyboardEventQt.cpp(133) : error C3861: 'toupper':
>identifier not found

Make sure you're using a snapshot less than a week old. Otherwise we can't 
help you.

I added the missing #include <ctype.h> over two weeks ago.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.