Small Qt 6 migration stuff

- qsizetype vs int
- QJsonValue vs QJsonValueRef
- #include for metatype system

Task-number: QTCREATORBUG-24098
Change-Id: I066d9e3d5c35766b8aa3adc1c5835b23feb20b37
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-07-29 14:47:28 +02:00
parent 77d13f08ba
commit 6c590531b0
6 changed files with 11 additions and 7 deletions

View File

@@ -2294,7 +2294,7 @@ void CdbEngine::parseOutputLine(QString line)
if (debug)
qDebug("### Completed builtin command '%s' for token=%d, %d lines, pending=%d",
qPrintable(command.function), m_currentBuiltinResponseToken,
m_currentBuiltinResponse.count('\n'), int(m_commandForToken.size() - 1));
int(m_currentBuiltinResponse.count('\n')), int(m_commandForToken.size() - 1));
QTC_ASSERT(token == m_currentBuiltinResponseToken, return);
showMessage(m_currentBuiltinResponse, LogMisc);
if (command.callback) {