move plugin text codecs to QtCore
authorMark Brand <mabrand@mabrand.nl>
Thu, 12 Jan 2012 23:24:13 +0000 (00:24 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Jan 2012 17:48:22 +0000 (18:48 +0100)
commit2ae91491b48a8684b3bba76664d82cedad92bfcd
tree92b03504d7d2405976d0f7a93e3623822d0f335d
parent7ee3d8c8ecb78dd7c5ae09b04ebf1420958f0001
move plugin text codecs to QtCore

Having plugin text codecs adds considerable complexity to
configuring Qt. The plugin interface is designed for optional
features, but text codecs tend to be used for essential functions.
A dramatic example is loading a codec plugin from a file whose path
needs to be converted by the codec.

Codec plugins can also be a nuisance to builders of applications
linking to static Qt. This is because the application might need
to explicilty import the static codec plugins which are actually
dependencies of QtCore.

For these reasons, it has been decided not to have text codec plugins
any longer.

Change-Id: Ic6c80a9c949bd42e881e932d1edae23fe4fe4c88
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
29 files changed:
src/corelib/codecs/codecs.pri
src/corelib/codecs/cp949codetbl_p.h [moved from src/plugins/codecs/kr/cp949codetbl.h with 100% similarity]
src/corelib/codecs/qbig5codec.cpp [moved from src/plugins/codecs/tw/qbig5codec.cpp with 100% similarity]
src/corelib/codecs/qbig5codec_p.h [moved from src/plugins/codecs/tw/qbig5codec.h with 100% similarity]
src/corelib/codecs/qeucjpcodec.cpp [moved from src/plugins/codecs/jp/qeucjpcodec.cpp with 100% similarity]
src/corelib/codecs/qeucjpcodec_p.h [moved from src/plugins/codecs/jp/qeucjpcodec.h with 100% similarity]
src/corelib/codecs/qeuckrcodec.cpp [moved from src/plugins/codecs/kr/qeuckrcodec.cpp with 100% similarity]
src/corelib/codecs/qeuckrcodec_p.h [moved from src/plugins/codecs/kr/qeuckrcodec.h with 100% similarity]
src/corelib/codecs/qfontjpcodec.cpp [moved from src/plugins/codecs/jp/qfontjpcodec.cpp with 100% similarity]
src/corelib/codecs/qfontjpcodec_p.h [moved from src/plugins/codecs/jp/qfontjpcodec.h with 100% similarity]
src/corelib/codecs/qgb18030codec.cpp [moved from src/plugins/codecs/cn/qgb18030codec.cpp with 100% similarity]
src/corelib/codecs/qgb18030codec_p.h [moved from src/plugins/codecs/cn/qgb18030codec.h with 100% similarity]
src/corelib/codecs/qjiscodec.cpp [moved from src/plugins/codecs/jp/qjiscodec.cpp with 100% similarity]
src/corelib/codecs/qjiscodec_p.h [moved from src/plugins/codecs/jp/qjiscodec.h with 100% similarity]
src/corelib/codecs/qjpunicode.cpp [moved from src/plugins/codecs/jp/qjpunicode.cpp with 100% similarity]
src/corelib/codecs/qjpunicode_p.h [moved from src/plugins/codecs/jp/qjpunicode.h with 100% similarity]
src/corelib/codecs/qsjiscodec.cpp [moved from src/plugins/codecs/jp/qsjiscodec.cpp with 100% similarity]
src/corelib/codecs/qsjiscodec_p.h [moved from src/plugins/codecs/jp/qsjiscodec.h with 100% similarity]
src/corelib/codecs/qtextcodec.cpp
src/plugins/codecs/cn/cn.pro [deleted file]
src/plugins/codecs/cn/main.cpp [deleted file]
src/plugins/codecs/codecs.pro [deleted file]
src/plugins/codecs/jp/jp.pro [deleted file]
src/plugins/codecs/jp/main.cpp [deleted file]
src/plugins/codecs/kr/kr.pro [deleted file]
src/plugins/codecs/kr/main.cpp [deleted file]
src/plugins/codecs/tw/main.cpp [deleted file]
src/plugins/codecs/tw/tw.pro [deleted file]
src/plugins/plugins.pro