On Windows you use CMake rather than configure to produce the Makefile. The install location is the CMAKE_INSTALL_PREFIX variable you can set in CMake (Install CMake Item 6 in the instruction you linked). The build and install are the same after that (i.e. make && make install ).
You then set TAGLIBDIR in your PRO file to the same value as the CMAKE_INSTALL_PREFIX and you should be good to go. You may need to wrap the path in quotes if it contains spaces as the example does:
TAGLIBDIR = $$quote(C:/Program Files/taglib)
INCLUDEPATH += $$quote( $${TAGLIBDIR}/include )
LIBS += -L$$quote($${TAGLIBDIR}/lib) -ltag
TAGLIBDIR = $$quote(C:/Program Files/taglib)
INCLUDEPATH += $$quote( $${TAGLIBDIR}/include )
LIBS += -L$$quote($${TAGLIBDIR}/lib) -ltag
To copy to clipboard, switch view to plain text mode
Please note that I have changed some of the parentheses () to braces {}... I had the wrong ones in my earlier post.
You may find you need:
INCLUDEPATH += $$quote( $${TAGLIBDIR}/include/taglib )
INCLUDEPATH += $$quote( $${TAGLIBDIR}/include/taglib )
To copy to clipboard, switch view to plain text mode
if your source goes:
#include <tag.h>
// as some of the examples do, rather than
#include <taglib/tag.h>
#include <tag.h>
// as some of the examples do, rather than
#include <taglib/tag.h>
To copy to clipboard, switch view to plain text mode
Bookmarks