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. Using taglib on Windows
Forum Update on Monday, May 27th 2025

Using taglib on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
taglibtagslibdll
3 Posts 2 Posters 4.8k Views
  • 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.
  • D Offline
    D Offline
    DrageFabeldyr
    wrote on 28 Jun 2016, 11:58 last edited by DrageFabeldyr
    #1

    Hi, everybody, i'm interested in does anybody have successful experience of using taglib on windows?
    I'm trying to write a program that will automatically find all the band names in my "Music" folder.
    So everywhere in the net they say "try taglib" and i keep trying for two weeks already with no result.

    So i need instruction for newbies:
    How to compile (seems that step i passed, using "INSTALL" file in the taglib top folder)?
    Where to compile or where to move compiled files?
    And how to use it in my program?

    R 1 Reply Last reply 28 Jun 2016, 12:06
    0
    • D DrageFabeldyr
      28 Jun 2016, 11:58

      Hi, everybody, i'm interested in does anybody have successful experience of using taglib on windows?
      I'm trying to write a program that will automatically find all the band names in my "Music" folder.
      So everywhere in the net they say "try taglib" and i keep trying for two weeks already with no result.

      So i need instruction for newbies:
      How to compile (seems that step i passed, using "INSTALL" file in the taglib top folder)?
      Where to compile or where to move compiled files?
      And how to use it in my program?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 28 Jun 2016, 12:06 last edited by
      #2

      @DrageFabeldyr said:

      How to compile (seems that step i passed, using "INSTALL" file in the taglib top folder)?

      right. The INSTALL file should cover all you need to build.

      Where to compile or where to move compiled files?

      Once the compilation is finished it should at least have created a library linker file (.lib for MSVC) and a dll file (if you chose the "shared" option)

      And how to use it in my program?

      copy these files (maybe also the header files from the include folder) somewhere to your projects folder and add it to your project: QtCreator / manually

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      D 1 Reply Last reply 29 Jun 2016, 07:43
      3
      • R raven-worx
        28 Jun 2016, 12:06

        @DrageFabeldyr said:

        How to compile (seems that step i passed, using "INSTALL" file in the taglib top folder)?

        right. The INSTALL file should cover all you need to build.

        Where to compile or where to move compiled files?

        Once the compilation is finished it should at least have created a library linker file (.lib for MSVC) and a dll file (if you chose the "shared" option)

        And how to use it in my program?

        copy these files (maybe also the header files from the include folder) somewhere to your projects folder and add it to your project: QtCreator / manually

        D Offline
        D Offline
        DrageFabeldyr
        wrote on 29 Jun 2016, 07:43 last edited by
        #3

        @raven-worx said:

        Once the compilation is finished it should at least have created a library linker file (.lib for MSVC) and a dll file (if you chose the "shared" option)

        ok, after command mingw32-make install i get this structure of files:
        C:\taglib\bin\ libtag.dll
        C:\taglib\bin\libtag_c.dll
        C:\taglib\bin\taglib-config.cmd
        C:\taglib\include\ taglib\ .h files
        C:\taglib\lib\pkgconfig\taglib.pc
        C:\taglib\lib\pkgconfig\taglib_c.pc
        C:\taglib\lib\ libtag.dll.a
        C:\taglib\lib\libtag_c.dll.a

        copy these files (maybe also the header files from the include folder) somewhere to your projects folder and add it to your project: QtCreator / manually

        so i copied libtag.dll, libtag.dll.a and taglib folder to D:\qtproject\myprojectfolder
        then added
        win32: LIBS += -L$$PWD/ -llibtag
        INCLUDEPATH += $$PWD/
        DEPENDPATH += $$PWD/

        to .pro file and
        #include "taglib/fileref.h"
        #include "taglib/taglib.h"
        #include "taglib/tag.h"

        to .cpp file

        and it works!! great!! thanx =))

        1 Reply Last reply
        1

        3/3

        29 Jun 2016, 07:43

        • Login

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