eglfs: Show error details when JSON parsing failed

Change-Id: I1a92da5b2ed0b8064efa37c43d7894c212073b60
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
This commit is contained in:
Rainer Keller 2017-04-05 13:06:55 +02:00
parent 65a551816f
commit 4387202f31

View File

@ -97,7 +97,9 @@ void QEglFSEmulatorIntegration::screenInit()
}
}
} else {
qWarning() << "eglfs_emu: Failed to parse display info JSON with error: " << error.errorString();
qWarning() << "eglfs_emu: Failed to parse display info JSON with error: " << error.errorString()
<< " at offset " << error.offset << " : " << displaysInfo;
}
} else {
qFatal("EGL library doesn't support Emulator extensions");