src/corelib/codecs/codecs.pri
changeset 0 1918ee327afb
child 7 3f74d0d4af4c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 # Qt core library codecs module
       
     2 
       
     3 HEADERS += \
       
     4 	codecs/qisciicodec_p.h \
       
     5 	codecs/qlatincodec_p.h \
       
     6 	codecs/qsimplecodec_p.h \
       
     7 	codecs/qtextcodec_p.h \
       
     8 	codecs/qtextcodec.h \
       
     9 	codecs/qtsciicodec_p.h \
       
    10 	codecs/qutfcodec_p.h \
       
    11 	codecs/qtextcodecplugin.h
       
    12 
       
    13 SOURCES += \
       
    14 	codecs/qisciicodec.cpp \
       
    15 	codecs/qlatincodec.cpp \
       
    16 	codecs/qsimplecodec.cpp \
       
    17 	codecs/qtextcodec.cpp \
       
    18 	codecs/qtsciicodec.cpp \
       
    19 	codecs/qutfcodec.cpp \
       
    20 	codecs/qtextcodecplugin.cpp
       
    21 
       
    22 unix {
       
    23 	SOURCES += codecs/qfontlaocodec.cpp
       
    24 
       
    25         contains(QT_CONFIG,iconv) {
       
    26                 HEADERS += codecs/qiconvcodec_p.h
       
    27                 SOURCES += codecs/qiconvcodec.cpp
       
    28         } else:contains(QT_CONFIG,gnu-libiconv) {
       
    29                 HEADERS += codecs/qiconvcodec_p.h
       
    30                 SOURCES += codecs/qiconvcodec.cpp
       
    31 
       
    32                 DEFINES += GNU_LIBICONV
       
    33                 !mac:LIBS_PRIVATE *= -liconv
       
    34         } else {
       
    35                 # no iconv, so we put all plugins in the library
       
    36                 HEADERS += \
       
    37                         ../plugins/codecs/cn/qgb18030codec.h \
       
    38                         ../plugins/codecs/jp/qeucjpcodec.h \
       
    39                         ../plugins/codecs/jp/qjiscodec.h \
       
    40                         ../plugins/codecs/jp/qsjiscodec.h \ 
       
    41                         ../plugins/codecs/kr/qeuckrcodec.h \
       
    42                         ../plugins/codecs/tw/qbig5codec.h \
       
    43                         ../plugins/codecs/jp/qfontjpcodec.h
       
    44                 SOURCES += \
       
    45                         ../plugins/codecs/cn/qgb18030codec.cpp \
       
    46                         ../plugins/codecs/jp/qjpunicode.cpp \
       
    47                         ../plugins/codecs/jp/qeucjpcodec.cpp \
       
    48                         ../plugins/codecs/jp/qjiscodec.cpp \
       
    49                         ../plugins/codecs/jp/qsjiscodec.cpp \ 
       
    50                         ../plugins/codecs/kr/qeuckrcodec.cpp \
       
    51                         ../plugins/codecs/tw/qbig5codec.cpp \
       
    52                         ../plugins/codecs/jp/qfontjpcodec.cpp
       
    53         }
       
    54 }