License plate recognition equipment returned to the license plate results for GB2312,QT to be able to parse the display, it is necessary to transcode, qstring storage Unicode, the implementation of code simple as follows
Char plate_num[256] = {0};
QString m_strvehplate;
M_strvehplate = Qtextcodec::codecforname ("GB18030")->tounicode (Plate_num);
When calling the Transcoding interface crashes (compile the program to release version, in the real environment test), so the use of writing is not a problem, the cause of the crash may be not dependent on the execution of the dynamic link library, so at this time to put the plug-in library in the program run directory, plugins, It contains commonly used plug-in library files, and the code to include the plug-in library:
Qapplication::addlibrarypath (Qobject::tr ("./plugins"));
Compile and run the program again.