Removing MinGW dll dependencies in QT Static linking

// Published April 3, 2010 by Yash


Passing -static-libgcc will remove this dependency for all languages other than C.
Note: C++ exceptions depends on this option.


Remove -mthreads option from your makefile.
Note: Multithreading and C++ exceptions depends on this option.


  1. Ashish
    June 13, 2010 @ 5:01 pm

    I am really happy to see this site. actually i even called you up to say, “What an awesome website” UI is best of all i have seen so far. Nice work buddy. I am confident that one day you will own a big developer firm with lot of people working under u. Seriously i mean it. Keep the good work..
    always there.


Leave a Reply

Your email address will not be published. Required fields are marked *