Important: Please read the Qt Code of Conduct -

Qt Creator/MinGW: Add some function to the static .lib part of a DLL

  • It is possible to add some functions to the .lib part (the statically linked one) generated for a dynamic library, in addition to the wrappers automatically generated by the compiler?

  • Hi,

    the .lib part of a windows dll is nothing for static linkage.
    windows knows two types of libraries:

    dynamic ones (with a .dll containing the binary code and a .lib file which knows the offsets inside the dll)

    static ones, where the objects are stored inside the lib and linked to the client.

    EDIT: by the way, this is valid for the MS compiler

Log in to reply