Hello Dear Qt users.
I got some problem in QTextCodec Class.
I'm using Qt 4.4.1 default version.

Qt Code:
  1. QTextCodec *codec = QTextCodec::codecForName("EUC-KR");
To copy to clipboard, switch view to plain text mode 
codec is NULL what i missed?

My situation is like it.
1. I wrote code and complie in KDE(Kubuntu 8.04)
test result: It work.

2. same code complie in Windows XP
(Qt 4.4.1 Develop environment installed)
test result:It work.

3. I try test in another Windows Xp
(Qt 4.4.1 Develop environment is not installed)
test result: It doesnt' work.
I'm reconize codec is NULL(using gdb and
Qt Code:
  1. if(codec==NULL)
To copy to clipboard, switch view to plain text mode 
)


Qt Code:
  1. QList<QByteArray>temp=QTextCodec::availableCodecs();
  2. for(int i=0; i<temp.size(); ++i)
  3. {
  4. qDebug()<<temp.at(i);
  5. }
To copy to clipboard, switch view to plain text mode 

1, 2 environment show list of codecs. But, i can't see any codec name in 3 environment.

Is need something to use QTextCodec?

What i missed?