Results 1 to 3 of 3

Thread: Trying to build Qt4.5.1 static for win32-msvc2008

  1. #1
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Trying to build Qt4.5.1 static for win32-msvc2008

    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:
    Qt Code:
    1. lib /NOLOGO /OUT:..\..\..\..\lib\QtWebKit.lib @C:\DOCUME~1\bnilsson\LOCALS~1\Temp\nm15A.tmp
    2. QtWebKit_pch.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link
    3. command line to improve linker performance
    4. ..\..\..\..\lib\QtWebKit.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x48C8CA22
    5. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\lib.EXE"' : return code '0x452'
    6. Stop.
    7. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
    8. Stop.
    9. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    10. Stop.
    11. C:\Qt\4.5.1>
    To copy to clipboard, switch view to plain text mode 
    What could be the reason?
    The disk is not full, I have about 40GB left.


    BN
    MacOSX user dabbling with Linux and Windows.

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Trying to build Qt4.5.1 static for win32-msvc2008

    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.

  3. #3
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Trying to build Qt4.5.1 static for win32-msvc2008

    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?
    MacOSX user dabbling with Linux and Windows.

Similar Threads

  1. Replies: 11
    Last Post: 13th July 2009, 16:05
  2. Replies: 16
    Last Post: 23rd May 2008, 10:12
  3. Please Help-->have few doubts with Static build in Windows !
    By Krish in forum Installation and Deployment
    Replies: 1
    Last Post: 17th March 2008, 14:37
  4. Windows XP Qt 4.3.2 Static build
    By maxpower in forum Installation and Deployment
    Replies: 9
    Last Post: 2nd November 2007, 04:49
  5. Qt4 MacOSX UB Xcode and a static Qt build?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 15
    Last Post: 18th March 2007, 08:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.