Results 1 to 3 of 3

Thread: Build static on windows without deps on mingwm10.dll

  1. #1
    ucomesdag Guest

    Default Build static on windows without deps on mingwm10.dll

    Hi all,

    I want to build static with Qt 4.3.0 without the dependency on mingwm10.dll
    Before I used this article on the wiki but the qmake.conf has changed with 4.3.0.

    Can someone point me out what should be modified and where in the qmake.confof 4.3.0
    Thanks a lot!

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Build static on windows without deps on mingwm10.dll

    Could you try changing:
    QMAKE_LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
    to:
    QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
    and then:
    > configure -static -no-exceptions
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:


  4. #3
    ucomesdag Guest

    Thumbs up Re: Build static on windows without deps on mingwm10.dll

    Excellent!!! You saved me from trial and error and wasting my whole day recompiling the src...

    First time was right!!!

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 11:12
  2. Qt4 MacOSX UB Xcode and a static Qt build?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 15
    Last Post: 18th March 2007, 09:10
  3. Replies: 10
    Last Post: 25th February 2007, 01:23
  4. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 13:28

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.