1 # TiffIO.pri : define evrything common to TiffIO and TiffIO-debug
3 # $Id: TiffIO.pri,v 1.29 2006/08/30 09:40:47 gascuel Exp $
5 #-----------------------------------------------------------------------------
6 # qmake runtime options:
8 # DEFINES+=Q_STATIC_PLUGIN=1 (Qt3) or QT_STATICPLUGIN=1 (Qt4)
9 # : if defined at compile time, and TiffIO.pri is included
10 # in your project, then the codec is linked within your
11 # project, and initialised automatically at run time.
12 # (See test.pro for an example).
14 # CONFIG+=no-zlib : Do not support zlib (even if found)
15 # CONFIG+=no-jpeg : Do not support lib jpeg (even if found)
16 # CONFIG+=no-lzw : Do not support lzw compression from libtiff sources.
17 # CONFIG+=no-lzw-encode : Do support lzw decode, but not encode.
19 #-----------------------------------------------------------------------------
21 # I *strongly* urge you not to compile with a different version of LibTiff...
22 # Nevertheless, some of your folks have to live dangerously for whatever
23 # reason, so the config file enable you to do that :
25 # qmake TIFF=/home/me/libtiff-3.7.4/src TiffIO.pro
26 # compiles using a different directory to look for tiff's sources.
28 # qmake CONFIG+=libtiff TiffIO.pro
29 # compiles using a precompiled tiff library, located in the TIFF_ROOT
30 # (command line argument, or env var) directory.
32 # TIFF_ROOT defaults to "/usr", hence using the unix standard
33 # "/usr/include/tiffio.h" and "/usr/lib/libtiff.so" (or .a) files.
35 #-----------------------------------------------------------------------------
37 # Using your own version of the jpeg lib (eg. from $QTDIR/src/3rdparty/libjpeg)
40 # - Compile the lib, in order to have a directory with both the jpeglib.h
43 # - run qmake with the 'JPEG=$QTDIR/src/3rdparty/libjpeg' option (or your
46 # This is helpfull, because even you you install Qt3 or Qt4 with jpeg support,
47 # they are inside a dll (Qt of plugin), where jpeg symbols are not exported,
48 # hence you can't link against them.
50 #-----------------------------------------------------------------------------
52 CONFIG -= debug_and_release debug_and_release_target
55 # Note: we have our own error handler, no needs to compile TIFF's own
56 # (that generates link error on Qt4/nmake compiles).
57 DEFINES += TIF_PLATFORM_CONSOLE=1
62 # qt3: SOURCES += TiffIO_Qt3.cpp
63 # qt4: SOURCES += pcx.cpp