[Qt-interest] how to disable the "lib"

Brilliantov Kirill Vladimirovich brilliantov at byterg.ru
Tue Aug 2 12:14:00 CEST 2011


>
> hello, all guys.
>
> I want to generate a library which is named as "test",
>
> my pro file as:
>
> TEMPLATE = lib
> TARGET = test
>
>
> but use the windows to compile , it will generate a file named test.dll
>
> use the linux to compile, it will generate a file named
> libtest.so.1.0.0, and two link file libtest.so.1, libtest.so
>
> how can I disable the "lib", and don't link the two file.
>
> I see the Makefile with is generated by qmake, maybe such as the
> TARGET0, TARGETA, TARGETD will be edited.
>
> thanks in advance.
>


What for?
For linux standart name shared library is libXXXX.so.
libtest.so.1.0.0 is a library, libtest.so.1 and libtest.so is a symlink 
on library.



More information about the Qt-interest-old mailing list