Results 1 to 6 of 6

Thread: Recompiled DLL now requiring libs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Recompiled DLL now requiring libs

    Have you dropped your DLL into Dependency Walker to see what it is dependent on in isolation form the application?

    If you are using QMake to build your completely non-Qt DLL for use in your non-Qt application (I wonder why) then ensure your PRO file has:
    Qt Code:
    1. CONFIG -= qt
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Recompiled DLL now requiring libs

    has... ?

    Yep, dependency walker tells about the need for libgcc_s_dw2-1 and libstdc++-6 dlls (libwinpthread-1.dll is not mentioned). But the point here is that before, such dependency didn't exist at all (as I was fully capable of running and using the DLL without the need for such libs to be in the same folder as my .dll).

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Recompiled DLL now requiring libs

    Quote Originally Posted by ChrisW67 View Post
    If you are using QMake to build your completely non-Qt DLL for use in your non-Qt application (I wonder why) then ensure your PRO file has:
    Qt Code:
    1. CONFIG -= qt
    To copy to clipboard, switch view to plain text mode 
    I don't know where that went because it was there to quote.

    You are complaining that your new Ferrari is built from Ferrari components when the Porsche you used to drive got by fine on Porsche components. You have changed Qt (4.8 to 5.1) and C++ compilers (probably gcc 4.4 to 4.8) and the new version is built and does things differently.

  4. The following user says thank you to ChrisW67 for this useful post:

    Momergil (26th August 2013)

Similar Threads

  1. qmake LIBS
    By rrlangly in forum Qt Programming
    Replies: 1
    Last Post: 15th July 2010, 00:29
  2. using third party libs
    By jay in forum Qt Programming
    Replies: 13
    Last Post: 14th April 2009, 15:52
  3. Linking against different Libs
    By AlphaWolf in forum Qt Programming
    Replies: 3
    Last Post: 10th February 2009, 15:25
  4. Burn libs
    By Elgrimm Esleborn in forum General Programming
    Replies: 2
    Last Post: 16th March 2006, 15:12
  5. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

Tags for this Thread

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.