[Qt-interest] how to disable the "lib"
Till Oliver Knoll
till.oliver.knoll at gmail.com
Wed Aug 3 10:38:55 CEST 2011
2011/8/2 tang ke <tangk at lemote.com>:
> ...
> TEMPLATE = lib
> TARGET = test
> ...
> 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.
Try using
TEMPLATE = plugin
Can't remember anymore whether it supresses the "lib" prefix, but it
does prevent both the version number in the filename and the symbolic
links.
So you would get either "test.so" or maybe "libtest.so". Not sure what
other side-effects "plugin" has though...
Cheers, Oliver
More information about the Qt-interest-old
mailing list