Static build Qt application with dynamic link with 3rd party library.
Solved
General and Desktop
-
Nope, the link method of a library does nothing for the linking method of other libraries. You are free to mix and match as much as you want.
The exception is cross dependency:
- Library A links to Library B dynamically
- Application C links to library B statically and to library A
- Bad things happen
-
Nope, the link method of a library does nothing for the linking method of other libraries. You are free to mix and match as much as you want.
The exception is cross dependency:
- Library A links to Library B dynamically
- Application C links to library B statically and to library A
- Bad things happen
-
not quite, all your cases are ok
┌ ⇒ D ⇒ libA ⇒ D ⇒ libB Ok: App┤ └ ⇒ D ⇒ libB ┌ ⇒ S ⇒ libA ⇒ D ⇒ libB Ok: App┤ └ ⇒ D ⇒ libB ┌ ⇒ S ⇒ libA ⇒ S ⇒ libB Ok: App┤ └ ⇒ S ⇒ libB ┌ ⇒ D ⇒ libA ⇒ D ⇒ libB No: App┤ └ ⇒ S ⇒ libB