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. problem on osx operating system. related to tag lib
Forum Updated to NodeBB v4.3 + New Features

problem on osx operating system. related to tag lib

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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

    Hi,
    problem on osx operating system.
    I include the taglib with my project on windows and it is working fine on windows.
    but when i try to run this on mac it give me the same error.
    I add code in project.pro file:
    INCLUDPATH +=“taglib-1.6.3/include”
    LIBS +=“taglib-1.6.3/libtaglib.a”
    LIBS +=taglib-1.6.3/taglib.dll

    I already added libtaglib.a and taglib.dll in my project along with taglib source code.

    I added code on Main:

    #include “tag.h”
    #include “fileref.h”
    #include “taglib.h”
    #include “taglib_export.h”

    Q_DECL_EXPORT int main(int argc,char *argv[])
    {
    TagLib::FileName filepath(“song.mp3”);
    TagLib::FileRef f(filepath);
    TagLib::String artist=f.tag()->artist();
    aDebug()<<“Artist=”<< artist.toCString();
    }

    This code is working for windows but not for OSX.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      How is this code not working on OSX? Does compilation fail, linking or does it just do something unexpected?

      Are you sure you are using mac binaries of taglib on the mac? .dll makes it look like a windows binary.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vivekmalik2466
        wrote on last edited by
        #3

        yes, i found these binaries from net but these are only working for windows it seams to be it is compiled for windows .but i want to compile this for MAC .Can you suggest me some way to compile this for mac. I used cmake to compile this but it is fail to compile.
        here is code.
        http://taglib.github.com/

        version 1.6.3 i am using

        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