Hello.
I need to use LibTIFF, because for some reasons QImage isn't an option.
I think that this library is a part of Qt resources (C:\Qt\Qt5.3.2\5.3\Src\qtimageformats\src\3rdparty), but I cannot link it properly.
Can you explain: what should I write to .pro file to make it work?
INCLUDEPATH += "C:/Qt/Qt5.3.2/5.3/Src/qtimageformats/src/3rdparty/libtiff/libtiff"
INCLUDEPATH += "C:/Qt/Qt5.3.2/5.3/Src/qtimageformats/src/3rdparty/libtiff/libtiff"
To copy to clipboard, switch view to plain text mode
- I think that's right since this is the directory where all h. files are stored.
But what about
LIBS +=
LIBS +=
To copy to clipboard, switch view to plain text mode
? I didn't see anything with .a extension or lib. extension nearby.
In addition, I should write something to the .ccp file - maybe
#include <tiffio.h>
#include <tiffio.h>
To copy to clipboard, switch view to plain text mode
? Or something else?
I'll be thankful for every help attempt.
By the way, there is pri. file (C:\Qt\Qt5.3.2\5.3\Src\qtimageformats\src\3rdparty\ libtiff.pri), but if I try to include it (in my .pro file), I get "Project has no top-level .qmake.conf file".
Bookmarks