Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    ID3 lib Implementierung

    General and Desktop
    2
    4
    1490
    Loading More Posts
    • 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
      asdfghjk last edited by

      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 Reply Quote 0
      • A
        AcerExtensa last edited by

        Which IDE are you using?

        God is Real unless explicitly declared as Integer.

        1 Reply Last reply Reply Quote 0
        • A
          asdfghjk last edited by

          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 Reply Quote 0
          • A
            AcerExtensa last edited by

            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 Reply Quote 0
            • First post
              Last post