Commit d142b482 authored by camilo higuita's avatar camilo higuita

update again taglib for windows 64 on windows 7

parent 69d0616a
......@@ -28,7 +28,7 @@ TagInfo::TagInfo(const QString &url, QObject *parent) : QObject(parent)
if(_file.isReadable())
{
qDebug()<< "is readble";
this->file = new TagLib::FileRef(path.toUtf8());
this->file = new TagLib::FileRef(TagLib::FileName(path.toUtf8()));
}
else
this->file = new TagLib::FileRef();
......
......@@ -31,19 +31,13 @@ linux:unix:!android {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android_files
include($$PWD/3rdparty/taglib.pri)
}else:win32 {
message("Using Tablib binaries for Windows")
LIBS += -L$$PWD/../../../../CraftRoot/lib/ -ltag
LIBS += -L$$PWD/'../../../../Program Files (x86)/taglib/lib/' -ltag
INCLUDEPATH += $$PWD/../../../../CraftRoot/include
DEPENDPATH += $$PWD/../../../../CraftRoot/include
INCLUDEPATH += $$PWD/'../../../../Program Files (x86)/taglib/include'
DEPENDPATH += $$PWD/'../../../../Program Files (x86)/taglib/include'
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../../../CraftRoot/lib/libtag.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../../../CraftRoot/lib/libtagd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../../../CraftRoot/lib/tag.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../../../CraftRoot/lib/tagd.lib
}
}
#DEFAULT COMPONENTS DEFINITIONS
DEFINES *= \
......@@ -130,3 +124,4 @@ INCLUDEPATH += \
$$PWD/services/web/NextCloud
include(install.pri)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment