Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi all,
how can I get the TARGET name when using VERSION in a lib TEMPLATE Example (file mylib.pro):
TEMPLATE = lib VERSION = 1.0.0 message($$TARGET)
I get "mylib" while the actual target is named "mylib1"
Thanks, Massimo
Hi and welcome to devnet,
TARGET contains the name of the library so if you want mylib1 you have to assign mylib1 to TARGET.
TARGET
VERSION contains the version of the library as in mylib.so.1.0.0
VERSION
mylib.so.1.0.0