Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Taglib taking static build path on mac .how to make it dynamic .
vivekmalik2466 last edited by
I am facing a problem with taglib on mac OSX. This is taking static path where I was compiled taglib,
Step to compile libtag.dylib
Step 1: I download the Taglib 1.6.3 and save this on disktop under folder taglibDy13
Step 2: I open the cmake 2.8 GUI and select the above path in source and same path in Output and set this conditions.
Enable static = false
Then I click on generate button .
Step 3 : I open terminal and run this commands
Then I found a libtag.dylib at this path
Now I again build taglib with this condition
Enable static = true
Now I copies the copy the taglib folder and put it in my project , this is working fine on my machine , but when I delete “taglibDy13” from location this is creating Error
Library not loaded: /user/ngtech/desktop/taglibDy13/taglib/libtag.1.dylib.
Can some one tell me how can I make this library distributed so that this will take dynamic path when I install my project on other machines.
I already set paths in .pro file
@1. INCLUDEPATH +="taglib-1.6.3/include"
2. LIBS += "taglib-1.6.3/libtag.1.6.3.dylib"