0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

Build has been fixed

This commit is contained in:
Arin Alexander
2018-05-07 22:52:28 +03:00
parent ee9450697b
commit eacc5c645e
5 changed files with 15 additions and 7 deletions

View File

@@ -38,7 +38,7 @@
#include <QDebug>
#include <QStringListModel>
#ifndef HAVE_QT4
#ifdef BUILD_WITH_EASY_PROFILER
#include "easy/profiler.h"
#else
# define EASY_BLOCK(...)
@@ -127,7 +127,7 @@ void MainWindow::on_pushButton_clicked()
report->setShowProgressDialog(false);
report->designReport();
EASY_END_BLOCK;
#ifndef HAVE_QT4
#ifdef BUILD_WITH_EASY_PROFILER
profiler::dumpBlocksToFile("test.prof");
#endif
}
@@ -145,7 +145,7 @@ void MainWindow::on_pushButton_2_clicked()
report->dataManager()->setReportVariable(ui->leVariableName->text(), ui->leVariableValue->text());
}
EASY_END_BLOCK;
#ifndef HAVE_QT4
#ifdef BUILD_WITH_EASY_PROFILER
profiler::dumpBlocksToFile("test.prof");
#endif
report->previewReport();