DLL file version and file name
-
wrote on 12 Feb 2020, 18:44 last edited by
I've created my first dll in Qt, everithing works fine but now I'd like to assign the file version, so I wrote in .pro file this :
VERSION = 1.0.0.0
Now when I build the DLL the name of file change from mylibrary.dll to mylibrary1.dll.If I change the version to:
VERSION = 2.0.0.0
..the compiled file name get the mylibrary2.dll.Is it correct ?????
Why?In this whay when I'll change the Major Number I'll have to change the exe to load a differen library....
QT 5.12.7
Windows 10 -
Hi,
Usually when a library changes its major version it means there are breaking changes so a rebuild of the application is needed anyway.
Minor and patch versions are meant to replace current versions without rebuilding your application unless you want to make use of a new API provided by a new minor release.
-
@addebito said in DLL file version and file name:
Is it correct ?????
Why?Why not? What do you think is wrong?
-
wrote on 12 Feb 2020, 20:27 last edited by
Hi @SGaist , @Christian-Ehrlicher ,
you are right, I never imagined it was so good.
I thought I had to specify it somewhere... But, thanks for your FAST reply.
...I never stop learning.
1/4