Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Taglib taking static build path on mac .how to make it dynamic .
Forum Updated to NodeBB v4.3 + New Features

Taglib taking static build path on mac .how to make it dynamic .

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vivekmalik2466
    wrote on last edited by
    #1

    Hello,
    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
    /user/ngtech/desktop/taglibDy13/Taglib
    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.
    CMAKE_BUILD_TYPE=Release
    CMAKE_OSX_ARCHITECTURE=x86_64
    CMAKE_OSX_DEPLOYMENT_TARGET=10.6
    Enable static = false
    Then I click on generate button .
    Step 3 : I open terminal and run this commands
    Cd /user/ngtech/desktop/taglibDy13/taglib
    Make
    Then I found a libtag.dylib at this path
    user/ngtech/desktop/taglibDy13/taglib
    Now I again build taglib with this condition
    CMAKE_BUILD_TYPE=Release
    CMAKE_OSX_ARCHITECTURE=x86_64
    CMAKE_OSX_DEPLOYMENT_TARGET=10.6
    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"
    @

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved