0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Qt4 build fixed

This commit is contained in:
Arin Alex 2019-09-09 22:33:13 +03:00
parent 111cfd8703
commit 3b360e0f71
2 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
LIMEREPORT_VERSION_MAJOR = 1
LIMEREPORT_VERSION_MINOR = 5
LIMEREPORT_VERSION_RELEASE = 10
LIMEREPORT_VERSION_RELEASE = 11
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"

View File

@ -513,9 +513,9 @@ QString ScriptEngineManager::replaceScripts(QString context, QVariant &varValue,
#else
if (!se->hasUncaughtException()) {
varValue = value.toVariant();
context.replace(scriptTree->children()[i]->script(), value.toString());
context.replace(item->script(), value.toString());
} else {
context.replace(scriptTree->children()[i]->script(), se->uncaughtException().toString());
context.replace(item->script(), se->uncaughtException().toString());
}
#endif
}