File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ bool QgsRenderChecker::runTest( QString theTestName )
116
116
117
117
if (mMatchTarget != myPixelCount )
118
118
{
119
- qDebug (" Test image and result image for " + theTestName + " are different - FAILING!" );
119
+ qDebug ( QString ( " Test image and result image for %1 are different - FAILING!" ). arg (theTestName). toLocal8Bit () );
120
120
mReport += " <tr><td colspan=3>" ;
121
121
mReport += " <font color=red>Expected image and result image for " + theTestName + " are different dimensions - FAILING!</font>" ;
122
122
mReport += " </td></tr>" ;
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ void TestQgsGeometry::unionCheck()
159
159
for (int i = 0 ; i < myPolyline.size (); i++)
160
160
{
161
161
QgsPoint myPoint = myPolyline.at (i);
162
- qDebug (myPoint.stringRep ());
162
+ qDebug (myPoint.stringRep (). toLocal8Bit () );
163
163
}
164
164
delete mypUnionGeometry;
165
165
}
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void TestQgsMapRender::initTestCase()
104
104
QString myQmlFileName = myTestDataDir + " maprender_testdata.qml" ;
105
105
QFile::copy (myQmlFileName, myTmpDir + " maprender_testdata.qml" );
106
106
qDebug ( " Checking test dataset exists..." );
107
- qDebug ( myFileName );
107
+ qDebug ( myFileName. toLocal8Bit () );
108
108
if (!QFile::exists (myFileName))
109
109
{
110
110
qDebug ( " Creating test dataset: " );
You can’t perform that action at this time.
0 commit comments