PDA

View Full Version : Trying to build Qt4.5.1 static for win32-msvc2008



bnilsson
11th June 2009, 11:04
I have a problem building static Qt4.5.1 with Visual Studio 2008.
I have WinXP SP3 on a HPd330, 1.49GB
I have installed qt-win-opensource-4.5.1-mingw.exe.
I follow the instructions in Assistant, I open the Visual Studio 2008 command window:
cd c:\Qt\4.5.1
configure -static
nmake sub-src

After a few hours I get:

lib /NOLOGO /OUT:..\..\..\..\lib\QtWebKit.lib @C:\DOCUME~1\bnilsson\LOCALS~1\Temp\nm15A.tmp
QtWebKit_pch.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link
command line to improve linker performance
..\..\..\..\lib\QtWebKit.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x48C8CA22
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\lib.EXE"' : return code '0x452'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
C:\Qt\4.5.1>
What could be the reason?
The disk is not full, I have about 40GB left.


BN

Boron
11th June 2009, 19:14
As is so many cases WebKit is the problem again.
You could configure Qt with the option -no-webkit which results in no WebKit functionality in your Qt library. I always do this and I did not miss WebKit so far.

I have not found out why WebKit is such a stubborn piece of software. I do not know why it refuses to compile.

bnilsson
11th June 2009, 21:44
Thanks for the advice, I actually tried this before I came to read your reply.
It worked, of course. Thanks for confirming this issue.

But if this has been the case for a long time, why didn't they fix it?