$B@8M}3X8&5f=j$NB<ED$G$9!#(B
Qt Creator 3.6.1 $B$N%=!<%9Cf$N(B src/plugins/qmakeprojectmanager/qmakenodes.cpp $B$r2<5-$N$h$&$KJQ99$7$F%S%k%I$7$F$_$?$H$3$m!"(B $BJ8;z2=$1$7$J$/$J$j$^$7$?!#(B
$B$4;29M$^$G!#(B
============================================================================== *** qmakenodes.cpp_orig 2016-03-08 20:30:19.000000000 +0900 --- qmakenodes.cpp 2016-03-24 17:57:49.000000000 +0900 *************** *** 1232,1238 **** QmakeProject::proFileParseError(reader.errorString()); return qMakePair(includeFile, lines); } ! contents = QString::fromLocal8Bit(reader.data()); lines = contents.split(QLatin1Char('\n')); }
--- 1232,1238 ---- QmakeProject::proFileParseError(reader.errorString()); return qMakePair(includeFile, lines); } ! contents = QString::fromUtf8(reader.data()); lines = contents.split(QLatin1Char('\n')); }
*************** *** 1347,1353 **** { Core::DocumentManager::expectFileChange(m_projectFilePath.toString()); FileSaver saver(m_projectFilePath.toString(), QIODevice::Text); ! saver.write(lines.join(QLatin1Char('\n')).toLocal8Bit()); saver.finalize(Core::ICore::mainWindow());
m_project->qmakeProjectManager()->notifyChanged(m_projectFilePath); --- 1347,1353 ---- { Core::DocumentManager::expectFileChange(m_projectFilePath.toString()); FileSaver saver(m_projectFilePath.toString(), QIODevice::Text); ! saver.write(lines.join(QLatin1Char('\n')).toUtf8()); saver.finalize(Core::ICore::mainWindow());
m_project->qmakeProjectManager()->notifyChanged(m_projectFilePath); ==============================================================================