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. ID3 lib Implementierung
Qt 6.11 is out! See what's new in the release blog

ID3 lib Implementierung

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.8k 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.
  • A Offline
    A Offline
    asdfghjk
    wrote on last edited by
    #1

    Hi
    I try to get the ID3 lib running with Qt...
    at the moment I have added the id3lib.lib with add library

    Now i have this message:

    pragma message("*** NOTICE *** (not a real error)")

    pragma message("* You should include a define in your project which reflect how you link the library")

    pragma message("* If you use id3lib.lib or libprj/id3lib.dsp (you link static) you should add")

    pragma message("* ID3LIB_LINKOPTION=1 to your preprocessor definitions of your project.")

    pragma message("* If you use id3lib.dll (you link dynamic) you should add ID3LIB_LINKOPTION=3")

    pragma message("* to your preprocessor definitions of your project.")

    pragma message("***")

    Where can I find my Preprocessor definitions?

    Maybe someone could post a step by step documentation of adding id3lib to Qt?
    I've googled 2 h and found nothing what solved my problems.

    P.s. Sorry for my bad English...

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      Which IDE are you using?

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        asdfghjk
        wrote on last edited by
        #3

        Qt creator
        I have linked to the .lib and copied the header to the right place. Also i have set the Preprocessor instruction to linkoption=1.
        Qt shows me the classes(ID3_tag) and their Methods (.Link / .Find ...)
        but now I have this Error:

        undefined reference to `ID3_Tag::ID3_Tag(char const*)'

        in every line i try to access ID3_Tag or the Methods of it

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcerExtensa
          wrote on last edited by
          #4

          bq. undefined reference to `ID3_Tag::ID3_Tag(char const*)’

          Mean you are not linking to libid3.lib id3 lib also needs libz and there is also libid3tag i think...

          God is Real unless explicitly declared as Integer.

          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