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
QtWS25 Last Chance

Using taglib on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
taglibtagslibdll
3 Posts 2 Posters 4.7k 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.
  • DrageFabeldyrD Offline
    DrageFabeldyrD Offline
    DrageFabeldyr
    wrote on 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?

    raven-worxR 1 Reply Last reply
    0
    • DrageFabeldyrD DrageFabeldyr

      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?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on 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

      DrageFabeldyrD 1 Reply Last reply
      3
      • raven-worxR raven-worx

        @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

        DrageFabeldyrD Offline
        DrageFabeldyrD Offline
        DrageFabeldyr
        wrote on 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

        • Login

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