4
« on: May 29, 2020, 10:31:19 pm »
Hi guys, I'm using LimeReport in a QML application, I can run my report easily from C++ but when I run previewReport my main app (gui) freeze I can only use the windows of the previewReport, if I want also to minimize the previewReport all the app is minimized.
Thanks for your help
this my c++ function that I'm using to run the report, I'm executing this function from QML:
bool ser_to_qml::printReport_request(QString request)
{
m_report.dataManager()->setReportVariable("requestnumber", request);
bool res = m_report.loadFromFile(":/report/RequestDemand.lrxml");
m_report.setResultEditable(false);
m_report.previewReport();
return res;
}