Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator/MinGW: Add some function to the static .lib part of a DLL
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alberto66
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      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

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved