How to include a library in a Qt project

前端 未结 1 1439
忘掉有多难
忘掉有多难 2021-01-21 19:24

I\'m trying to create a project that uses the TagLib library. I\'m not really sure of how exactly to go about it.

I have downloaded TagLib 1.11.1.

I

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-21 20:12

    You have compiled TagLib and zlib with Visual Studio and you compile your project with mingw (at least that's what I can guess from error messages). This won't work. You need to compile all your libraries and apps with the very same compiler.

    Visual Studio and gcc have different ABI's so gcc cannot see Visual's symbols.

    0 讨论(0)
提交回复
热议问题