1

Topic: Creation of dynamic library in linux

All greetings! After the assembly  qt in "a static" state there was a problem at the assembly of the project of dynamic library. At usage of the assembly of library from a box all was  there was on an output a file libname.so, however if the assembly transits with usage of "static" library there is a file libname.a. How such it is possible? After all adjustments in pro  the identical. And adjustments qmake, like, too are identical. Prompt where to dig.

2

Re: Creation of dynamic library in linux

Hello, Zeter, you wrote: Z> Prompt where to dig. To hold two versions, static and dynamic.

3

Re: Creation of dynamic library in linux

Hello, XOOIOOX, you wrote: XOO> Hello, Zeter, you wrote: Z>> Prompt where to dig. XOO> to hold two versions, static and dynamic. I should create dynamic library without dependences. For this purpose I collected  library QT with parameter-static. But at usage of this library there is only a file libname.a. Here I also ask a question how to create libname.so. However at usage of original library QT from a box there is a file libname.so

4

Re: Creation of dynamic library in linux

Hello, Zeter, you wrote: Z> However at usage of original library QT from a box there is a file libname.so Here it that. I do not know, how in Linux, but in Vende in at the assembly I specify that the program is dynamic , and Qt, certainly, is collected under a statics and he completely  statically. I.e. it is necessary to set somewhere that "the main" program it  type.so Sorri, I will not prompt in more details. My experience with Niksami is restricted only Makosju where I in Xcode specified that the project it "Mach-O Type-> Bundle", and all remaining  as a statics.

5

Re: Creation of dynamic library in linux

Hello, XOOIOOX, you wrote: XOO> Hello, Zeter, you wrote: Z>> However at usage of original library QT from a box there is a file libname.so XOO> Here it that. I do not know, how in Linux, but in Vende in at the assembly I specify that the program is dynamic , and Qt, certainly, is collected under a statics and he completely  statically. I.e. it is necessary to set somewhere that "the main" program it  type.so XOO> Sorri, I will not prompt in more details. My experience with Niksami is restricted only Makosju where I in Xcode specified that the project it "Mach-O Type-> Bundle", and all remaining  as a statics. . Thanks.

6

Re: Creation of dynamic library in linux

Hello, Zeter, you wrote: Z> All greetings! After the assembly  qt in "a static" state there was a problem at the assembly of the project of dynamic library. At usage of the assembly of library from a box all was  there was on an output a file libname.so, however if the assembly transits with usage of "static" library there is a file libname.a. How such it is possible? After all adjustments in pro  the identical. And adjustments qmake, like, too are identical. Prompt where to dig. Similar on it QT + = core gui widgets CONFIG + = static dll TARGET = testqtdll TEMPLATE = lib DEFINES + = TESTQTDLL_LIBRARY SOURCES + = testqtdll.cpp widget.cpp HEADERS + = testqtdll.h testqtdll_global.h widget.h FORMS + = widget.ui