Quantcast
Channel: How to build C++ libraries for use in Qt - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to build C++ libraries for use in Qt

$
0
0

This question is related to this one I posted earlier : How to include a library in a Qt project.

I'm trying to create Qt 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 built it following steps in this tutorial:

Build zlib, by first having CMake create a Visual Studio solution file, then building this solution with Visual Studio:

mkdir build && cd build cmake .. -G"Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX="e:\workspace\lib\installed" msbuild /P:Configuration=Debug INSTALL.vcxproj msbuild /P:Configuration=Release INSTALL.vcxproj

Build TagLib much in the same way:

cd ....\taglib-1.11.1 mkdir build && cd build cmake .. -G"Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX="e:\workspace\lib\installed" -DZLIB_INCLUDE_DIR="e:\workspace\lib\installed\include" -DZLIB_LIBRARY="e:\workspace\lib\installed\lib\zlib.lib" -DWITH_ASF=on -DWITH_MP4=on -DBUILD_EXAMPLES=on msbuild /P:Configuration=Release INSTALL.vcxproj

This building procedure doesn't seem to work in a Qt project.

Could somebody please point me in the right direction as to how to build taglib Release 1.11.1 (Windows 10).

Something in the direction like what is HERE** could really be helpful. I'm starting up on C++ and documentation on building liblaries is really limited. It could save a lot of time, for anyone else trying to build liblaries for use on Qt.

Thank you all in advance.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images