Unsolved QMake: Getting TARGET name when using VERSION
-
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 toTARGET
.VERSION
contains the version of the library as inmylib.so.1.0.0