Results 1 to 2 of 2

Thread: MinGW-w64 dependency on LIBGCC_S_SJLJ-1.DLL

  1. #1
    Join Date
    May 2006
    Posts
    108
    Thanks
    35
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question MinGW-w64 dependency on LIBGCC_S_SJLJ-1.DLL

    Hi,

    it's possible to compile a single dll or application without LIBGCC_S_SJLJ-1.DLL?

    I have try this but nothing happens.

  2. #2
    Join Date
    May 2006
    Posts
    108
    Thanks
    35
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MinGW-w64 dependency on LIBGCC_S_SJLJ-1.DLL

    You have to use -static-libgcc while compiling with mingw’s g++ to elemenate the dependacy on LIBGCC_S_SJLJ-1.DLL. You can do that by:
    Qt Code:
    1. QMAKE_LFLAGS += -static-libgcc
    To copy to clipboard, switch view to plain text mode 

    Hope it helps!

Similar Threads

  1. Replies: 2
    Last Post: 14th April 2015, 14:03
  2. Can you use dependency injection with Qt?
    By photo_tom in forum Qt Programming
    Replies: 0
    Last Post: 20th February 2010, 19:34
  3. Library dependency in Qt 4.6
    By Tino in forum Installation and Deployment
    Replies: 1
    Last Post: 7th December 2009, 19:28
  4. QCheckBox dependency
    By jd in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2008, 14:12
  5. DLL dependency?
    By duschl in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2006, 18:34

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.