为了麒麟兼容,岩性符号库.lib统一采用UTF8编码
This commit is contained in:
parent
c69de5f28b
commit
a27c1a52cb
|
|
@ -67,6 +67,7 @@ bool GeoIndicatorGenerator::initGeoInf(QString libName, int libNum)
|
|||
if(!file.open(QIODevice::ReadOnly)) return false;
|
||||
|
||||
QTextStream stream(&file);
|
||||
stream.setCodec("UTF-8"); // 设置UTF-8编码
|
||||
QString line;
|
||||
int lineNum = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
#include <qgraphicsscene.h>
|
||||
#include <QXmlStreamReader>
|
||||
#include <QPainter>
|
||||
#pragma execution_character_set("utf-8")
|
||||
|
||||
class GeoIndicatorGenerator
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user