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

Qt-interest Archive, November 2007
Build of Qt 4.4.0-20071129 with VS2005 fails


Message 1 in thread

I figured I'd try out an early test of a 4.4.0 snapshot... my build 
failed with the following:

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

        rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT 
-DQT_EDITION=QT_EDITION_DESKTOP -D_BUILD_FOR_QT_ 
-DLUCENE_DISABLE_MEMTRACKING -D_CRT_SECURE_NO_DEPRECATE -D_MT 
-DQHELP_LIB -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -fo 
tmp\obj\debug_shared\QtCLucened_resource.res QtCLucened_resource.rc

QtCLucened_resource.rc(8) : error RC2127 : version WORDs separated by 
commas expected
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
8\VC\BIN\rc.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

(I did not pass any parameters to 'configure'.)

--
 [ signature omitted ] 

Message 2 in thread

Gordon Schumacher wrote:
> I figured I'd try out an early test of a 4.4.0 snapshot... my build 
> failed with the following:
> 
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>        rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT 
> -DQT_EDITION=QT_EDITION_DESKTOP -D_BUILD_FOR_QT_ 
> -DLUCENE_DISABLE_MEMTRACKING -D_CRT_SECURE_NO_DEPRECATE -D_MT 
> -DQHELP_LIB -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -fo 
> tmp\obj\debug_shared\QtCLucened_resource.res QtCLucened_resource.rc
> 
> QtCLucened_resource.rc(8) : error RC2127 : version WORDs separated by 
> commas expected
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
> 8\VC\BIN\rc.EXE"' : return code '0x2'
> Stop.

Don't know wenn and how Trolls fix that, personally I could not wait :)
One method is to change in:

\Qt-4.4.0\tools\assistant\lib\lib.pro
\Qt-4.4.0\tools\assistant\lib\fulltextsearch\fulltextsearch.pro

the line

   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}

with

isEmpty(QT_MAJOR_VERSION) {
   VERSION=4.4.0
} else {
   VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
}


HTH,
Albert

--
 [ signature omitted ] 

Message 3 in thread

Gordon Schumacher wrote:

> I figured I'd try out an early test of a 4.4.0 snapshot... my build 
> failed with the following:
> 
...
> QtCLucened_resource.rc(8) : error RC2127 : version WORDs separated by 
> commas expected

Hi Gordon,

If you want quickly fix it, change the following lines in
QtCLucene_resource.res and QtCLucened_resource.res file:
	FILEVERSION ,,,0
	PRODUCTVERSION ,,,0
to this lines:
	FILEVERSION 0,0,0,0
	PRODUCTVERSION 0,0,0,0

Those files are in this directory:
$QTDIR\tools\assistant\lib\fulltextsearch\

The same error is in files QtHelp_resource.rc and
QtHelpd_resource.rc from $QTDIR\tools\assistant\lib\ dir.

I do not know it is correct fix but it help to complete
Qt compilation.

I have checked it on Qt 4.0.0 20071128 snapshot version in
MinGW environment.

Mariusz Badynski


--
 [ signature omitted ]