Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. taglib

    Log in to post
    • All categories
    • N

      Solved Issues with loadFromData function in QImage
      General and Desktop • qimage qpixmap taglib image issue • • Nick Redwill

      14
      0
      Votes
      14
      Posts
      663
      Views

      Christian Ehrlicher

      @Nick-Redwill This is what windeployqt is for...

    • DrageFabeldyr

      Unsolved Using taglib on Windows
      General and Desktop • taglib tags lib dll • • DrageFabeldyr

      3
      0
      Votes
      3
      Posts
      3735
      Views

      DrageFabeldyr

      @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 =))

    • Punit

      Unsolved How to use TagLib into my Qt c++ Project
      General and Desktop • qt5.6 taglib metadata • • Punit

      5
      0
      Votes
      5
      Posts
      4800
      Views

      SGaist

      Since your on Linux, why not install the taglib devel package from your distribution ?

    • Gagiopapinni

      Unsolved Including taglib in Qt project
      General and Desktop • taglib qt 5.6.0 windows • • Gagiopapinni

      4
      0
      Votes
      4
      Posts
      2447
      Views

      kshegunov

      @Gagiopapinni
      Okay, can you verify that this symbol is present in the static lib? (you could use "dependency walker" for that purpose)

    • S

      Solved QString with taglib
      General and Desktop • qstringlist taglib • • shahriar25

      6
      0
      Votes
      6
      Posts
      2436
      Views

      S

      Thanks. It worked

    • S

      Solved Taglib In Qt
      General and Desktop • taglib music • • shahriar25

      12
      0
      Votes
      12
      Posts
      6049
      Views

      mrjj

      @shahriar25
      Congrationations :)
      Good work!

    • X

      Need Help with GStreamer and Invalid URI in QT Multimedia
      General and Desktop • qtmultimedia taglib tags gstreamer • • xtiwix

      3
      0
      Votes
      3
      Posts
      2802
      Views

      B

      The solution from SGaist helped me out when I had the same error messages, many thanks!

    • D

      Program works on Linux but not on OSX
      General and Desktop • taglib osx linux • • devbrs

      11
      0
      Votes
      11
      Posts
      3441
      Views

      D

      @devbrs You certainly must check if taglib is null. And you must use toUTF8() instead of toAscii().

      The last problem is that some of the string conversion functions in TagLib don't appear to work with the QString conversion functions.

      Namely the functions that create c++ string and wstring objects:

      QString::fromStdString(tag->title().to8Bit()); QString::fromStdWString(tag->title().toWString());

      The functions that return c style string pointers do work:

      QString::fromWCharArray(tag->title().toCWString()); QString(tag->title().toCString(true));

      Now, why the string functions work on Linux and not on the Mac, I don't know. Perhaps you could delve into it.