]> rtime.felk.cvut.cz Git - sojka/tekpic.git/blob - qtpcxio/pcxio.pri
Added support for PCX images. TDS224 doesn't have TIFF.
[sojka/tekpic.git] / qtpcxio / pcxio.pri
1 # TiffIO.pri : define evrything common to TiffIO and TiffIO-debug
2 #
3 # $Id: TiffIO.pri,v 1.29 2006/08/30 09:40:47 gascuel Exp $
4 #
5 #-----------------------------------------------------------------------------
6 # qmake runtime options:
7 #
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).
13 #
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.
18 #
19 #-----------------------------------------------------------------------------
20 #
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 :
24 #
25 #  qmake TIFF=/home/me/libtiff-3.7.4/src TiffIO.pro
26 #       compiles using a different directory to look for tiff's sources.
27 #
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.
31 #
32 #       TIFF_ROOT defaults to "/usr", hence using the unix standard
33 #       "/usr/include/tiffio.h" and "/usr/lib/libtiff.so" (or .a) files.
34 #
35 #-----------------------------------------------------------------------------
36 #
37 # Using your own version of the jpeg lib (eg. from $QTDIR/src/3rdparty/libjpeg)
38 # for win32 :
39 #
40 #   - Compile the lib, in order to have a directory with both the jpeglib.h
41 #     and libjpeg.lib
42 #
43 #   - run qmake with the 'JPEG=$QTDIR/src/3rdparty/libjpeg' option (or your
44 #     own directory).
45 #
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.
49
50 #-----------------------------------------------------------------------------
51
52 CONFIG -= debug_and_release debug_and_release_target
53 CONFIG *= qt
54
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
58
59 SOURCES += \
60     pcx.cpp
61
62 # qt3: SOURCES += TiffIO_Qt3.cpp
63 # qt4: SOURCES += pcx.cpp
64