Skip to content

Reg : Application Crashes on using Limereport library call PrinttoPDF() #477

@BaskaranC-07

Description

@BaskaranC-07

Hii,

Iam using lime report designer library to generate the .lrxml file, after generating the file i am trying to convert the file to PDF here i am facing the issues ,

  1. If i do less number of pages it is okay
  2. If i convert more pages my application is crashing exactly at the call PrinttoPDF() limereport library.

QT Creator Version 5.14.2
Limereport designer version

Image

void MainWindow::DP_LRXML_to_PDF_Upload(QString in_qsFilePath)
{
qDebug()<<"Update";
cm_lrReport.loadFromFile(in_qsFilePath, 0);
/Remove the lrxml file extention and append the file name as pdf/
QString qsPDFFilePath = in_qsFilePath.chop(5)+ "pdf";
cm_lrReport.printToPDF(qsPDFFilePath);

}

Kindly provide me a solution to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions